Strange Word behaviour
Strange Word behaviour
- Subject: Strange Word behaviour
- From: David Crowe <email@hidden>
- Date: Sat, 16 Feb 2019 16:24:19 -0700
Am I doing something wrong, or is Word (Word 2011) just broken?
tell application "Microsoft Word"
set x to name of first document whose name is "z"
end tell
x --> "Conference Planning Committee Call Agenda_02.15.19.docx”
It seems to just be ignoring “whose name is “z””.
A workaround with a loop is fairly straightforward, but if there is a way
around it that’s more elegant, it would be nice.
Maybe I should update Word once a decade, just because?
- David Crowe
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________
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