Add together "Run for Administrator" as AutoHotkey playscripts in Windows 7 or Vista

As approved readers apperceive well, I’m a huge fan of application AutoHotkey to automate my absolute accretion experience… but in Windows 7 and Vista there’s a austere limitation back you can’t run a calligraphy as Administrator by default. This agency that your hotkeys can’t collaborate with windows active in Admin mode… so how do we get about this?
There are three solutions to this problem:
* Completely Disable UAC – Not the best band-aid for aegis purposes, but it works.
* Compile your calligraphy to an executable.
* Hack the anthology and add “Run as Administrator” to the ambience menu.
Compile Calligraphy as Executable
All you accept to do is right-click on the script, accept “Compile Script”…
And now you can run the executable adaptation as administrator:

This isn’t the absolute solution, however. I adapt my calligraphy all the time, so accepting to recompile anniversary time I accomplish an edit… would get annoying.
Manual Registry Hack for AutoHotkey “Run as Administrator”
Open up regedit through the alpha card chase or run box, and again browse bottomward to the afterward key:
HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell
Right-click on “Shell” on the left-hand ancillary and actualize a fresh key alleged “runas”, again actualize a key alleged “Command” beneath it. Again actualize or set the afterward two ethics on the right-hand side, adjusting the aisle if necessary.
Name                                       Value
(Default)                                “C:\Program Files\AutoHotkey\AutoHotkey.exe” “%1″ %*
IsolatedCommand                 “C:\Program Files\AutoHotkey\AutoHotkey.exe” “%1″ %*
The absence key should already be there, aloof charge to set the value.
Now back you right-click on an AutoHotkey script, you’ll see the advantage to Run as Administrator:
Download Anthology Hack
Download, extract, and double-click on the AdminAutoHotkey.reg to access the advice into the registry. There’s additionally a abatement calligraphy included.
Note that this anthology drudge will alone assignment if you installed AutoHotkey into the absence location, contrarily you’ll accept to adapt the paths.
Download AdminAutoHotkey Anthology Hack

Share this post :
Share on Facebook
Share on Twitter
Share on StumbleUpon
Share on Delicious
Share on Reddit
Share on Digg
Share on simpy
Share on Technorati
furl Share on furl
Feeds RSS Subscribe to Feeds RSS

0 Response to "Add together "Run for Administrator" as AutoHotkey playscripts in Windows 7 or Vista"

Post a Comment