Skip to content

Mode_presses condition is not recognized in macros #1263

Open
@AlexSin4

Description

@AlexSin4

H11 with 02.32.70 firmware

I used a simple script: if mode button is pressed print mode_presses (y) variable value and exit script, else repeat all.

  1. run script without macro to verify it works >y!1N+"y=$y"+!X!R - it works as intended
  2. put script in macro ABCD and use recursion *ABCD=">y1!1N+'y=$y'+!X^ABCD". Then run ^ABCD - it works as intended. As recursion is not highly recommended go to step 3
  3. put script in macro ABCD and use !R command for looping *ABCD=">y1!1N+'y=$y'+!X!R". Then run ^ABCD - and it does not work: I see Labs Processing on top, I press mode button, the camera changes modes, Labs Processing is still on top, the value of the 'y' variable is not printed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions