Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Outlook Dependancy?
#5
I restarted QM and ran this

but got the error
Error in Archive Item in Outlook: unknown identifier.
note: I did tighten up the "Outlook" declaration names.

Macro Archive Item in Outlook
Trigger CSAy 0x4     Help - how to add the trigger to the macro
Code:
Copy      Help
typelib Outlook {00062FFF-0000-0000-C000-000000000046} 9.4
str foldername="2013 Archive"
Outlook.Applicatiaon app._getactive
Outlook.MailItem msg=app.ActiveExplorer.Selection.Item(1); err 'D; ret
Outlook.MAPIFolder froot=app.GetNamespace("MAPI").Folders.Item(1)
Outlook.MAPIFolder fdest=froot.Folders.Item(foldername)
out fdest
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)