Welcome Guest.   Make a donation to an author on the site October 22, 2014, 08:51:35 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2014! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Idea - Universal browser keyboard shortcuts  (Read 2795 times)
ada45373
Supporting Member
**
Posts: 3

View Profile Give some DonationCredits to this forum member
« on: January 26, 2007, 06:49:40 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.
Logged
lanux128
Global Moderator
*****
Posts: 6,108



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: January 29, 2007, 10:31:32 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.. smiley
Logged

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.027s | Server load: 0.35 ]