0

I know how to assign a keyboard shortcut to an application by

  • Right click on the application and take properties.

  • Under "Shortcut key", assign the shortcut pressing the key combination.

But how can I open the same application with the shortcut key combination with administrator privileges?

1

You can use AHK (AutoHotkey) and make a script that does this

This will open Itunes if you do Windows + Alt + P

#!P::
    Run "C:\Program Files\itunes\iTunes.exe"
    Return
  • Absolutely agree with this answer. AHK is the solution here! Sathyam you can change the shortcut to whatever you like it to be. Just put whatever shortcut you like prior to the '::' at the start of the script. – Myles May 18 '18 at 10:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.