Re: controlling remote application question
Re: controlling remote application question
- Subject: Re: controlling remote application question
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 11 May 2004 06:28:04 -0700
On 5/11/04 5:14 AM, "Steve Roy" <email@hidden> wrote:
>
>
Interesting. This doesn't explain though the problem met with
>
Entourage, which is not a bundle, yet the application file name is
>
"Microsoft Entourage" and the name to use for remote scripting is
>
"Entourage". What's up with that, any way for a script to figure this
>
out at runtime?
"Entourage" is also the name in the Force-Quit window when you press
cmd-opt-esc, and also the name at the top of the "application" menu (next to
the Apple menu), whereas "Microsoft Entourage" is the name in the dock and
of course of the application file. AppleScript should be consistent and
always use the full name (I believe also called the "display name"), but
someone else here confirmed last week that you need the "short name" for
remote scripting. That's inconsistent. I guess Apple requires a short name
when the full name would be too long for the application menu, but
AppleScript should not be going there, remote or not. This sounds like
somebody took a shortcut. Chris?
Because Entourage is Carbon, not a package, there is no package plist to
check. The .plist in Preferences does not have this sort of information. I
have no idea where you'd find a listing for "Microsoft Entourage" that would
divulge that its short name, needed for remote scripting, is "Entourage". I
suppose it's probably safe to always check the application menu on the
computer where you're writing the script, and use that name.
--
Paul Berkowitz
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.