 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Julia76 Guest
|
Posted: Sun Jan 30, 2005 6:38 pm Post subject: GUI for defined Hotkeys |
|
|
This may be a beginner question but I've tried out this fabulous tool for just an hour:
I've defined several Hotkeys, all beginning with 'Win-..' (Win-S, Win-X, Win-A etc.) - while the autohotkey script is active, it would be a great feature if a small background picture (or something similar leaving the active window _active_) containing information about all defined Hotkeys (what they do + shortcut code) would fade in when the 'Win'-button gets pressed
this would deliver an excellent reminder on what additional key actually is to press in order to trigger the desired action..
I find it difficult to remember which action is connected to which key when dealing with dozens of Hotkeys... (was it Win-Q or WIN-W triggering www.google.com for instance...)
any help/hint is appreciated, thanks a lot
Julia76 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Sun Jan 30, 2005 7:12 pm Post subject: |
|
|
here's a very simple implementation... doesn't require you to hold down both simultaneously... just hold down Left Win key, see list, and type next key.
| Code: |
CoordMode, ToolTip, Screen
LWin::
ToolTip, Win+N = Notepad`nWin+G = Google, 1, 1
Input, Key, L1
IfEqual, Key, N, run, Notepad
IfEqual, Key, G, run, www.google.com
ToolTip
Return
|
_________________
 |
|
| Back to top |
|
 |
Julia76 Guest
|
Posted: Sun Jan 30, 2005 7:43 pm Post subject: |
|
|
wow, I'm impressed!
but: this feature disables the native 'Win'-Key  |
|
| Back to top |
|
 |
Julia76 Guest
|
Posted: Sun Jan 30, 2005 8:07 pm Post subject: |
|
|
ok, I replaced LWin with APPSKEY (a key I usally dont use) - works great
two more questions:
what do I have to add to the code so that the tooltip disappears when pressing the APPSKEY again?
what do I have to add to the code in order to get the Hotkey Captions ('Google', 'Notepad') in an alphabetical order?
this would help me a lot, thanks
Julia |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Jan 30, 2005 8:33 pm Post subject: |
|
|
| actually, the tooltip should disappear by pressing _any_ key or mouse button, not only APPSKEY |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
|
| Back to top |
|
 |
Julia76 Guest
|
Posted: Sun Jan 30, 2005 10:44 pm Post subject: |
|
|
sorry but that looks way too complex, I would be quite happy with the two extras I've referred to
thanks anyway! |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Mon Jan 31, 2005 12:31 am Post subject: |
|
|
this allows normal win key functions and the tooltip disappears if u've not pressed a key recognized by script in 2 secs (modify if desired). RTFM.
| Code: |
CoordMode, ToolTip, Screen
~LWin::
ToolTip, Win+N = Notepad`nWin+G = Google, 1, 1
Input, Key, L1 T2
IfEqual, Key, N, run, Notepad
IfEqual, Key, G, run, www.google.com
ToolTip
Return
|
_________________
 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Mon Jan 31, 2005 12:38 am Post subject: |
|
|
for sorting, as the text shown in tooltip is specifically defined, u can either sort it (in any editor) and use as desired, or use the 'Sort' cmd from ahk. _________________
 |
|
| Back to top |
|
 |
Julia76 Guest
|
Posted: Tue Feb 01, 2005 2:29 am Post subject: |
|
|
ok, I sorted my key in an external editor
the timeout-function is unfortunatley not very usable
isn't it possible to include a certain key in the tooltip syntax, which
lets the tooltip disappear again? |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Wed Feb 02, 2005 2:34 am Post subject: |
|
|
| Some clarification might be needed. |
|
| Back to top |
|
 |
Julia76 Guest
|
Posted: Wed Feb 02, 2005 5:38 am Post subject: |
|
|
| very simple: tooltip should disappear by pressing LWin again |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Wed Feb 02, 2005 6:36 am Post subject: |
|
|
for a change, y don't u try to figure some things on your own? ...we can help where u get stuck.
| Code: |
CoordMode, ToolTip, Screen
~LWin::
ToolTip, Win+N = Notepad`nWin+G = Google, 1, 1
Input, Key, L1 T2, {LWin}
IfEqual, Errorlevel, Endkey:LWin, ToolTip
IfEqual, Key, N, run, Notepad
IfEqual, Key, G, run, www.google.com
ToolTip
Return
|
_________________
 |
|
| Back to top |
|
 |
Julia76 Guest
|
Posted: Wed Feb 02, 2005 10:13 pm Post subject: |
|
|
well, if I could I would - I have no clue about whatsoever programming, sorry
plus: I appreciate your help but your script isnt working properly as a press of the LWin-Key launches the tooltip AND the start menu |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Wed Feb 02, 2005 11:18 pm Post subject: |
|
|
| Remove the tilde (~) from the hotkey. That symbol passes the key that activated the hotkey through. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|