Re: Targetting a specific Word version
Re: Targetting a specific Word version
- Subject: Re: Targetting a specific Word version
- From: email@hidden
- Date: Wed, 28 May 2008 17:04:58 +0200
At 6:01 PM +0300 5/28/08, Sjur Moshagen wrote:
Hello,
I have both MS Office 2004 and Office 2008 installed on my Mac, and
need to programmatically target one of the Word applications in a
tell statement, but have so far not been able to find a working
solution.
tell application "Microsoft Word"
will "tell" whichever one is running at the moment; if both or
neither are/is running, it will usually pick the newest one (2008).
Likewise, variants like:
tell application id "MSWD"
or
tell application id "com.microsoft.Word"
are just as imprecise.
I think you can just use the app's path, tell application "Macintosh
HD:Applications:etc:Microsoft Word" etc. Maybe you have to explicitly
write the ".app" suffix whenever it makes sense.
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden