Does Applescript work?

Ken Norris (dialup) pixelbird at interisland.net
Tue Feb 5 04:54:01 EST 2002


on 2/4/02 3:15 PM, Sarah Reichelt at sarahr at genesearch.com.au wrote:

> In HyperCard, you could set the language of a particular script to
> AppleScript. In Rev, you don't have this option so the AppleScript has to be
> stored somewhere else or assembled and then used with a "do as AppleScript".
> 
> Edit the script in an AppleScript editor first and then copy it into a field
> or property (I like Jeanne's suggestion - I keep forgetting to use
> properties). All I am saying is that it is better not to try something like:
> 
> put "tell application " & quote & "Finder" & quote & return in theScript
> put "return the processes" & return after theScript
> put "end tell" & return after newScript
> do theScript as AppleScript
> 
> This works for a short script but makes debugging very hard. It's much
> easier if you can see the final script at any stage.
----------
OK. That makes sense, now. I actually thought Rev was scriptable with AS for
Mac-only. Silly me. That's why I asked.

Ken N.





More information about the Use-livecode mailing list