Targetting a specific Word version
Targetting a specific Word version
- Subject: Targetting a specific Word version
- From: Sjur Moshagen <email@hidden>
- Date: Wed, 28 May 2008 18:01:21 +0300
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.
The only option left is to pick one or the other based on the path,
but I haven't been successfull in that attempt. Any help would be
appreciated.
Best regards,
Sjur N. Moshagen
Samediggi ยท Sametinget
Project Manager for the Divvun project
http://www.divvun.no/
http://www.samediggi.no/
+358-9-49 75 29 (w)
+358-505 634 319 (m)
_______________________________________________
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