topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday December 12, 2024, 9:11 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: web shortcut that goes to already open tab if open  (Read 5668 times)

cedardoc

  • Participant
  • Joined in 2008
  • *
  • Posts: 36
    • View Profile
    • Donate to Member
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

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 689
    • View Profile
    • Sridhar Katakam
    • Read more about this member.
    • Donate to Member
Re: IDEA: web shortcut that goes to already open tab if open
« Reply #1 on: May 27, 2008, 03:42 AM »
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}
<a href="https://sridharkatakam.com">My blog</a>