Autohotkey
|
2011-12-27, 06:02
(This post was last modified: 2011-12-27 06:04 by Tommer.)
Post: #1
|
|||||||
|
|||||||
Autohotkey
Hi guys this is a question for those familiar with AutoHotkey,
I have a script which I use to run LFS, it first opens LFS Strobe - then opening the strobe file, LFS Cops, then LFS using the run commands.. There are two things I would like to add to the script to do which is the following; Check if the program is already running before running it, and if it is already running don't run it again. If I close LFS, close all the other programs it opened. This is the script atm; Code: Run D:\Stuff to keep\Live For Speed\strobe\LfsStrobe.exe Anybody can help? |
|||||||
|
|||||||
2011-12-27, 07:16
(This post was last modified: 2011-12-27 07:16 by Nitros.)
Post: #2
|
|||||||
|
|||||||
RE: Autohotkey
From a cursory look, I'm not sure you can do those things from a script.
By thebprogram, i guess yiu mean lfs. It does have conditional statements, but I don't know if there would be a library for a sort of process explorer. A script isn't a program, it can't have event handling afaik. |
|||||||
|
|||||||
2011-12-27, 10:21
Post: #3
|
|||||||
|
|||||||
RE: Autohotkey
That's ok, I found out it's acheivable through IfWinNotExist
Also there is a WinWaitClose so all my problems are solved |
|||||||
|
|||||||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group