Re: use-revolution Digest, Vol 77, Issue 7
2010/2/3 Emmett Gray : > Nothing happens other than activation. While I'm asking, the next things I > would want to have happen are to put the clipboard into a field and send a > mouseUp to a button. Try this: tell application "Revolution" do script "if the clipboard is text then go cd \"MyCard\" of stack \"TheSlugLab\" select text of fld \"MyField\" paste send \"mouseUp\" to btn \"MyButton\" end if" end tell HTH -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: use-revolution Digest, Vol 77, Issue 7
2010/2/3 Emmett Gray : > How do you tell Rev to do something useful via applescript? > > I tried > > tell application "Revolution Media" > activate > --would like ideally first to: do script "go stack " & quote & "Foo" & > quote & " in a new window" > --but I couldn't even get the next command to work if the stack was > already open and frontmost > do script "create card" > end tell > > Nothing happens other than activation. While I'm asking, the next things I > would want to have happen are to put the clipboard into a field and send a > mouseUp to a button. > ___ Hi Emmett, It is not necessary that the stack be at the frontmost to make it react with applescript. Simply specify the stack you need as follows: tell application "Revolution" to do script "create card to stack \"TheSlugLab\"" -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: use-revolution Digest, Vol 77, Issue 7
How do you tell Rev to do something useful via applescript? I tried tell application "Revolution Media" activate --would like ideally first to: do script "go stack " & quote & "Foo" & quote & " in a new window" --but I couldn't even get the next command to work if the stack was already open and frontmost do script "create card" end tell Nothing happens other than activation. While I'm asking, the next things I would want to have happen are to put the clipboard into a field and send a mouseUp to a button. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution