Page 1 of 1

Curious about multiple scripts and send input

Posted: 21 Apr 2018, 18:02
by PuzzledGreatly
My main script that runs permanently has #d configured to launch Dreamweaver. I have another script and i put this in it:

Code: Select all

IfWinNotExist ahk_exe Dreamweaver.exe
sendinput #d
I expected Dreamweaver to launch because my main script is running but instead the windows default took over and all the windows got minimized. Just wondered why that was and how to pass the command from one script to another if it is possible. Thanks.

Re: Curious about multiple scripts and send input

Posted: 22 Apr 2018, 04:07
by Frosti
Try this

SendInput, {LWIN Down}d{LWIN Up}