Post by Steve on Mar 9, 2020 3:37:14 GMT
What has been added to the update?
New Features:
1. Chaining of math operations whilst declaring INTEGER variables
- 1 | RUN ACTION | DEFINE INTEGER VARIABLE | %INTEGER4%::+%INTEGER1%+%INTEGER2%
- 1 | RUN ACTION | DEFINE INTEGER VARIABLE | %INTEGER%::0::+%STRING%::+%RANDOM_1-50%::*5
2. RUN ACTION DEBUG addition of LOGGER
DEBUG LOGGER will send information directly to the MMM event log
See www.turnssoft.com/conditions.html#debug for information and examples
- 1 | RUN ACTION | DEBUG | logger::INFO::verbose::A verbose informational event
- 2 | RUN ACTION | DEBUG | logger::INFO::An informational event
- 3 | RUN ACTION | DEBUG | logger::WARNING::verbose::A verbose warning event
- 4 | RUN ACTION | DEBUG | logger::ERROR::A error event
3. RUN ACTION DEBUG addition of BACKGROUND COLOR and FOREGROUND COLOR
DEBUG BACKGROUND COLOR changes the back color of the macro window for the session
See www.turnssoft.com/conditions.html#debug for information and examples
See www.turnssoft.com/mmm_colors.html for color names
- 1 | RUN ACTION | DEBUG | BACKGROUND COLOR::Black
- 2 | RUN ACTION | WAIT SECONDS | 1
- 3 | RUN ACTION | DEBUG | FOREGROUND COLOR::LightSeaGreen
4. New condition object 'IDLE'
The IDLE condition evaluates the idle state of the host
See www.turnssoft.com/conditions.html#idle for information and examples
- 1 | IF | IDLE | 10::BREAK::NOKEYS | IS TRUE | MESSAGE PROMPT | IDLE detected (10 sec) (keys ignored)::idle::0
- 2 | IF | IDLE | 20::NOMOUSE | IS TRUE | MESSAGE PROMPT | IDLE Detected (20 sec) (mouse ignored)::idle::0
- 3 | IF | IDLE | %INTEGER% | IS FALSE | MESSAGE PROMPT | IDLE NOT Detected::idle::0
5. New ACTION 'RUN MACRO INLINE'
The RUN MACRO INLINE action runs a saved macro file inline before progressing the macro
See www.turnssoft.com/conditions.html#runmacroinline for information and examples
- 1 | RUN ACTION | RUN MACRO INLINE | D:\Macro\calculate.mmmacro
6. New internal variable %LASTLOG% and %LASTLOGEVENT%
LASTLOG captures the last log entry sent to the internal MMM event log
LASTLOGEVENT capture the last log event type sent to the internal MMM event log
Improvements:
1. The operator value for Integer, string, and decimal variables can be be extended to 99 within the 'Add Condition' dialog
2. Notification via the MMM Event Log when GOTO fails to find a line number/label
3. Fast manual variable assignment. The following syntax is now valid:
- 1 | RUN ACTION | INTEGER::12345678
- 2 | RUN ACTION | STRING1::CATCH%RANDOM%
- 3 | RUN ACTION | DECIMAL2::3.3
- 4 | RUN ACTION | BOOLEAN3::TRUE
Fixes:
1. Fixed an issue where the BOOLEAN object would not display within the object menu of the 'Add Condition' page
New Features:
1. Chaining of math operations whilst declaring INTEGER variables
- 1 | RUN ACTION | DEFINE INTEGER VARIABLE | %INTEGER4%::+%INTEGER1%+%INTEGER2%
- 1 | RUN ACTION | DEFINE INTEGER VARIABLE | %INTEGER%::0::+%STRING%::+%RANDOM_1-50%::*5
2. RUN ACTION DEBUG addition of LOGGER
DEBUG LOGGER will send information directly to the MMM event log
See www.turnssoft.com/conditions.html#debug for information and examples
- 1 | RUN ACTION | DEBUG | logger::INFO::verbose::A verbose informational event
- 2 | RUN ACTION | DEBUG | logger::INFO::An informational event
- 3 | RUN ACTION | DEBUG | logger::WARNING::verbose::A verbose warning event
- 4 | RUN ACTION | DEBUG | logger::ERROR::A error event
3. RUN ACTION DEBUG addition of BACKGROUND COLOR and FOREGROUND COLOR
DEBUG BACKGROUND COLOR changes the back color of the macro window for the session
See www.turnssoft.com/conditions.html#debug for information and examples
See www.turnssoft.com/mmm_colors.html for color names
- 1 | RUN ACTION | DEBUG | BACKGROUND COLOR::Black
- 2 | RUN ACTION | WAIT SECONDS | 1
- 3 | RUN ACTION | DEBUG | FOREGROUND COLOR::LightSeaGreen
4. New condition object 'IDLE'
The IDLE condition evaluates the idle state of the host
See www.turnssoft.com/conditions.html#idle for information and examples
- 1 | IF | IDLE | 10::BREAK::NOKEYS | IS TRUE | MESSAGE PROMPT | IDLE detected (10 sec) (keys ignored)::idle::0
- 2 | IF | IDLE | 20::NOMOUSE | IS TRUE | MESSAGE PROMPT | IDLE Detected (20 sec) (mouse ignored)::idle::0
- 3 | IF | IDLE | %INTEGER% | IS FALSE | MESSAGE PROMPT | IDLE NOT Detected::idle::0
5. New ACTION 'RUN MACRO INLINE'
The RUN MACRO INLINE action runs a saved macro file inline before progressing the macro
See www.turnssoft.com/conditions.html#runmacroinline for information and examples
- 1 | RUN ACTION | RUN MACRO INLINE | D:\Macro\calculate.mmmacro
6. New internal variable %LASTLOG% and %LASTLOGEVENT%
LASTLOG captures the last log entry sent to the internal MMM event log
LASTLOGEVENT capture the last log event type sent to the internal MMM event log
Improvements:
1. The operator value for Integer, string, and decimal variables can be be extended to 99 within the 'Add Condition' dialog
2. Notification via the MMM Event Log when GOTO fails to find a line number/label
3. Fast manual variable assignment. The following syntax is now valid:
- 1 | RUN ACTION | INTEGER::12345678
- 2 | RUN ACTION | STRING1::CATCH%RANDOM%
- 3 | RUN ACTION | DECIMAL2::3.3
- 4 | RUN ACTION | BOOLEAN3::TRUE
Fixes:
1. Fixed an issue where the BOOLEAN object would not display within the object menu of the 'Add Condition' page