|
5 | 5 | ; Author: Pulover [Rodolfo U. Batista]
|
6 | 6 | ; Home: https://www.macrocreator.com
|
7 | 7 | ; Forum Board: https://www.autohotkey.com/boards/viewforum.php?f=63
|
8 |
| -; Version: 5.2.3 |
| 8 | +; Version: 5.2.6 |
9 | 9 | ; Release Date: September, 2020
|
10 | 10 | ; AutoHotkey Version: 1.1.32.00
|
11 | 11 | ; Copyright © 2012-2020 Rodolfo U. Batista
|
@@ -74,7 +74,7 @@ https://www.macrocreator.com/project/
|
74 | 74 | ; Compiler Settings
|
75 | 75 | ;@Ahk2Exe-SetName Pulover's Macro Creator
|
76 | 76 | ;@Ahk2Exe-SetDescription Pulover's Macro Creator
|
77 |
| -;@Ahk2Exe-SetVersion 5.2.3 |
| 77 | +;@Ahk2Exe-SetVersion 5.2.6 |
78 | 78 | ;@Ahk2Exe-SetCopyright Copyright © 2012-2020 Rodolfo U. Batista
|
79 | 79 | ;@Ahk2Exe-SetOrigFilename MacroCreator.exe
|
80 | 80 |
|
|
142 | 142 | }
|
143 | 143 |
|
144 | 144 |
|
145 |
| -CurrentVersion := "5.2.3", ReleaseDate := "September, 2020" |
| 145 | +CurrentVersion := "5.2.6", ReleaseDate := "September, 2020" |
146 | 146 |
|
147 | 147 | ;##### Ini File Read #####
|
148 | 148 |
|
@@ -329,6 +329,7 @@ For _each, _Section in UserVars
|
329 | 329 | Try SavedVars(_key)
|
330 | 330 |
|
331 | 331 | UserMailAccounts := new ObjIni(UserAccountsPath)
|
| 332 | +IfDirectContext := "None" |
332 | 333 |
|
333 | 334 | If (DefaultEditor = "ERROR")
|
334 | 335 | {
|
@@ -2968,10 +2969,14 @@ If (IncPmc)
|
2968 | 2969 | If (Exe_Exp)
|
2969 | 2970 | {
|
2970 | 2971 | SplitPath, A_AhkPath,, AhkDir
|
| 2972 | + Compress := "" |
| 2973 | + |
2971 | 2974 | If (FileExist(AhkDir "\Compiler\mpress.exe"))
|
2972 |
| - RunWait, "%AhkDir%\Compiler\Ahk2Exe.exe" /in "%SelectedFileName%" /bin "%AhkDir%\Compiler\Unicode 32-bit.bin" /compress 1,, UseErrorLevel |
| 2975 | + Compress := RegExReplace(A_AhkVersion, "\D") > 113200 ? "/compress 1" : "/mpress 1" |
| 2976 | + Else If (FileExist(AhkDir "\Compiler\upx.exe")) |
| 2977 | + Compress := RegExReplace(A_AhkVersion, "\D") > 113200 ? "/compress 2" : "" |
2973 | 2978 | Else
|
2974 |
| - RunWait, "%AhkDir%\Compiler\Ahk2Exe.exe" /in "%SelectedFileName%" /bin "%AhkDir%\Compiler\Unicode 32-bit.bin",, UseErrorLevel |
| 2979 | + RunWait, "%AhkDir%\Compiler\Ahk2Exe.exe" /in "%SelectedFileName%" /bin "%AhkDir%\Compiler\Unicode 32-bit.bin" %Compress%,, UseErrorLevel |
2975 | 2980 | }
|
2976 | 2981 | PmcCode := ""
|
2977 | 2982 | MsgBox, 64, %d_Lang014%, % d_Lang015 . (HasEmailFunc.GetCapacity() ? "`n`n`n>>>>>>>>>>[" RegExReplace(d_Lang011, "(*UCP).*", "$u0") "]<<<<<<<<<<`n`n" d_Lang114 : "")
|
@@ -13499,6 +13504,7 @@ Gui, 1:-Disabled
|
13499 | 13504 | Gui, 16:Destroy
|
13500 | 13505 | Gui, chMacro:Default
|
13501 | 13506 | GuiControl, 1:, ContextTip, Global <a>#If</a>: %IfDirectContext%
|
| 13507 | +SavePrompt(true, A_ThisLabel) |
13502 | 13508 | return
|
13503 | 13509 |
|
13504 | 13510 | SWinCancel:
|
@@ -14191,7 +14197,7 @@ If (CheckDuplicateLabels())
|
14191 | 14197 | }
|
14192 | 14198 | Loop, %TabCount%
|
14193 | 14199 | {
|
14194 |
| - If (("hotkey:" o_AutoKey[A_Index]) == ("hotkey:" A_ThisHotkey)) |
| 14200 | + If ("" o_AutoKey[A_Index] "" = "" A_ThisHotkey "") |
14195 | 14201 | {
|
14196 | 14202 | aHK_On := [A_Index]
|
14197 | 14203 | break
|
|
0 commit comments