• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Outlook 2016 - Error setting window bounds?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Outlook 2016 - Error setting window bounds?
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Outlook 2016 - Getting the Window Associated with an open Message
  • Next by Date: Re: Outlook 2016 - Error setting window bounds?
  • Previous by thread: Outlook 2016 - Getting the Window Associated with an open Message
  • Next by thread: Re: Outlook 2016 - Error setting window bounds?
  • Index(es):
    • Date
    • Thread