do script from applescript
BNig
niggemann at uni-wh.de
Tue Sep 23 14:15:33 EDT 2008
Hi Tom,
I only get it to work if I set the calling applescript to
tell application "Revolution"
activate
do script "send \"testIt \" to stack \"NameOfYourStack\""
set x to the result
end tell
x
the last x optional to see the result
in the stackscript of my stack "NameOfYourStack"
----
on testIt
answer "got it"
beep 2
return "OK"
end testIt
----
I saw others had success with your version, I never got it to work
hth
Bernd
Thomas McGrath III-2 wrote:
>
> Is anyone else experiencing a problem with the Revolution (do script)
> from applescript???
>
> I am getting the IDE and Standalone to activate but not the 'do script'.
>
> Revolution stack script:
>
> on testIt
> put "Hello" into msg
> return "got it in Rev"
> end testIt
>
>
> Applescript:
>
> tell application "Revolution"
> activate
> do script "testIt"
> end tell
>
>
> Macintosh OSX 10.5.5
> Revolution 3.0
>
> It would be nice if I could get this to work.
>
> It would allow me to control Revolution and my prototype from the
> iPhone. Which is way cool......
>
> Thanks,
>
> Tom McGrath
>
--
View this message in context: http://www.nabble.com/do-script-from-applescript-tp19632952p19633738.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list