compuboy_r
Joined: 04 May 2004 Posts: 68
|
Posted: Fri Jul 16, 2004 2:17 pm Post subject: Script not running in new version |
|
|
Try running this script in newly released AHK
| Code: | #persistent
SetTimer, AutoReplace, 1000
SetKeyDelay, -1
AutoReplace:
SetTimer, AutoReplace, off
Input, UserInput, *V, {ESC}, btw, otoh,
IfInString UserInput, btw
Send, {backspace 3}by the way
IfInString UserInput, otoh
Send, {backspace 4}on the other hand
SetTimer, AutoReplace, on
return |
|
|
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10463
|
Posted: Fri Jul 16, 2004 4:11 pm Post subject: |
|
|
Thanks, I fixed that. The trailing comma in "otoh," is what was causing the crash. You can either remove the trailing comma or re-download the installer from http://www.autohotkey.com/download/
Btw, leading spaces are significant in the match list. So in the above script, otoh must be typed with a leading space to trigger the expansion. |
|