topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday March 29, 2024, 4:20 am
  • 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 - Universal browser keyboard shortcuts  (Read 5095 times)

ada45373

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Idea - Universal browser keyboard shortcuts
« on: January 26, 2007, 06:49 AM »
How about a program so that web browsers operate with the same keyboard shortcuts. Have I not managed to find an already existing program for this?

Universalizer(browser standardizer?) would make keyboard actions uniform among various browsers. What I've tried with mixed results is shortcut keys handling left/right tab switching(via CapsLock + D/F) and back/forward page switching(via CapsLock + R/T.) If I could get such universal response, I would not have to remember the variations among browsers, and might even be able to ignore which browser is being used.

This approach could be used for other situations: scrolling pagedown, scrolling left/right, zooming in/out. Just as it's best for gestures to be universal among software, so too for keyboard actions.

Here's the AHK code which has performed OK at times, but seems mistake-prone. Is there a more reliable setup, or one that could be used to universalize more keyboard actions?

; Introduction - - provide uniform browser keying
;   MatchMode = 2 for match anywhere within
;
;   CAPSlok & R   browser Page BACK
CapsLock & r::
SetTitleMatchMode, 2
IfWinActive, - Microsoft Internet Explorer
     Send, !{Left}
IfWinActive, - Maxthon Browser
   Send, !{Left}
IfWinActive, Firefox
   Send, !{Left}
;   ..............
;   CAPSlok & T   browser Page FORWARD
CapsLock & t::
SetTitleMatchMode, 2
IfWinActive, - Microsoft Internet Explorer
        Send, !{Right}
IfWinActive, - Maxthon Browser
   Send, !{Right}
IfWinActive, Firefox
   Send, !{Right}
;   ..........................
;   CAPSlok & D   browser Tab LEFT
CapsLock & d::
SetTitleMatchMode, 2
IfWinActive, - Microsoft Internet Explorer
        Send, !{Left}  ;  - there's NO TABBING
;          so this action's actually PAGE back
IfWinActive, - Maxthon Browser
   Send, ^{Left}
IfWinActive, Firefox
   Send, ^{PGUP}
;   ......................
;   CAPSlok & F   browser Tab RIGHT
CapsLock & f::
SetTitleMatchMode, 2
IfWinActive, - Microsoft Internet Explorer
   Send, !{RIGHT}  ;  - there's NO TABBING
;           so this action's actually PAGE forward
IfWinActive, - Maxthon Browser
   Send, ^{RIGHT}
IfWinActive, Mozilla Firefox
   Send, ^{PGDN}



I have tried to learn from TWmailrec's 'Key Macros for MS WORD' but I don't know autohotkey well enough to follow it. Using CapsLock is desirable because there are not conflicts with standard shortcuts, plus that key's location is more accessible to using a bunch of different combinations with one hand.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Idea - Universal browser keyboard shortcuts
« Reply #1 on: January 29, 2007, 10:31 PM »
you can use GroupAdd command to group all browser apps, then create hotkeys for them using #IfWinActive.. btw, there's plenty of sample script at the AHK forums, you should have a look at them.. :)