AutoHotkey Community

It is currently May 27th, 2012, 3:38 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: New Outlook mail message
PostPosted: August 9th, 2004, 6:45 pm 
Offline

Joined: August 8th, 2004, 10:04 pm
Posts: 25
Location: Lubbock, Texas
This starts a new e-mail message in Outlook. Nothing earth-shattering but it's something I use constantly.

Code:
#z:: Run, "%programfiles%\Microsoft Office\OFFICE11\OUTLOOK.EXE" /c ipm.note


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 9th, 2004, 7:35 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
That's neat, thanks.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 9th, 2004, 11:15 pm 
Offline

Joined: April 7th, 2004, 2:43 pm
Posts: 62
David, thank you!
May I ask how you found this out as I'd like to find some other commands as well.
Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 9th, 2004, 11:19 pm 
Offline

Joined: July 25th, 2004, 8:00 pm
Posts: 8
Google is your friend:

http://www.outlook-tips.net/howto/commandlines.htm


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 10th, 2004, 6:19 am 
Get some more.
Microsoft Outlook - Command line options I - Tue Jul 13, 2004 7:23 am
Microsoft Outlook - Command line options II - Sat Jul 17, 2004 8:23 am
Same topic - Same forum


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 10th, 2004, 4:55 pm 
Offline

Joined: August 8th, 2004, 10:04 pm
Posts: 25
Location: Lubbock, Texas
I found the codes in Outlook help, under "Command-line switches":
  • /c ipm.activity creates a Journal entry
  • /c ipm.appointment creates an appointment
  • /c ipm.contact creates a contact
  • /c ipm.note creates an e-mail message
  • /c ipm.stickynote creates a note
  • /c ipm.task creates a task


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 11th, 2006, 4:52 am 
Offline

Joined: May 7th, 2005, 8:24 am
Posts: 26
Location: USA
This is GREAT info!!!

So, what I'm gathering and reading...

Code:
Outlook.exe /c ipm.note /m test@poremsky.com


Will auto fill out the address line! This is great!

Next step that I can't find, whats the commad for filling out possible cc, bcc, and the subject? then body? or am I just trying to hard?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 11th, 2006, 5:11 am 
Offline

Joined: May 7th, 2005, 8:24 am
Posts: 26
Location: USA
oh geez I guess I completely forgot about using the whole thing of

Code:
mailto:no@mail.com?Body=Hello Sir &subject=Greetings


Hurm, whats the differance?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 12th, 2010, 9:00 am 
Offline

Joined: July 12th, 2010, 8:44 am
Posts: 1
For Office 2007, change the string from Office 11 to Office 12, i got an error, hence posting here, so others can solve it.

Code:
#z:: Run, "%programfiles%\Microsoft Office\OFFICE12\OUTLOOK.EXE" /c ipm.note


Report this post
Top
 Profile  
Reply with quote  
 Post subject: works for me
PostPosted: July 13th, 2010, 7:57 pm 
The only difference between your call and mine is that I don't have a comma after the "Run" (and I hard-coded "program files"). My call works and looks like this:

^!m::
Run "c:\program files\microsoft office\office12\outlook.exe" /c ipm.note
Return


Report this post
Top
  
Reply with quote  
 Post subject: got it
PostPosted: August 5th, 2010, 7:24 pm 
Offline

Joined: August 5th, 2010, 7:16 pm
Posts: 3
i think i have figured out how to send an email with an attachment and subject body and to field filled out

run, C:\Program Files\Microsoft Office\Office12\outlook.exe /c ipm.note /a "filename.txt" /m email.com&subject=something`%20something&body=somethingsomething

to create a space you must use `%20

`marks out the % sign so it makes a space, spaces are not allowed and cause the command line argument/verify switch error

also variables do work


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 17th, 2011, 2:26 pm 
Offline

Joined: April 23rd, 2011, 8:33 pm
Posts: 14
Location: Strasbourg, France
You can also use (for Outlook 2003) the following shortcuts:

CTRL+SHIFT+M for a new message
replace M by a for an appointment or c for a contact, l for a list.

so I send ^+m then the recipient address then tab then the cc then tab then the object etc.

I've a CTRL+F1 to Fxx for the peoples I emailed very often. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 20th, 2012, 4:55 pm 
Offline

Joined: November 10th, 2011, 11:52 pm
Posts: 131
Location: Heart of the Ozarks
I tried this and it seems to work pretty well, but I cannot get the attachment part to work. Not sure if I really have a use for it right now, but think it could be valuable knowledge for the future.

Also, how do you get it to SEND once your done?

Code:
;;;THIS RUN WILL PUT john doe in the TO and PUT LetterJob Process IN SUBJECT LINE AND Complete IN THE BODY OF E-MAIL
Run, C:\Program Files\Microsoft Office\Office12\outlook.exe /c ipm.note /c "Documents and Settings\xxx1234\My Documents\testsb.txt" /m john.doe@anyjob.com&subject=LetterJob`%20Process&body=COMPLETE


;;;ANOTHER OPTION
;;;THIS RUN ALSO WORKS AND ALLOWS YOU TO SEND MORE INFO MUCH EASIER
Run "c:\program files\microsoft office\office12\outlook.exe" /c ipm.note /m john.doe@anyjob.com
Send {Tab 2}
Sleep 100
Send Letter job has completed successfully
Sleep 100
Send {Tab}
Send Job completed successfully, please check in morning for verification
Sleep 100


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 21st, 2012, 6:32 pm 
Offline

Joined: April 23rd, 2011, 8:33 pm
Posts: 14
Location: Strasbourg, France
When the email is open, CTRL+ENTER (for outlook 2003) will send the message.

If you wish to automate everything I recommand to launch the script offline so that you can check if something went wrong instead of sending tens of "wrong" emails.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 22nd, 2012, 7:48 pm 
Offline

Joined: April 19th, 2011, 4:55 am
Posts: 298
Thanks BigMan! I will use that :)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: xXDarknessXx and 14 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group