AW: OT: help for a one liner applescript?

Tiemo Hollmann TB toolbook at kestner.de
Mon Feb 23 15:06:19 EST 2009


Oh boy, blind running on the wrong lane!
Thanks so much :)
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von Ken Ray
> Gesendet: Montag, 23. Februar 2009 20:33
> An: Use Revolution List
> Betreff: Re: OT: help for a one liner applescript?
> 
> 
> > 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: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list