Hello guys. I've been using Ahk for a decade and never had problem like this.
If I try to compile Ahk script in Scite I see message: Successfully compiled: , but there's no exe file. I tried compiling the script directly via Ahk2Exe gui, and from cmd and the same thing.
The only way is to run Ahk2Exe as administrator.
I'm on Windows 10 LTCS x64, and I installed the latest Ahk.
UAC is disabled completely, Defender is disabled and I have no Antivirus.
Ahk2Exe works only if it is run as an administrator
Re: Ahk2Exe works only if it is run as an administrator
Check if you have write access in the output folder.
You can also change the output folder (e.g to Desktop)
Did it work before?
(I mean with the latest AHK version)
Regards
You can also change the output folder (e.g to Desktop)
Did it work before?
(I mean with the latest AHK version)
Regards
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09
Re: Ahk2Exe works only if it is run as an administrator
I checked permissions, no issue. I tried to downgrade Ahk, but still the same problem.
Re: Ahk2Exe works only if it is run as an administrator
So we both are speaking about this?
How are your settings?
If you let your output folder opened (while clicking on convert), does anything get changed (at least for some milliseconds)?
Regards
How are your settings?
If you let your output folder opened (while clicking on convert), does anything get changed (at least for some milliseconds)?
Regards
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09
Re: Ahk2Exe works only if it is run as an administrator
Nope, nothing happens, I've just tried. It says Conversion complete, but no exe file. The same thing if I use Ahk2Exe from cmd.
Really strange.
Really strange.
Re: Ahk2Exe works only if it is run as an administrator
try turning uac to the second-from-highest
EitherMouse - Multiple mice, individual settings . . . . www.EitherMouse.com . . . . forum . . . .
Re: Ahk2Exe works only if it is run as an administrator
Just tried, nothing.
Re: Ahk2Exe works only if it is run as an administrator
hmm, how about run (don't compile) a simple script like:
Code: Select all
SetWorkingDir %A_ScriptDir%
FileAppend, text, fakeexe.exe
ExitApp
EitherMouse - Multiple mice, individual settings . . . . www.EitherMouse.com . . . . forum . . . .
Re: Ahk2Exe works only if it is run as an administrator
Sorry for the late reply. This works fine, fakeexe.exe is created. I think the problem is Windows, I will reinstall it when I have time
Who is online
Users browsing this forum: No registered users and 332 guests