PDA

View Full Version : close application when HS closes



yall0wsn0w
11-02-2010, 02:44 PM
You can open a program when Hyperspin launches but how do you close that program when you exit?

Thank you!
________
Hotbox vaporizer (http://www.vaporshop.com/hotbox-vaporizer.html)

yall0wsn0w
11-02-2010, 02:56 PM
got it... just need to find the right parameter.

is there a way to start multiple apps through HQ?
________
Toyota verossa (http://www.toyota-wiki.com/wiki/Toyota_Verossa)

chillinwater
11-05-2010, 07:49 AM
[Multiple apps]
Make (2) programs with ahk, (1 for HS startup and one for HS exit.) compile them and point HyperHQ to their ".exes".
in HyperHQ:
\Main Settings
\Startup\Exit

i.e.
For HS on "startup program":

run, "path\app #1.exe"
sleep, 250
run, "path\app #2.exe"
sleep, 250
run, "path\app #3.exe"
process, close, somthingelse #1.exe ;optional

etc.......
the "sleep" commands are optional but may be needed or time adjusted so that these apps dont conflict with each other on their startup.

For HS "exit program":

Process, close, App #1.exe
run, "path\somthingelse #2.exe" ;optional
Process, close, App #2.exe
Process, close, App #3.exe
;etc.......
exitapp

The "program exit" app would run assuming that you closed HS normally.
If not you would have to close "each" of them yourself.