Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keyboard hook
#3
Thank you Kevin,

No it's not a dialog it's a simple utility that displays some text on the screen, stops a program (kills the process) and then starts that program again.
If I understand correctly the first sample function you mentioned can do this. Let's say I would indeed use Ctrl+Shift+F5 as a hotkey. How do I insert the path to my target executable in this function?

"C:\Program Files (x86)\Restart Utility\Restartapp.exe"

Assuming this can be done, I would then be able to compile this function to exe. Start that executable, press Ctrl+Shift+F5 and then it would run my Restartapp utility ?


Messages In This Thread
Keyboard hook - by InterestedNewbie - 04-25-2018, 01:21 AM
RE: Keyboard hook - by Kevin - 04-25-2018, 03:50 AM
RE: Keyboard hook - by InterestedNewbie - 04-25-2018, 06:58 PM
RE: Keyboard hook - by Kevin - 04-26-2018, 12:02 AM
RE: Keyboard hook - by InterestedNewbie - 04-26-2018, 12:24 AM
RE: Keyboard hook - by InterestedNewbie - 04-28-2018, 08:58 PM
RE: Keyboard hook - by Kevin - 04-28-2018, 09:12 PM
RE: Keyboard hook - by InterestedNewbie - 04-29-2018, 03:19 AM
RE: Keyboard hook - by Kevin - 04-29-2018, 04:48 AM
RE: Keyboard hook - by InterestedNewbie - 04-29-2018, 04:01 PM
RE: Keyboard hook - by Gintaras - 04-29-2018, 05:13 PM
RE: Keyboard hook - by InterestedNewbie - 04-29-2018, 08:25 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)