How to add auto timer to custom macro ?

Product Compare Forums Multi-Edit Support How to add auto timer to custom macro ?

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21149
    CharlesG
    Participant

    I am not sure how to add an auto-timer to a routine so that at every x seconds – it make_message() something. I have it now so it make_message at every change in line number. Any help appreciated….

    #21191
    Clay Martin
    Keymaster

    Sorry just saw this.

    In the CMAC language reference search for “Timer event function list”. They are not the most convenient tools, but you may be able to use a function that uses set_timer_event to call itself, then check aglobal variable to see if enough time has passed, and either set_timer again or exit.

    HTH,
    Clay

    #21297
    CharlesG
    Participant

    Might something along these lines be a good sample routine for the monthly newsletter?

    #21312
    Clay Martin
    Keymaster

    Maybe. Would need a reason for using a timer.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.