• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How can we execute remote AppleScript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can we execute remote AppleScript?


  • Subject: Re: How can we execute remote AppleScript?
  • From: Luther Fuller <email@hidden>
  • Date: Thu, 12 Nov 2009 12:53:58 -0600

On Nov 12, 2009, at 12:17 PM, Jim Skibbie wrote:

I can’t get this to work as stated below even on the same machine, so I think I must be missing something:

Created an applet called “test_app”

on Add_Numbers(a, b, c)
   set x to a + b + c
   return x
end Add_Numbers


Created a separate script that tries to use the applet’s handler:

tell application "test_app"
   set y to Add_Numbers(1, 2, 3)
end
tell

Try this ...

launch application "test_app"
tell application  "test_app" to Add_Numbers(1, 2, 3)
set y to the result

Let us know how it works.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: How can we execute remote AppleScript?
      • From: CYB <email@hidden>
References: 
 >Re: How can we execute remote AppleScript? (From: Jim Skibbie <email@hidden>)

  • Prev by Date: Re: How can we execute remote AppleScript?
  • Next by Date: Re: How can we execute remote AppleScript?
  • Previous by thread: Re: How can we execute remote AppleScript?
  • Next by thread: Re: How can we execute remote AppleScript?
  • Index(es):
    • Date
    • Thread