User talk:TopGun/Conversations elsewhere
This page is a topical archive of past discussions from the current talk page for the topic:
"Conversations elsewhere". In order to preserve the record of past discussions, the contents of this page should be preserved in their current form. Please do NOT make new edits to this page. If you wish to make new comments or re-open an old discussion thread, please do so on the current talk page page. If necessary, copy the relevant discussion thread to the current talk page page and then add your comments there. |
hotSign
--Copy of conversation at User talk:Fred Gandt, for record. [1] --lTopGunl (talk) 07:09, 1 January 2012 (UTC)
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)
- Cool. You know you could add the "--" direct to your signature instead? fredgandt 03:35, 1 January 2012 (UTC)
- 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)
- 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)
- Ah, I had google search in mind for that. Thanks for the tip. --lTopGunl (talk) 03:58, 1 January 2012 (UTC)
- 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)
- 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)
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)
- 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)