up vote 1 down vote favorite
share [g+] share [fb]

Mediawiki:

I'd like to change the key combination alt-shift-s to be ctrl-s for saving a page that is currently being edited.

link|improve this question

Note that Alt+Shift+S is the browser's default implementation for the accesskey attribute on elements. Also Alt+Shift is what Firefox makes of it, IE uses just Alt. So generally, you'll need to do that by other means than it is done now. – Joey Mar 16 '10 at 18:22
Google Docs lets me use Ctrl-S -- That's what I'm after. Any tips? Thanks for your time – hamlin11 Mar 17 '10 at 6:16
feedback

2 Answers

up vote 1 down vote accepted
+200

If you have knowledge on JavaScript, you could look into something like http://www.scottklarr.com/topic/126/how-to-create-ctrl-key-shortcuts-in-javascript/ or http://www.openjs.com/scripts/events/keyboard_shortcuts/ as a starting point. (If you'd like you could do a Google search for javascript detect ctrl-s)

From there you could do something like simulate a click event on the save button.

link|improve this answer
feedback
#IfWinActive, [part of tab name]
^s::!+s
#IfWinActive

In the AutoHotKey scripting language :)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.