Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My case is simple and i don't know what i'm doing wrong, the tutorial is clear about this, it should work. When i write pste i want the contents of the clipboard send as keystrokes(i'm using it to paste text in windows console that do not support ctrl+v) so far i've tried

:*:pste::Send, %clipboard%
:*:pste::Send %clipboard% ;no comma
:*:pste::%clipboard% 
:*:pste::clipboard
:*:pste::%Clipboard%
:*:pste::Send, %Clipboard%
:*:pste:: %clipboard%
:*:pste:: %Clipboard%

in every single case it writes down the text after :: so i type pste and the script writes %clipboard% or Send, %Clipboard% and so forth if it matters im not compiling the ahk

share|improve this question
1  
If you got it to work, please post the solution as an answer and not an edit. I'm getting rid of the edit so you can put it as a real answer. – Wuffers Apr 20 '11 at 5:00
:*:pste::
Send %clipboard%
return
share|improve this answer

According to http://www.autohotkey.com/docs/Hotstrings.htm variables are not supported in hotstrings.

share|improve this answer
    
You can't use them inline, but see the accepted answer to see how to use them. – yhw42 Nov 18 '12 at 13:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .