Quick Email Key Macro Script Help

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
wbhyatt
Posts: 23
Joined: 29 Jun 2016, 19:48

Quick Email Key Macro Script Help

16 Aug 2017, 03:12

So I've been working on a scrip that upon highlighting a given set of text (like an email) - a window will open in a new tab with a GMAIL email ready to go, and then paste the highlighted (and copied) information into the address bar. After that, I envisioned the script then tabbing to the Title line. So far my code is this:

Code: Select all

!g::
Send ^c
Sleep 500
Run, C:\Program Files (x86)\Google\Chrome\Application\chrome.exe https://mail.google.com/mail/u/0/#inbox?compose=new
Sleep 500
Send ^v
Sleep 100
Send %A_Tab%
return

So I would use ALT+G to activate the script. But thus far, it only pulls up the GMail new email composition, but doesn't paste anything, only selecting the text box. Where am I going wrong? How can I paste into the field?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot] and 248 guests