logo elektroda
logo elektroda
X
logo elektroda

Sequential Execution of Multiple Macros with Single Button: Code Guidance

zbysiomysio 6429 11
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16202567
    zbysiomysio
    Level 6  
    Hello
    I have several macros that are run with a button. However, I would like to be able to run all macros with one button. However, I want them not to run simultaneously, but, for example, to run Makro1, and after it Makro2, etc. What should the code look like. I tried to do something myself, but I was running all macros at the same time.
  • ADVERTISEMENT
  • #2 16202569
    Freddie Chopin
    MCUs specialist
    Try pressing Alt + F4. This is of course the left Alt.
  • ADVERTISEMENT
  • #3 16202665
    zbysiomysio
    Level 6  
    Freddie Chopin wrote:
    Try pressing Alt + F4. This is of course the left Alt.


    Thanks for the info, but my point is to enable these macros with a button that would run the next macros and that's why I need a procedure that will run these macros one by one
  • #4 16202724
    Freddie Chopin
    MCUs specialist
    Strange - for me pressing Alt + F4 several times works, sometimes it doesn't catch the first time. Did you check?
  • ADVERTISEMENT
  • #5 16202744
    Anonymous
    Anonymous  
  • #6 16202755
    Freddie Chopin
    MCUs specialist
    Well, we don't know if the author uses Windows, because he didn't write it ...
  • ADVERTISEMENT
  • #7 16202767
    zbysiomysio
    Level 6  
    I did not check, but I mean it would work on the button, because it will not be me who will use this file. So I need the user to press the button (button) to start macros one after the other.
  • #8 16202783
    michalko12
    MCUs specialist
    And what color do you have the button?
  • #9 16202796
    Anonymous
    Anonymous  
  • #10 16202817
    Freddie Chopin
    MCUs specialist
    Piotrus_999 wrote:
    Similarly for Linux: start the terminal and enter "sudo" before the command. The rest is the same.

    It doesn't work - it asks for a password. You don't know what to enter there? The macros were supposed to work on a button, not on a password ...

    Added after 1 [minutes]:

    michalko12 wrote:
    And what color do you have the button?

    Well, finally someone asked for specifics!
  • #11 16202836
    Anonymous
    Anonymous  
  • #12 16202849
    zbysiomysio
    Level 6  
    I have already managed with the call command

Topic summary

The discussion revolves around the need to execute multiple macros sequentially with a single button press, rather than simultaneously. The user seeks guidance on how to structure the code to achieve this functionality. Initial responses included unrelated suggestions and troubleshooting tips, but the user clarified the requirement for a button-triggered sequential execution of macros. Eventually, the user indicated success with a command that allows for the desired sequential execution.
Summary generated by the language model.
ADVERTISEMENT