Post by garry » 25 Mar 2018, 12:53
;- pequena modificação 'ahk_decompiler.ahk' :
Code: Select all
;- at begin
fd1=%a_desktop%\AHK_Decompiled ;- <<<<<<<<<<
ifnotexist,%fd1% ;- <<<<<<<<<<
filecreatedir,%fd1% ;- <<<<<<<<<<
;...
ExtractNow:
Gui,submit, nohide
SplitPath,ahkexe, name, ref, ext, name_no_ext, drive ;- <<<<<<<<<<
new=%fd1%\%name_no_ext%.ahk ;- <<<<<<<<<<
;.....
GuiCodeSet(scriptcode){
global
GuiControl,,ScriptSource, % scriptcode
Fileappend,%ScriptCode%,%new% ;- <<<<<<<<<<
}
;.....
;- pequena modificação 'ahk_decompiler.ahk' :
[code]
;- at begin
fd1=%a_desktop%\AHK_Decompiled ;- <<<<<<<<<<
ifnotexist,%fd1% ;- <<<<<<<<<<
filecreatedir,%fd1% ;- <<<<<<<<<<
;...
ExtractNow:
Gui,submit, nohide
SplitPath,ahkexe, name, ref, ext, name_no_ext, drive ;- <<<<<<<<<<
new=%fd1%\%name_no_ext%.ahk ;- <<<<<<<<<<
;.....
GuiCodeSet(scriptcode){
global
GuiControl,,ScriptSource, % scriptcode
Fileappend,%ScriptCode%,%new% ;- <<<<<<<<<<
}
;.....
[/code]