diff --git a/Documentation/About.md b/Documentation/About.md index f679d80a..5a24fbe2 100644 --- a/Documentation/About.md +++ b/Documentation/About.md @@ -7,9 +7,9 @@ Author: Pulover \[Rodolfo U. Batista\] Copyright © 2012-2016 Rodolfo U. Batista -Version: 5.0.4 -Release Date: July, 2016 -AutoHotkey Version: 1.1.24.00 +Version: 5.0.5 +Release Date: August, 2016 +AutoHotkey Version: 1.1.24.01 Software License: [GNU General Public License](License.html) @@ -35,6 +35,10 @@ Thiago Talma for some improvements to the code, debugging and many suggestions. # Change Log +## Version 5.0.5 + +* Fixed bug in expressions when assigning a variable to a ternary operation. + ## Version 5.0.4 * Fixed wrong options set for *Message Box* when editing the command. diff --git a/Documentation/Faq.md b/Documentation/Faq.md index 6273adf0..fe175d4c 100644 --- a/Documentation/Faq.md +++ b/Documentation/Faq.md @@ -14,6 +14,7 @@ * [Can I run a Macro in a background window?](#can-i-run-a-macro-in-a-background-window) * [Can I schedule a Macro to run when I want?](#can-i-schedule-a-macro-to-run-when-i-want) * [How do I increment/add a value in a variable on every loop iteration?](#how-do-i-increment/add-a-value-in-a-variable-on-every-loop-iteration) +* [How can I make an exported script auto-execute without a hotkey?](#how-can-i-make-an-exported-script-auto-execute-without-a-hotkey) * [Is Macro Creator Portable?](#is-macro-creator-portable) * [Which command line parameters are supported?](#which-command-line-parameters-are-supported) * [Can I execute an action every time a certain event occurs?](#can-i-execute-an-action-every-time-a-certain-event-occurs) @@ -113,6 +114,10 @@ The code below is a PMC file (you can copy and save it using any text editor). A_Index is only valid inside a Loop, but in PMC all macros are considered loops since you can set the number of repetitions for the whole macro. +### How can I make an exported script auto-execute without a hotkey? + +To make the first macro auto-execute when running an exported script, remove the hotkey associated with it in the [Export Window](Export.html) "Macros" section. + ### Is Macro Creator Portable? All settings are saved to *MacroCreator.ini* and User Global Variables are saved to *UserGlobalVars.ini*, both files are located inside *AppData\MacroCreator* by default. To make **Macro Creator** portable you can copy those files to the same directory of *MacroCreator.exe* and it will use its own folder instead of AppData. diff --git a/Documentation/MacroCreator_Help.ahk b/Documentation/MacroCreator_Help.ahk index 12738d16..f23a471d 100644 --- a/Documentation/MacroCreator_Help.ahk +++ b/Documentation/MacroCreator_Help.ahk @@ -1,7 +1,7 @@ /*! Library: Pulover's Macro Creator - # Version: 5.0.4 + # Version: 5.0.5 [www.macrocreator.com](http://www.macrocreator.com) [Forum Thread](http://autohotkey.com/boards/viewtopic.php?f=6&t=143) diff --git a/LIB/Eval.ahk b/LIB/Eval.ahk index f7efa2c9..ee05ccdd 100644 --- a/LIB/Eval.ahk +++ b/LIB/Eval.ahk @@ -54,7 +54,7 @@ Eval($x, _CustomVars := "", _Init := true) For $i, $v in $z { ; Check for Ternary expression and evaluate - If (RegExMatch($z[$i], "([^\?:]+?)\?([^\?:]+?):(.*)", _Match)) + If (RegExMatch($z[$i], "([^\?:=]+?)\?([^\?:]+?):(.*)", _Match)) { Loop, 3 { diff --git a/MacroCreator.ahk b/MacroCreator.ahk index 4d9c9029..e7ffbf02 100644 --- a/MacroCreator.ahk +++ b/MacroCreator.ahk @@ -5,9 +5,9 @@ ; Author: Pulover [Rodolfo U. Batista] ; Home: http://www.macrocreator.com ; Forum: http://autohotkey.com/boards/viewtopic.php?f=6&t=143 -; Version: 5.0.4 -; Release Date: July, 2016 -; AutoHotkey Version: 1.1.24.00 +; Version: 5.0.5 +; Release Date: August, 2016 +; AutoHotkey Version: 1.1.24.01 ; Copyright © 2012-2016 Rodolfo U. Batista ; GNU General Public License 3.0 or higher ; @@ -66,7 +66,7 @@ http://www.macrocreator.com/project/ ; Compiler Settings ;@Ahk2Exe-SetName Pulover's Macro Creator ;@Ahk2Exe-SetDescription Pulover's Macro Creator -;@Ahk2Exe-SetVersion 5.0.4 +;@Ahk2Exe-SetVersion 5.0.5 ;@Ahk2Exe-SetCopyright Copyright © 2012-2016 Rodolfo U. Batista ;@Ahk2Exe-SetOrigFilename MacroCreator.exe @@ -128,7 +128,7 @@ Loop } -CurrentVersion := "5.0.4", ReleaseDate := "July, 2016" +CurrentVersion := "5.0.5", ReleaseDate := "August, 2016" ;##### Ini File Read ##### diff --git a/README.md b/README.md index 4b00d13b..2f257bd7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Pulover's Macro Creator is a Free Automation Tool and Script Generator based on [www.macrocreator.com](http://www.macrocreator.com) -**Current Version:** 5.0.4 +**Current Version:** 5.0.5 ### Supported platforms