i'm interested and i think i'm not alone. Thank you so much for your (goes to all) work.

Good to know. And you're welcome.
I'm not following that branch, didn't know. Generally I hate Github with a passion, find it completely unusable according to my own style of working, and extremely aggressive regarding logging in when cookies are always cleared in browser (keeps sending e-mails asking for that stupid verification code).
Yeah, maybe it needs some tweaking. It worked fine in Wine but in a virtual Win10 there was a blank entry at the top of the list. Noticed it too late and never got to work on the GUI afterwards (life keeps throwing lemons at me and I'm out of vodka).
Yes, in my version I had added a timer so that when user dropped the desired packer exe in the right place, the "missing" warning as well as the hint as to where to put it were immediately (in 1.5 sec) cleared, as a feedback that the user did the right thing. The official version (I know of) requires another manual cycling through packers in order to check whether the operation was succesful or not.
For what it's worth, I agree with Drugwash about this.My reasoning for completing the GUI is that new users may find the Directives sometime later, and some older scripts may take some time before being modified to incorporare the Directives, so in the mean time the GUI should be as complete as possible for a quick operation.
Code: Select all
---------------------------
Ahk2Exe Warning
---------------------------
Warning: AutoHotkey.exe could not be located!
Auto-includes from Function Libraries, and 'Obey' directives will not be processed.
Code: Select all
|--\somewhere
|--Autohotkey.exe <--- Main AutoHotkey executable
|--\project
|--\bin
|--Ahk2Exe.exe
|--AutoHotkey.exe <--- This should be used with Ahk2Exe.exe
|--AutoHotkeySC.bin <--- This should be used with Ahk2Exe.exe
|--\src
|--MyScript.ahk <--- This should be compiled via Ahk2Exe
|--MyScript.ico <--- This should be used with Ahk2Exe.exe
|--\lib
|--lib1.ahk <--- This is referenced from MyScript.ahk via #Include
|--libn.ahk <--- This is referenced from MyScript.ahk via #Include
Code: Select all
C:\project\bin\Ahk2Exe.exe /bin C:\project\bin\AutoHotkeySC.bin /in c:\project\src\MyScript.ahk /out MyScript.exe /icon c:\project\src\MyScript.ico
Code: Select all
global AhkPath:=A_IsCompiled ? A_ScriptDir "\..\AutoHotkey.exe" : A_AhkPath
AhkPath := FileExist(AhkPath) ? AhkPath : A_AhkPath
IfNotExist, %AhkPath%
{
Util_Error("Warning: AutoHotkey.exe could not be located!`n`nAuto-include"
. "s from Function Libraries, and 'Obey' directives will not be processed.",0)
break ; Don't bother with auto-includes because the file does not exist
}
Return to “Scripts and Functions”
Users browsing this forum: Bing [Bot], Jinpachi and 83 guests