Re: Calling a handler in another applescript process
Re: Calling a handler in another applescript process
- Subject: Re: Calling a handler in another applescript process
- From: "Stockly, Ed" <email@hidden>
- Date: Mon, 22 Nov 2010 14:37:37 -0600
- Acceptlanguage: en-US
- Thread-topic: Calling a handler in another applescript process
This works:
-----------
-- Calling script:
tell application "MacOSX:Users:edstockly:Desktop:HiHanderTest.app"
hi()
end tell
-----------
-----------
--Script in standalone app
on idle
return 5 -- in seconds
end idle
on hi()
tell application "Finder"
display dialog "Worked"
end tell
end hi
-----------
HTH,
ES
On 11/22/10 12:26 PM, "Alex Zavatone" <email@hidden> wrote:
> Sorry, but my brain fell out of my head today. Can anyone remind me what the
> command would be to call a hander in another applescript that is running as an
> app on a local machine?
>
> looking for run script or something like that. Even tried using system
> events, but tells me that the app doesn't understand the "HI" message and I
> have a HI() handler in the compiled script that is running.
>
> Thanks. Brain needs coffee.
>
> - Alex
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> com
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
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