I want a script that opens an app if a selected app is running

Get help for the alpha version of AutoHotkey v2 here. Please state the v2 version you are working with in the title when making a new topic.
sudolake2
Posts: 3
Joined: 20 May 2020, 03:41

I want a script that opens an app if a selected app is running

18 Jul 2020, 09:41

lets say something like,
If google is running:
Open spotify.
swagfag
Posts: 4140
Joined: 11 Jan 2017, 17:59

Re: I want a script that opens an app if a selected app is running

18 Jul 2020, 18:20

Code: Select all

if WinExist('Google')
	Run('my_program.exe')

Return to “AutoHotkey v2 Help”

Who is online

Users browsing this forum: No registered users and 4 guests