Does Applescript work?

Ian Summerfield iansummerfield at btconnect.com
Sun Feb 3 11:23:01 EST 2002


I'm still struggling with Revolutions ability to use (or not) Applescript.
The following script doesn't work at all for me.  It works fine from the
script editor but not from Revolution.  You'll see I set x to three
different values, comment out the later one or two to try different tests.

The tests are these:

tell application "Finder" to set the clipboard to name of every process as
text

tell application "Finder" to set the clipboard to "test"

set the clipboard to "test"


My clipboard remains unchanged throughout.   Is this true for everyone?
Also my Finder doesn't seem to collect the name of every process running.


on mouseUp
  put "tell application "&quote&"Finder"&quote&" to set the clipboard to
name of every process as text" into x
  put "tell application "&quote&"Finder"&quote&" to set the clipboard to
"&quote&"test"&quote into x
  put "set the clipboard to "&quote&"test"&quote into x
  put x
  put empty into card field "Procs"
  do x as AppleScript
  select text of card field "Procs"
  paste
end mouseUp




More information about the use-livecode mailing list