| View previous topic :: View next topic |
| Author |
Message |
bahri
Joined: 24 Jun 2004 Posts: 101 Location: Malta
|
Posted: Fri Oct 27, 2006 8:12 pm Post subject: Sending Var containing ^ |
|
|
Hi all
Sometimes a variable contains ^
sending this variable is prooving to be a bit of a problem for me, such
| Quote: |
^MButton::
login = testing
password = dfg^cfdg
send, %login%
send, {return}
send, %password%
exitapp
|
The script sends
testing
dfgfdg
the ^ is not sent.
Any help
Thanks all
bahri |
|
| Back to top |
|
 |
.AHK
Joined: 26 Apr 2006 Posts: 662 Location: USA
|
Posted: Fri Oct 27, 2006 8:19 pm Post subject: |
|
|
Thats because control is sent instread of "^". Try SendRaw, and use "`r" instead of {Enter}.
| Code: |
^MButton::
login = testing
password = dfg^cfdg
sendraw, %login%`r%password%
exitapp |
|
|
| Back to top |
|
 |
bahri
Joined: 24 Jun 2004 Posts: 101 Location: Malta
|
Posted: Fri Oct 27, 2006 8:28 pm Post subject: Sending Var containing ^ |
|
|
Thanks
got it
bahri |
|
| Back to top |
|
 |
|