Forums list
New topics
Topics list
Search
Help
Login
Register


Topic: «Stop program » on forum: Feature Requests   Views: 4150
 
Soyer Daniel
Registered user
 
Posts: 7
Joined: 07/14/2020
Posted: 07/22/2020 23:08:55
 
 
So, we have a start program option but i really would like to see a stop program one.

As in, whenever i start an application listed in my AWM settings, have another application being terminated.

In my case: i use AHK very often but some of the game i play are very sensitive to that kind of software so, in this case, when i start x game, terminate AHK.
 
Top
technoid
Registered user
 
Posts: 36
Joined: 03/01/2018
Posted: 07/23/2020 00:09:47
 
 
Instead of starting the game directly from AWM, you could start an .exe which contains a script that first exits autohotkey (if AHK means autohotkey) and then starts the game. With AutoIt it would look like this:

Code
If ProcessExists("autohothey.exe") Then
   ProcessClose("autohothey.exe")
   PocessWaitClose("autohothey.exe")
EndIf
Run("PathToYourGame\YourGame.exe")
Exit

With Autohotkey itself, it should look similar.
https://www.autohotkey.com/docs/commands/Process.htm#Exist
You have to convert the script into an .exe, which is also possible with AHK2exe.
 
Top
Soyer Daniel
Registered user
 
Posts: 7
Joined: 07/14/2020
Posted: 07/23/2020 00:21:43
 
 
I'm not starting anything "directly" from AWM, the game only has an entry in the specific settings of AWM for window size etc.
So yeah, i could use an external script but it would be much easier if there was a stop program the same way there is a start program option :)
 
Top
Bogdan Polishchuk
Administrator
 
Posts: 4080
Joined: 04/04/2012
Posted: 07/23/2020 23:08:07
 
 
Hi, everyone

Daniel,

Thank you for contacting us.

We'll consider your request and will post in this topic if the feature is implemented.


Best regards.
 
Top
Soyer Daniel
Registered user
 
Posts: 7
Joined: 07/14/2020
Posted: 07/24/2020 00:11:25
 
 
Thank you, i really hope it will :)
 
Top


User(s) reading this topic
Number of guests: 1, registered members: 0, in total hidden: 0


Forums list
New topics
Topics list
Search
Help
Login
Register