Hi All,
Can someone help figure out the best way to terminate an application? I used to use the Termination.exe, executed by an event with the application set as an optional varitiable, when I was using HS1.7. Now that I'm using HS v2, Terminate.exe doesn't seem to work. In some of my scripts, I've used command code to close applications like "hs.close("C:\Program Files\WinTV\WinTV2K.EXE")". When running this in HS v2, I get an error message""hs.close" not a recognized command.
I've also tried this method. Once the application is open, I'll use the "Keys" method to close the app down
i.e.
sub main()
HS.Keys "c","WINAMP",1
end sub
The keys functions are not working either.........
Any suggestions?
Can someone help figure out the best way to terminate an application? I used to use the Termination.exe, executed by an event with the application set as an optional varitiable, when I was using HS1.7. Now that I'm using HS v2, Terminate.exe doesn't seem to work. In some of my scripts, I've used command code to close applications like "hs.close("C:\Program Files\WinTV\WinTV2K.EXE")". When running this in HS v2, I get an error message""hs.close" not a recognized command.
I've also tried this method. Once the application is open, I'll use the "Keys" method to close the app down
i.e.
sub main()
HS.Keys "c","WINAMP",1
end sub
The keys functions are not working either.........
Any suggestions?
Comment