I'm not sure what happened. I've been using the latest AHK_L 32 bit English unicode without problems. All of a sudden today any script, including those that previously compiled and are unchanged, when compiled from SciTE4AHK or in Explorer using Compile With Options in the context menu, returns the error "Cannot extract script from EXE."
The only compiles that succeed are using the Convert_ahk_to_exe from the start menu. I can compile but I cannot put my version numbers in the exe. The only customization available is the .ico file. I tried copying from backup, restore points. Using ERUNT registry saves. Nothing will fix it.
I've never seen ahk this hosed on my system.
[Moderator's note: Moved topic from Issues to Support. ~Lexikos]
AHK_L Compile with options broken
Started by
MilesAhead
, May 18 2012 04:58 AM
3 replies to this topic
#1
Posted 18 May 2012 - 04:58 AM
#2
Posted 18 May 2012 - 05:34 AM
"Compile with options" isn't part of AutoHotkey or Ahk2Exe (the compiler that is distributed with it). It is part of a script called Compile_AHK II, which invokes Ahk2Exe and a bunch of other tools. I assume this script or one of its dependencies (but not Ahk2Exe) is the problem, since "Convert ahk to exe" (which is a shortcut to Ahk2Exe.exe) works for you. I believe SciTE4AutoHotkey also utilizes Compile_AHK II if it is present.
#3
Posted 18 May 2012 - 05:46 AM
Thanks for the info. I appreciate it.
#4
Posted 18 May 2012 - 05:57 AM
Installed it again. No joy. I substituted a program just to tell me the parameter being passed. It's the script. But "cannot extract script from EXE" makes me believe somehow an exe is being passed. Otherwise why would you try to extract the script from the exe? Either that or it's just a bogus error msg to drive me crazy.
Ok, reinstalled AHK standard package. Now seems to work. Downloaded AHK_L file and doc. Just have to compile something with objects to see I'm back in gear. Thanks for your help. I was losing some hair there and I have none to spare.
edit: Installed your install after their install yadda yadda. heh heh
Looks like I'm back on the air.
Ok, reinstalled AHK standard package. Now seems to work. Downloaded AHK_L file and doc. Just have to compile something with objects to see I'm back in gear. Thanks for your help. I was losing some hair there and I have none to spare.
edit: Installed your install after their install yadda yadda. heh heh
Looks like I'm back on the air.




