| View previous topic :: View next topic |
| Author |
Message |
sri
Joined: 24 Oct 2007 Posts: 17
|
Posted: Mon Sep 08, 2008 4:09 pm Post subject: How is hash (#) key represented in AutoHotKey? |
|
|
| like ^ stands for control, what is it for hash/pound key? |
|
| Back to top |
|
 |
trenton_xavier
Joined: 16 Jun 2008 Posts: 82 Location: Pittsburgh, Pennsylvania, USA
|
Posted: Mon Sep 08, 2008 4:14 pm Post subject: |
|
|
| wow, RTFM. its the windows key. |
|
| Back to top |
|
 |
sri
Joined: 24 Oct 2007 Posts: 17
|
Posted: Mon Sep 08, 2008 5:01 pm Post subject: |
|
|
trenton: I have already looked for it in the "List of Keys, Mouse Buttons, and Joystick Controls" section of the help file and couldn't locate it.
And doesn't # stand for windows key?
I am asking about the AutoHotKey symbol for the actual pound key on the keyboard.
Edit: Got confused, what I am looking for is {#}. http://www.autohotkey.com/docs/commands/Send.htm |
|
| Back to top |
|
 |
tuna
Joined: 03 Oct 2007 Posts: 155 Location: UK
|
Posted: Mon Oct 27, 2008 1:00 am Post subject: |
|
|
But lets not duck the issue here - what's the hash key represented as? I desperately need to assign my hash key as a hotkey (there's no workaround) but no matter how I try, it ends up firing off as the windows key.
Many thanks |
|
| Back to top |
|
 |
infogulch
Joined: 27 Mar 2008 Posts: 649
|
Posted: Mon Oct 27, 2008 1:22 am Post subject: |
|
|
tuna, note what sri said:
That's for send.
For the hash hotkey use +3:: or its scancode _________________ Scripts - License |
|
| Back to top |
|
 |
tuna
Joined: 03 Oct 2007 Posts: 155 Location: UK
|
Posted: Mon Oct 27, 2008 1:25 am Post subject: |
|
|
cheers, but unlike sri, I actually need to assign the hash key itself as a hotkey, not the win keys.
Many thanks
Edit
| Quote: | | For the hash hotkey use +3:: or its scancode |
I've got a UK keyboard layout: +3 would be a £ sign. My hash key appears next to the enter key on the 4th row down on my keyboard (with the function keys F1-12 being the first row). It shares a key with the tilde symbol (activated through shift). |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1390 Location: The Interwebs
|
Posted: Mon Oct 27, 2008 2:03 am Post subject: |
|
|
| As infogulch also recommended, you should probably use the key's scan code. This page explains how to do so. |
|
| Back to top |
|
 |
zorglups
Joined: 04 Feb 2005 Posts: 24
|
Posted: Mon Mar 09, 2009 12:48 pm Post subject: |
|
|
I did this using a hotstring instead of a hotkey:
:*:#::my_action_here |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Mar 09, 2009 7:48 pm Post subject: |
|
|
Why not just use this?
| Code: | | #::Send You pressed Hash. |
Even though # has special meanings in some cases this seems to work just fine.
You can even do this:
| Code: | | ##::Send You pressed WinKey+Hash. |
AutoHotkey is pretty smart.  |
|
| Back to top |
|
 |
|