I've got a super simple script that I've got pretty much working. Unfortunately I've hit a snag where the script fails to run if Ctrl is not released between uses. I'm guessing '^e' means the script looks for the key-down of both Ctrl and 'e', rather than looking for a Ctrl-modified 'e'? I don't really foresee it being an issue, but better safe than sorry, right?
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^e::
Send, ^c
sleep 100
outputSF := Round(clipboard*43560)
Send, %outputSF%
return