topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Sunday April 28, 2024, 3:53 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ada45373 [ switch to compact view ]

Pages: [1]
1
Living Room / Re: A really cool modern visual illusion
« on: May 17, 2010, 07:58 AM »
I seem to recall that the neurophysiology course dealt with the automatic interpretation that shadowing comes from an overhead light source. There are oodles of these essential processes about which we are unaware.

This specific illusion is employed in nature as camouflage and mimicry.

2
Eleman mentions that folks "hate having to cope with different hotkeys for similar tasks." How often have scripts been produced to offer "Same Keying" for this dilemma?

This autohotkey script provides the same shortcut keys for movement around the pages of the various tabbed browsers. Sometimes a browser has keyboard shortcuts that don't match the most common pattern - - this SameBrowserKeys script eliminates that problem. Although now I have a very ingrained habit(for me to contend with) if I'm on a computer without this script.


RAlt & 4::shiftalttab   ;  prior window
RAlt & 5::alttab      ;  next window

#IfWinActive ahk_class MozillaUIWindowClass
  ;         Firefox
RAlt & e::Send ^{PgUp}      ;  leftward tab
RAlt & r::Send ^{PgDn}      ;  rightward tab
RAlt & d::Send !{Left}      ;  prior page
RAlt & f::Send !{Right}      ;  next page
#IfWinActive

#IfWinActive ahk_class IEFrame
  ;              Internet Explorer
RAlt & e::Send ^+{Tab}      ;  leftward tab
RAlt & r::Send ^{Tab}      ;  rightward tab
RAlt & d::Send !{Left}      ;  prior page
RAlt & f::Send !{Right}      ;  next page
#IfWinActive

#IfWinActive ahk_class OpWindow
  ;         Opera
RAlt & e::Send ^+{F6}      ;  leftward tab
RAlt & r::Send ^{F6}      ;  rightward tab
RAlt & d::Send !{Left}      ;  prior page
RAlt & f::Send !{Right}      ;  next page
#IfWinActive


#IfWinActive ahk_class Chrome_XPFrame
  ;         Chrome
RAlt & e::Send ^+{Tab}      ;  leftward tab
RAlt & r::Send ^{Tab}      ;  rightward tab
RAlt & d::Send !{Left}      ;  prior page
RAlt & f::Send !{Right}      ;  next page
#IfWinActive

;  ------------------------------
RAlt & J::Send !{F4}    ;Close APP..
RAlt & B::Send ^w      ;Close TAB

;
RAlt & q::Send {PgUp}    ;   Up
RAlt & a::Send {PgDn}    ;   Down
RAlt & w::Send ^{NumpadAdd}   ;   zoom in
RAlt & s::Send ^{NumpadSub}   ;   zoom out


First, I used Sharpkeys to move the capslock function to the SCROLL LOCK key. Then I moved the right-alt function to the CAPS LOCK key. By having this script work from  just the RAlt, not the Alt function, there are not conflicts with the many "Alt+ Key" shortcuts.

So the left pinkie finger stays on the Caps Lock key. Then keys Q-A scroll up-down, W-S zoom in-out, D-F are back-forward, E-R for tabbing, and the 4 & 5 keys handle alt-tab. I've changed the layout at various times for personal dexterity.

Would this the sort of Common Function script dovetail with your HotKeyRing?

The #IfWinActive  function seems to offer some nice setups. Since I'm a novice at this sort of script writing, I bet my simplistic approach on browsers has been far surpassed by experienced script writers. Could anyone please head me toward good examples of this?

3
Post New Requests Here / 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.

Pages: [1]