Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

:*: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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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