Re: Where is application
Re: Where is application
- Subject: Re: Where is application
- From: Emmanuel <email@hidden>
- Date: Wed, 27 Mar 2002 00:21:09 +0100
At 7:29 AM +0100 25/3/02, John Cuccio wrote:
>
>
Instead of just the tell statement. Can I put some line of code in the
>
script to tell it where the application is. So it will not ask me.
(I suppose you have double-checked that the name of there is no typo in the
name of the application. Note that here the name of the application is
case-sensitive!)
This is a long standing feature of AS, and there are long standing
solutions. I suggest that you check Smile's help on that topic (search
"Portability").
On the other hand, if your script is sufficiently "linear", you can choose
to first launch the app, then maybe AppleScript will be able to find it.
You need to know the signature ("creator type") of the application: suppose
it's "xxxx".
----------------------------
tell app "Finder" to open application file id "xxxx"
----------------------------
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.