OT: help for a one liner applescript?
Tiemo Hollmann TB
toolbook at kestner.de
Mon Feb 23 13:28:22 EST 2009
Hello,
Having no Mac experience I wanted to write my first one liner applescript
but failed even with such a basic. What I want to do is to launch an app
"foo" on a CD "fooCD". My one and only script line looks like:
Tell application "Finder" to open folder "Volumes:fooCD:foo.app"
When trying to run this script it gives me the AppleScript error: "folder
"Volumes:fooCD:foo.app"" can't be read. I get the same error, when starting
with fooCD (without Volumes)
When trying to make a two liner:
Set x to "Volumes:fooCD:foo.app" as alias
Tell application "Finder" to open folder x
Pops the error: File "Volumes:fooCD:foo.app" could not be found
Set x to "fooCD:foo.app" as alias
Tell application "Finder" to open folder x
Pops the error: alias "fooCD:foo.app" could not be converted into typ folder
Any advice very appreciated
Thanks
Tiemo
More information about the use-livecode
mailing list