• 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
Problem saving a message in Outlook 2011
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem saving a message in Outlook 2011


  • Subject: Problem saving a message in Outlook 2011
  • From: Dave <email@hidden>
  • Date: Fri, 19 Feb 2016 10:04:47 +0000

Hi,

I have changing an old script that uses Window IDs in Outlook. I need to save a Window to the Drafts Folder in Outlook, but at the point where I need to do this, I only have a Window ID. I tried the following code in a test script but I have seem to figure how to do it. Here is my test Script:

tell application id "com.microsoft.Outlook"

	set myWindowID to the id of front window
	set myWindow to (get window id myWindowID)
	save myWindow									-Does nothing - no message is produced in Drafts Folder

	--save window myWindow							-Causes Error
	--save front window									—Works!

end tell

The only thing that I can get to work is the “save front window”, but unfortunately I can’t rely on the window being front and I don’t want to have to rewrite everything not to use the Outlook Window id field.

Thanks a lot for any help.

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: Problem saving a message in Outlook 2011
      • From: Christopher Stone <email@hidden>
References: 
 >Barcode 128B problem (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: How to make a window Front in MS Outlook 2011
  • Next by Date: Problem saving a message in Outlook 2011
  • Previous by thread: Barcode 128B problem
  • Next by thread: Re: Problem saving a message in Outlook 2011
  • Index(es):
    • Date
    • Thread