Hotkey to copy subject of email in Outlook
- coder_chick
- Posts: 235
- Joined: 05 Nov 2015, 10:43
Re: Hotkey to copy subject of email in Outlook
Ok, thanks. Yeah, I'm still new to this coding. I'm all for looking at the documentation, but I don't always know where to look and sometimes struggle with it. I have learned a ton by seeing the examples and then going back to read up more. I will be taking a closer look at those pieces now. Thanks all!
♥ ❤ ❥ coder_chick ♥ ❤ ❥
Re: Hotkey to copy subject of email in Outlook
This only works in main Outlook windows, how to make it work in opened email?sinkfaze wrote:Code: Select all
F1:: oApp := ComObjActive("Outlook.Application") ; Get Outlook oExp := oApp.ActiveExplorer ; Get the ActiveExplorer. oSel := oExp.Selection ; Get the selection. oItem := oSel.Item(1) ; Get a selected item. Subject := RegExReplace(oItem.subject,"^(?:RE|FW): ") Send,^e ;shortcut to jump to search bar in Outlook SendInput,"{Raw}%Subject%" ;sends subject to search bar in quotes return
Re: Hotkey to copy subject of email in Outlook
If you look at the first reply... https://autohotkey.com/boards/viewtopic ... 323#p56323This only works in main Outlook windows, how to make it work in opened email?
Just change it so it doesn't use the clipboard and add the regex if you require that part.
Who is online
Users browsing this forum: Rohwedder and 124 guests