September 19, 201312 yr Attached my little code snippet and alarm layout.. I have 2 buttons to accept or postpone this triggered alarm... I want to ring a bell sequence, to recur over & over.... until.... maybe as an option.... For waking up operator not near or at their desk.. possibly sleeping on the job! To perform the alarm action.. How might i do this... TIA rod
September 19, 201312 yr Isn't there a plugin for shocks to the user's chair?...I believe it's buried in the OnTimer documentation...
September 19, 201312 yr Author LOL... gooosh you guys.. you make me laugh. RodM sometimes!, ..well from some points of view, most the times is just spaced out somewhere.. still in his pajamas  Now i am ATTACHED.
September 20, 201312 yr Author HI,  I kludge a couple loops together... they work... inbetween 5 second pause i can select from the 2 button, and do either of the scripts.. but end up with a script still open?   message top?  to press cancel /// looking for a smoother more elegant way..  And how do you cancel a script by name  Thanks.. so much  RodM
September 20, 201312 yr Solution Rod - Now i am ATTACHED. … I find that in general, there definitely is something de-tached about you … I kludge a couple loops together […] If you want an infinite loop, just don't specify an exit condition (and make sure the script can be terminated by another mean). Try this; it should take care of the “Accept” part, but I wasn't sure what “Postpone” is supposed to do, and I obviously don't know how the process fits into the larger workflow. Either way, the narrative of the script should be easier to follow … RingMyBell_eos.fmp12.zip
September 20, 201312 yr Author Thanks , look at your code .. sort of what I have already.. yours in within one script Wondering.. If there a way to exit a infinite loop and close the script behind you? And for me inside the loop, I click button 1 or 2 to exit, run a different script My example... loop script is not closed I must click some FM button top 'Continue or Cancel' what is that? is there a command to do that ? Thanks again..
September 20, 201312 yr The Halt Script (script step), can run via a button on the layout (or be a visible script). It stops all scripts. (Which is why you may not want to use it real often in other scripts, as it will stop all that are running.)
Create an account or sign in to comment