I'm making an autohotkey script to run highlighted text through a calculator, and i need to send the contents of the clipboard as a sequence of keypresses, since the calculator doesn't really support pasting of a mathematical operation. How would this be accomplished?
AutoHotkey: how to send contents of clipboard as key presses
autohotkey
Related Question
- Adding line breaks to strings that go into the clipboard
- How to copy without formatting with Ctrl+Alt+C in AutoHotkey
- Create an AutoHotKey script that waits for a window and sends some keystrokes to it, but the keystrokes are repeating by default
- How to use AutoHotkey to send a string to a game’s text entry line
- How to make AutoHotkey scripts work on computers without AutoHotkey installed
Best Answer
I fixed the original script you wrote here: https://superuser.com/questions/7271/most-useful-autohotkey-scripts/31282#31282 Works fine on my Vista system now.
The code snippet in question, dredged up from the depths of the Wayback Machine: