AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

send mesage in outlook / postmessage

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
neXt



Joined: 19 Mar 2007
Posts: 463

PostPosted: Fri Dec 28, 2007 5:32 pm    Post subject: send mesage in outlook / postmessage Reply with quote

I'm trying to enable "request a delivery receipt for this message" in outlooks new message, but can't figure out how to do that.
Here is what i have so far:
Code:

PostMessage, 0x111, 4231,BN_CLICKED,,Message Options

there was no code 0, that's why i used "BN_CLICKED" hoping that it will do what i need, but apparently i'm wrong.

"request a delivery receipt for this message" can be found by starting outlook -> new message -> options

Thanks.
Back to top
View user's profile Send private message
[VxE]



Joined: 07 Oct 2006
Posts: 1129

PostPosted: Fri Dec 28, 2007 9:38 pm    Post subject: Reply with quote

Outlook has a normal windows menu, so sending a key combination can probably do the trick. Try to navigate to the option using just the keyboard (start with [alt][F]) then AHK can repeat that key sequence ....whenever....
_________________
My Home Thread
More Common Answers: 1. It's in the FAQ 2. Ternary ( ? : ) guide 3. Post code with [code][/code] tags
Back to top
View user's profile Send private message
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Fri Dec 28, 2007 9:42 pm    Post subject: Reply with quote

see also WinMenuSelectItem
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
svi



Joined: 09 Oct 2006
Posts: 124
Location: Finland

PostPosted: Fri Dec 28, 2007 9:50 pm    Post subject: Re: send mesage in outlook / postmessage Reply with quote

neXt wrote:
... to enable "request a delivery receipt for this message" in outlooks ...

I have a Finnish OS, so I'm not sure if this is what you want (value 40347 from ResHacker: ... Program Files\Outlook Express\msoeres.dll):
Code:
PostMessage, 0x111, 40347, 0, , Outlook Express

_________________
Pekka Vartto
Back to top
View user's profile Send private message
neXt



Joined: 19 Mar 2007
Posts: 463

PostPosted: Fri Dec 28, 2007 10:10 pm    Post subject: Reply with quote

I think this can't be selected from the regular menu, at least i couldn't find it.
There's an actual button that i have to click to get there, more info here: http://grok.lsu.edu/Article.aspx?articleId=88

Scroll down to: "To set Outlook to notify you when an individual message is delivered or read:"
They have a better explanation with pics.

I don't really want to use mouse clicks and wait for windows to show up Sad , that's why i'm trying to use SendMessage.
My last attempt was
Code:
PostMessage, 0x4E, 4230,,,Message Options
but it just froze the application. Shocked

svi, I tried it, didn't help and i think that's for outlook express.
Back to top
View user's profile Send private message
svi



Joined: 09 Oct 2006
Posts: 124
Location: Finland

PostPosted: Fri Dec 28, 2007 10:25 pm    Post subject: Reply with quote

neXt wrote:
svi, I tried it, didn't help and i think that's for outlook express.

Yes, I didn't think there's anything else Outlook Embarassed
_________________
Pekka Vartto
Back to top
View user's profile Send private message
svi



Joined: 09 Oct 2006
Posts: 124
Location: Finland

PostPosted: Fri Dec 28, 2007 10:33 pm    Post subject: Reply with quote

So, you want to turn on a checkbox?

Is it possible with Postmessage Question
_________________
Pekka Vartto
Back to top
View user's profile Send private message
neXt



Joined: 19 Mar 2007
Posts: 463

PostPosted: Fri Dec 28, 2007 10:42 pm    Post subject: Reply with quote

i don't know, you think not?
Back to top
View user's profile Send private message
svi



Joined: 09 Oct 2006
Posts: 124
Location: Finland

PostPosted: Fri Dec 28, 2007 10:57 pm    Post subject: Reply with quote

neXt wrote:
i don't know, you think not?

I thought so, but it seems to be possible (I tested it in Calculator).

Also Control, Check could be used.
_________________
Pekka Vartto
Back to top
View user's profile Send private message
neXt



Joined: 19 Mar 2007
Posts: 463

PostPosted: Fri Dec 28, 2007 11:11 pm    Post subject: Reply with quote

I forgot about Control Very Happy . Ok, i guess i'm OK then.
Code:

send !p          ;apparently this opens up "options" menu
WinWaitActive Message Options
Control, Check,, Button3, Message Options
return


Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group