• 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
How to make a window Front in MS Outlook 2011
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to make a window Front in MS Outlook 2011


  • Subject: How to make a window Front in MS Outlook 2011
  • From: Dave <email@hidden>
  • Date: Wed, 17 Feb 2016 15:13:02 +0000

Hi,

I’m changing an old script that uses the “id” field for Windows. I need to make a Window the front window, how can I do this if all I have is the ID?

The following fails when it tries to set the front window?

tell application id "com.microsoft.Outlook"
	activate

	set myWindowID to 1706

	set myWindow to (get window id myWindowID)
	set the front window to myWindow						—Error on this line
end tell

I’ve checked that the ID of the front window is 1706……

Thanks in Advance
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: How to make a window Front in MS Outlook 2011
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Re: Could AppleScript help here?
  • Next by Date: Re: How to make a window Front in MS Outlook 2011
  • Previous by thread: Re: AppleScript-Users Digest, Vol 13, Issue 90
  • Next by thread: Re: How to make a window Front in MS Outlook 2011
  • Index(es):
    • Date
    • Thread