RunRev AppleScript Question

Thomas McGrath III 3mcgrath at comcast.net
Wed Oct 1 10:45:02 EDT 2008


Sorry, I left out the to card 1 -- which is fine in case your scripts  
are at the stack level but if they are on the card then include the to  
card 1 of stack \"revSaveAsStandalone\"

TM III
On Oct 1, 2008, at 10:41 AM, Thomas McGrath III wrote:

> I have found that if the code is at the card level then I have to  
> include the card in AS.
>
> Also, the variable myStackShortName variable is actually being sent  
> as the text myStackShortName and not the name that variable holds.
>
> If SATest1 is declared in RR then this will work:
> set myScript to "send \"revSaveAsStandalone  myStackShortName\" to  
> stack \"revSaveAsStandalone\""
>
> BUT if it needs to be declared in AS then you should build the  
> script in AS:
> set myScript to "send \"revSaveAsStandalone SATest1\"  to stack  
> \"revSaveAsStandalone\""
>
> HTHs
>
> Tom McGrath



More information about the use-livecode mailing list