AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How is hash (#) key represented in AutoHotKey?

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
sri



Joined: 24 Oct 2007
Posts: 17

PostPosted: Mon Sep 08, 2008 4:09 pm    Post subject: How is hash (#) key represented in AutoHotKey? Reply with quote

like ^ stands for control, what is it for hash/pound key?
Back to top
View user's profile Send private message
trenton_xavier



Joined: 16 Jun 2008
Posts: 82
Location: Pittsburgh, Pennsylvania, USA

PostPosted: Mon Sep 08, 2008 4:14 pm    Post subject: Reply with quote

wow, RTFM. its the windows key.
Back to top
View user's profile Send private message AIM Address
sri



Joined: 24 Oct 2007
Posts: 17

PostPosted: Mon Sep 08, 2008 5:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
tuna



Joined: 03 Oct 2007
Posts: 155
Location: UK

PostPosted: Mon Oct 27, 2008 1:00 am    Post subject: Reply with quote

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
View user's profile Send private message
infogulch



Joined: 27 Mar 2008
Posts: 649

PostPosted: Mon Oct 27, 2008 1:22 am    Post subject: Reply with quote

tuna, note what sri said:
sri wrote:
... Edit: Got confused, what I am looking for is {#}. http://www.autohotkey.com/docs/commands/Send.htm

That's for send.

For the hash hotkey use +3:: or its scancode
_________________
Scripts - License
Back to top
View user's profile Send private message
tuna



Joined: 03 Oct 2007
Posts: 155
Location: UK

PostPosted: Mon Oct 27, 2008 1:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Mon Oct 27, 2008 2:03 am    Post subject: Reply with quote

As infogulch also recommended, you should probably use the key's scan code. This page explains how to do so.
Back to top
View user's profile Send private message AIM Address
zorglups



Joined: 04 Feb 2005
Posts: 24

PostPosted: Mon Mar 09, 2009 12:48 pm    Post subject: Reply with quote

I did this using a hotstring instead of a hotkey:

:*:#::my_action_here
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Mar 09, 2009 7:48 pm    Post subject: Reply with quote

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. Smile
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group