User talk:TopGun/Conversations elsewhere

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

hotSign

--Copy of conversation at User talk:Fred Gandt, for record. [1] --lTopGunl (talk) 07:09, 1 January 2012 (UTC)[reply]

This is working great (along with a double tab and enter - no mouse usage). I modified it a bit to add "--" in prefix: User:TopGun/hotSign.js. Thanks. --lTopGunl (talk) 03:31, 1 January 2012 (UTC)[reply]

Cool. You know you could add the "--" direct to your signature instead?  fredgandt 03:35, 1 January 2012 (UTC)[reply]
Yeah... I miss it some times on purpose, so this seemed better. Probably edit conflicts for others now when I'm adding comments without a mouse. Haha. --lTopGunl (talk) 03:39, 1 January 2012 (UTC)[reply]
See this website (amongst others) to get the keyCodes, if at some point you want to change the hotkeys, and don't feel like asking for it to be done for you. fredgandt 03:47, 1 January 2012 (UTC)[reply]
Ah, I had google search in mind for that. Thanks for the tip. --lTopGunl (talk) 03:58, 1 January 2012 (UTC)[reply]

No problem. I'm glad I could help. The part that reads if((hot_sign_event.keyCode==220)&&hot_sign_event.ctrlKey) can be changed to include or exclude other keys etc. Examples:

if((hot_sign_event.keyCode==220)&&hot_sign_event.ctrlKey&&hot_sign_event.altKey) // Ctrl+Alt+\
if((hot_sign_event.keyCode==220)&&hot_sign_event.altKey) // Alt+\
if((hot_sign_event.keyCode==223)) // `

223 is ` (whatever the hell that is). So you could therefore only need to press one key, but that one key would have to be one you never wanted to use for its true purpose. Anyway, there's options. Let me know if you need anything again. fredgandt 04:10, 1 January 2012 (UTC)[reply]

Even better, the "window key" is good for nothing in Linux by default (and I usually keep it that way), thinking of using it as a one touch sign later. Sure. --lTopGunl (talk) 04:27, 1 January 2012 (UTC)[reply]