SHortcut to quit program
I have a problem with an app - it gets stuck from time to time. It runs in the background and is sometimes hard to access because of other software I have running. I'd like to create a shortcut that opens PowerShell and quits the app then relaunches it after a second or two. Unfortunately, I'm a noob and haven't been able to figure out how to do this. Any help would be greatly appreciated. TIA!
-
m200890234
- Posts: 22
- Joined: Dec 6th, ’23, 04:12
I think you can set a shortcut for to pause fastkeys in preference -> general -> shortcuts ->pause shortcut. Say it's F9.
So the following steps might be:
1. Run powershell.exe;
2. Send F9 to pause the app;
3. Sleep several seconds;
4. Send F9 to active the app.
So the following steps might be:
1. Run powershell.exe;
2. Send F9 to pause the app;
3. Sleep several seconds;
4. Send F9 to active the app.
