My AHK commands are ignored when creating a mail in Outlook. What can be the problem? Some conflict with Outlook?
Bjorn
Outlook
Re: Outlook
You may need to include WinActivate in the script to tell it to use that window.
https://www.autohotkey.com/docs/command ... tivate.htm
Hope that helps
https://www.autohotkey.com/docs/command ... tivate.htm
Hope that helps
Re: Outlook
It seems that the Send command does not work when I edit a mail in Outlook. I tested the following script
inActivate,ahk_class rctrl_renwnd32
^7::
send xxxxxxxxxxxxxxxxxxxxxxxxxxx
MsgBox , Hello
Return
In Outlook I only get the message, in Word I get the xxxxxxx and the message.
inActivate,ahk_class rctrl_renwnd32
^7::
send xxxxxxxxxxxxxxxxxxxxxxxxxxx
MsgBox , Hello
Return
In Outlook I only get the message, in Word I get the xxxxxxx and the message.
Re: Outlook
your first line is wrong. should be #IfWinActive.
the rest is working for me with Outlook 2013 Win7 x64.
try to run ahk or your compiled script with admin privileges.
the rest is working for me with Outlook 2013 Win7 x64.
try to run ahk or your compiled script with admin privileges.
Re: Outlook
I think that just a copy/paste error, or else the script wouldn't run. Are you sure the body of the message is active (you see the blinking caret) when triggering the hotkey?
- Blackholyman
- Posts: 1293
- Joined: 29 Sep 2013, 22:57
- Location: Denmark
- Contact:
Re: Outlook
most likely you simply need to run your script as Admin
Courses on AutoHotkey
My Autohotkey Blog
Re: Outlook
The missing "W" may be a copy/paste error. But since he wrote WinActivate it means that every time the script is started the outlook window will come active and in front of other windows. I don't know if this makes sense in this case. I think #IfWinActive fits better here.Nextron wrote:I think that just a copy/paste error, or else the script wouldn't run. Are you sure the body of the message is active (you see the blinking caret) when triggering the hotkey?
Who is online
Users browsing this forum: Google [Bot], Lamron750 and 240 guests