ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: web shortcut that goes to already open tab if open

(1/1)

cedardoc:
Right now my shortcut to gmail will open a new tab even if I already have it open in a tab (firefox).  Things would be faster if the shortcut could just go to the one that's already loaded.  I figured this would already be in existence, but I can't find it.

Thanks,
DP

sri:
This might not be the solution you are looking for. But I've put together a very basic AutoHotKey script which will switch to already running Firefox and press ctrl+1. Why 1? Because I always place Gmail in the first tab of Firefox.

Save the following as FirstTabFirefox.ahk:


--- ---#SingleInstance force
SetTitleMatchMode, 2
IfWinExist Mozilla Firefox
{
    WinActivate, Mozilla Firefox
}
WinWaitActive, Mozilla Firefox
Send {Ctrl Down}1{Ctrl Up}

Navigation

[0] Message Index

Go to full version