Getting portable AHK to run

Get help with using AutoHotkey and its commands and hotkeys
Posts: 11
Joined: 18 Dec 2015, 02:58

Getting portable AHK to run

07 Feb 2018, 07:28

Hey guys,

I'd like to "install" portable AHK on my PC at work. The reason is that I've got no administrative rights on this machine. I've done this before but now I can't seem to get it to work. So far, I've downloaded and extracted it to C:\Users\<username>\Programs\AutoHotkey. Now, I'm not sure whether I need to run Installer.ahk located inside the directory. If I do that, it asks me for admin rights. Is it necessary to run that?

Thanks guys!

User avatar
Delta Pythagorean
Posts: 549
Joined: 13 Feb 2017, 13:44
GitHub: DelPyth
Location: Somewhere in the US

Re: Getting portable AHK to run

07 Feb 2018, 07:49

If you've extracted all of the contents, there's no reason to run Install.ahk.
Just run a .ahk script with the corresponding .exe for AHK and you're good to go.

When you run Install.ahk, it asks for admin rights. You can allow to use admin rights, but it is not needed for some things. You can actually just run with the lowest permissions possible on a computer.

- [AHK].......: Unicode 64-bit
- [OS].........: Windows 10.0.18362
- [GITHUB]...:
- [PAYPAL]....:
- [DISCORD]..: Delta#3324

Remember to use [code]CODE[/code] for your multi-line scripts.
Stay safe, stay inside, and remember to wash your hands for 20 seconds!
Posts: 11
Joined: 18 Dec 2015, 02:58

Re: Getting portable AHK to run

07 Feb 2018, 09:47

Thanks for your reply, DP. I got a little confused when I saw the Install.ahk and probably felt the urge to run it, forgetting that it's not necessary. Thanks mate!
Posts: 6742
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Getting portable AHK to run

09 Feb 2018, 06:44

The installer registers .ahk files with AutoHotkey.exe, writes to the all-users Start menu and some other things. It is not designed to operate with limited privileges and has not even been tested under those conditions (it may simply fail to do anything useful, or it may throw error messages). It is included in the zip for reference, and in case someone has an issue with the 7-zip self-extracting setup file (the main download).

It may be possible for the installer to provide almost the same functionality by writing to the current user's portion of the registry and Start menu, but I haven't personally needed it (or been interested enough).

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, Bing [Bot], cadudesun, Hackerxd, loek6000, mongtas, swagfag, wowee and 219 guests