Skip to content

Commit 12e0dca

Browse files
committed
* Small bug fixes.
1 parent caf5580 commit 12e0dca

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

Documentation/About.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,17 @@ tmplinshi for the [CreateFormData function](https://www.autohotkey.com/boards/vi
3232
iseahound (Edison Hua) for the [Vis2 function](https://www.autohotkey.com/boards/viewtopic.php?f=6&t=36047) used for OCR.
3333
Coco for [JSON class](https://www.autohotkey.com/boards/viewtopic.php?f=6&t=627).
3434
Thiago Talma for some improvements to the code, debugging and many suggestions.
35-
chosen1ft for fixing the mixing rows bug when saving a project.
35+
chosen1ft for suggestions and testing.
3636
[Translation revisions](https://www.macrocreator.com/project/).
3737

3838

3939
# Change Log
4040

4141
## Version 5.3.6
4242
* Fixed bug with multiple compare operators.
43+
* Fixed issue with variables and strings in expressions.
4344
* Fixed other groups expanding when inserting new group.
45+
* Small bug fixes.
4446

4547
## Version 5.3.5
4648
* Updated max value for *Pause (Sleep)* command.

LIB/Eval.ahk

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Eval($x, _CustomVars := "", _Init := true)
312312
Else If (!RegExMatch(_String1, "^<~#.*#~>$"))
313313
__Elements["&_String" A_Index "_&"] := _String1
314314
, $z[$i] := RegExReplace($z[$i], "sU)"".*""", "&_String" A_Index "_&",, 1)
315-
_Pos += StrLen(_String1)
315+
_Pos++
316316
}
317317
$z[$i] := RegExReplace($z[$i], "&_String\d+_&", """$0""")
318318

LIB/Internal.ahk

+1
Original file line numberDiff line numberDiff line change
@@ -1465,6 +1465,7 @@ SaveProject(FileName)
14651465
local All_Data
14661466

14671467
All_Data := "[PMC Globals]|" IfDirectContext "|" IfDirectWindow "|" ExpIcon "`n"
1468+
Sleep, 100
14681469
Loop, %TabCount%
14691470
{
14701471
PMCSet := "[PMC Code v" CurrentVersion "]|" o_AutoKey[A_Index]

MacroCreator.ahk

+6-6
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ https://www.autohotkey.com/boards/viewtopic.php?f=6&t=627
6868
6969
Thiago Talma for some improvements to the code, debugging and many suggestions.
7070
71-
chosen1ft for fixing the mixing rows bug when saving a project.
71+
chosen1ft for suggestions and testing.
7272
7373
Translation revisions:
7474
https://www.macrocreator.com/project/
@@ -4268,7 +4268,7 @@ tmplinshi for the CreateFormData function.
42684268
iseahound (Edison Hua) for the Vis2 function used for OCR.
42694269
Coco for JSON class.
42704270
Thiago Talma for some improvements to the code, debugging and many suggestions.
4271-
chosen1ft for fixing the mixing rows bug when saving a project.
4271+
chosen1ft for suggestions and testing.
42724272
)
42734273
Gui, 34:Add, Link, y+10 W340 r1, <a href="https://www.macrocreator.com/project/">Translation revisions.</a>
42744274
Gui, 34:Add, Groupbox, Section xm+58 W360 H130 Center, GNU General Public License
@@ -12258,11 +12258,11 @@ Try Menu, CopyTo, Uncheck, % CopyMenuLabels[A_List]
1225812258
Gui, chMacro:Default
1225912259
Gui, chMacro:Submit, NoHide
1226012260
Gui, chMacro:ListView, InputList%A_List%
12261+
GoSub, PrevRefresh
1226112262
GoSub, chMacroGuiSize
1226212263
GoSub, LoadData
1226312264
GoSub, RowCheck
1226412265
GuiControl, 28:, OSHK, %A_List%
12265-
GoSub, PrevRefresh
1226612266
Try Menu, CopyTo, Check, % CopyMenuLabels[A_List]
1226712267
GuiControl, chMacro:Focus, InputList%A_List%
1226812268
If (InStr(CopyMenuLabels[A_List], "()"))
@@ -12946,7 +12946,7 @@ LV_ModifyCol(3, 100) ; Manual
1294612946
LV_ModifyCol(4, 60) ; Loop
1294712947
LV_ModifyCol(5, 200) ; Context
1294812948
LV_ModifyCol(6, 45) ; Index
12949-
Gui, 32:Show,, %t_Lang145%
12949+
Gui, 32:Show, W690 H500, %t_Lang145%
1295012950

1295112951
If (A_ThisLabel = "EditSelectedMacro")
1295212952
Goto, MacroListEdit
@@ -12968,7 +12968,7 @@ GuiControl, 32:Disable, EditMacrosCancel
1296812968
Critical
1296912969
Gui, 32:Submit, NoHide
1297012970
Project := [], Labels := "", ActiveList := A_List
12971-
Sleep, 100
12971+
Sleep, 10
1297212972
Gui, 32:Default
1297312973
Loop, %TabCount%
1297412974
{
@@ -12990,7 +12990,7 @@ Loop, %TabCount%
1299012990
Project.Push(LVData := LVManager[IndexN].GetData())
1299112991
If (IndexN = ActiveList)
1299212992
NewActive := A_Index
12993-
Sleep, 100
12993+
Sleep, 10
1299412994
}
1299512995
ActiveList := NewActive
1299612996
Gui, chMacro:Default

0 commit comments

Comments
 (0)