Object of contactWindow is a missing value. Set contactWindow to item 1 of (windows whose index is 1) If you add these lines to the above script, you can see this: tell application "Microsoft Outlook" ![]() You can do this by scripting the UI elements to open a new contact: tell application "System Events"Ĭlick menu item "Contact" of menu 1 of menu item "New" of menu 1 of menu bar item "File" of menu bar 1 of application process "Outlook"īut the caveat is that the new contact is not a AppleScriptable object until it is added to the Outlook database, i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |