Jump to content

terminate and restart


joeyone
 Share

Recommended Posts

Have a line in the script to be run and checks if it does, if so terminate it, and continue the script. Easy enough to go HotKeySet () and then run the program again. The rest of the script will take care of itself... :) It's also probably easier to close the process using a EnvVar containing the PID of the current process... :)

Link to comment
Share on other sites

Have a line in the script to be run and checks if it does, if so terminate it, and continue the script. Easy enough to go HotKeySet () and then run the program again. The rest of the script will take care of itself... :) It's also probably easier to close the process using a EnvVar containing the PID of the current process... :)

I think i understand, i will be very glad if you can show me with some code how this should be done if you have some time =)

thank you very much

Edited by joeyone
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...