Hi, script that opens and closes on closing and opening program?
-
- Posts: 2
- Joined: 12 Aug 2017, 19:38
Hi, script that opens and closes on closing and opening program?
Hi, trying to get a script that opens and closes while opening and closing a program.
-
- Posts: 2
- Joined: 12 Aug 2017, 19:38
Re: Hi, script that opens and closes on closing and opening program?
Tried this but with starcraft but it didn't work. https://autohotkey.com/board/topic/980- ... -close-it/
Re: Hi, script that opens and closes on closing and opening program?
Use following:
• SetTimer - continuously run a part of code every now and then
• WinExist() - check if process exists or not
• Process - close process
• Run - open process
• SetTimer - continuously run a part of code every now and then
• WinExist() - check if process exists or not
• Process - close process
• Run - open process
Use
Code: Select all
[/c] forum tag to share your code.
Click on [b]✔[/b] ([b][i]Accept this answer[/i][/b]) on top-right part of the post if it has answered your question / solved your problem.
Who is online
Users browsing this forum: Google [Bot] and 152 guests