Re: Calling Applications
Re: Calling Applications
- Subject: Re: Calling Applications
- From: Gary Lists <email@hidden>
- Date: Sun, 02 Feb 2003 11:49:55 -0500
On or about 2/1/03 9:29 PM, Paul Medland wrote:
>
tell application "Finder"
>
set Quark to name of application file id "XPR3"
>
end tell
>
>
--"QuarkXpress 4.1"
>
tell application Quark
...
>
end tell
>
>
Is there something I'm missing here? When I first saw this I thought it
>
might be too good to be true.
Sort of too good to be true. The truth is, not all applications will
respond to the 'tell ...' this way. I don't know why that is, but it's been
discussed here previously (see appox. 2 months back in archive...many
methods related to this...good stuff).
BBEdit, for example, will not perform the most basic commands when it is
"told" in such a manner. IE will perform _only_ the most basic commands in
this case. You just have to try -- command by command -- which will work
and which will not.
Not being one who studies things such as AppleScript's inner workings, I am
perplexed that there isn't a more direct route to an application by creator
id. It seems like a weakness, but I know nothing more about why it is the
way it is. Clever folks seem to find ways around...as you are doing. ;)
--
Gary
Incoming replies are auto-deleted.
Please post directly to the list or newsgroup.
_______________________________________________
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.