> 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)

Here you go:

  tell app "Finder" to launch application "/Applications/TextEdit.app"
  tell app "TextEdit" to activate

HTH,

Ken Ray
Sons of Thunder Software, Inc.
Email: [email protected]
Web Site: http://www.sonsothunder.com/


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to