^g:: Input , keystrk, I L1 IfEqual , keystrk,m ;Gmail { Run , http://gmail.com/ Return } IfEqual , keystrk,r ;Google Reader { Run , http://google.com/reader Return } Return
What this code does is asks for ctrl +g then ask for either {m} or {r} then opens a web page depending on the key. What i want to do is check if the web page is already open in a browser, specifically firefox. When I run the command over and over again, firefox just opens a new tab each time.
What i am imagining is:
ifexist {firefox tab} open {firefox tab} else run gmail.com
Something along those lines
Thank you for your help