I want my script to listen to the string I will enter after the PrintScreen button is pressed. For example, if I press the PrintScreen button and type "paint" afterwards, it should open MSPaint. If I however type "photoshop", it should open Photoshop.. Is this possible?
Here is my attempt, a completely failure (I'm new to AHK by the way..)
~PrintScreen::paint::
Run, MSPaint
WinWaitActive, Untitled - Paint
Send, ^v
return
~PrintScreen::photoshop::
Run, Photoshop
WinWaitActive, Adobe Photoshop CS6
Send, ^v
return