Outlook 2016 - Error setting window bounds?
Outlook 2016 - Error setting window bounds?
- Subject: Outlook 2016 - Error setting window bounds?
- From: Dave <email@hidden>
- Date: Wed, 21 Sep 2016 17:52:43 +0100
Hi All,
When I run this Script:
on run
tell application id "com.microsoft.Outlook"
activate
open message 1 of drafts
open message 1 of inbox
set bounds of window 1 to {869, 511, 1853, 1148}
set bounds of window 2 to {869, 23, 1844, 504} —ERROR
set bounds of window 3 to {21, 23, 1203, 932}
end tell
end run
I get this error on the line marked ERROR: error "Microsoft Outlook got an error: AppleEvent handler failed." number -10000
There is the Browser Window, a draft window and an inbox window open when it attempts to set the bounds of window 2 (Inbox window), window 1 and 3 work ok though - any one have any ideas why?
Thanks in Advance.
All the Best
Dave
_______________________________________________
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