DELAY seems to be for holding down a Button. You’ll have to test if it affects extra clicks. You need IMM also.
An idea I replied to Mark… At end of process store Last Run Date and Time. Do not allow to run again for 2 seconds
IF KeyCode()=MouseLeft2 THEN CYCLE. ! Double click sends 2nd event
IF TODAY()=LastRunDate |
AND INRANGE (CLOCK()-LastRunTime,0,200) THEN CYCLE.
Do Process
LastRunDate=TODAY()
LastRunTime=CLOCK()
Will not prevent near 23:59.
Edit: I don’t think Date is really needed. There would just be a 2 second window of time it would not run in the future.
Edit: Rejecting a double click ( IF KeyCode()=MouseLeft2 THEN CYCLE.
) will stop most of this but not all, so I would keep the above time check.