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

Re: Problem saving a message in Outlook 2011


  • Subject: Re: Problem saving a message in Outlook 2011
  • From: Dave <email@hidden>
  • Date: Tue, 23 Feb 2016 14:05:00 +0000

Hi, Christopher,

Thanks for helping out. I tried your suggestion (please see Script copied below) but I still get as error on the “save” statement:

"Microsoft Outlook got an error: Can’t get draft window id 1683"

Any idea on what could be wrong?

All the Best
Dave

on saveOutlookWindowWithWindowID:(theWindowID as string)
	say "saveOutlookWindowWithWindowID"

	set myWindowID to theWindowID as number

	tell application id "com.microsoft.Outlook"
		tell draft window id myWindowID
			save
		end tell
	end tell
end saveOutlookWindowWithWindowID:


on run
	set myWindowID to the id of front window
	get my saveOutlookWindowWithWindowID:(myWindowID)
end run



> On 19 Feb 2016, at 21:06, Christopher Stone <email@hidden> wrote:
>
> On Feb 19, 2016, at 04:04, Dave <email@hidden> wrote:
>> 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.
> ______________________________________________________________________
>
> Hey Dave,
>
> Try this:
>
> tell application "Microsoft Outlook"
>   tell draft window id 2735
>     save
>   end tell
> end tell
>
> --
> Best Regards,
> Chris
>
> _______________________________________________
> 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


 _______________________________________________
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


References: 
 >Barcode 128B problem (From: Brian Christmas <email@hidden>)
 >Problem saving a message in Outlook 2011 (From: Dave <email@hidden>)
 >Re: Problem saving a message in Outlook 2011 (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Script to clear Safari?
  • Next by Date: Re: Problem saving a message in Outlook 2011
  • Previous by thread: Re: Problem saving a message in Outlook 2011
  • Next by thread: Re: Problem saving a message in Outlook 2011
  • Index(es):
    • Date
    • Thread