SHortcut to quit program

Discussion, questions and support.
Post Reply
User avatar
thepipe
Posts: 12
Joined: Dec 18th, ’16, 22:47

Post by thepipe » Jan 14th, ’24, 19:30

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

Post by m200890234 » Jan 19th, ’24, 09:43

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.
User avatar
thepipe
Posts: 12
Joined: Dec 18th, ’16, 22:47

Post by thepipe » Jan 19th, ’24, 11:09

It appears that F9 preference pauses FastKeys. That's not what I want to do. I want to "kill" a different app, then relaunch it. Thanks anyway though.
Post Reply