Skip to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Looking for an elegant way to self-latch a program

Featured Replies

I'm trying to use a short event pulse to trigger a program and self-latch it so that the Then condition will keep running for several seconds (the Then events have a series of Wait statements that cause it to take this long). I assume the IF condition needs to remain true for this entire duration to allow all of the Then commands to run, so I'm looking for a simple and elegant way to have the IF remain true until all the Then events have completed.

I tried adding an "OR Program is True" to the IF and a "Stop program" as the last Then command, but I think the IF program condition remains true forever. I need the IF conditions to go false at the end so the program can be re-triggered in the future.

I'm sure I'm not the only one to come across this scenario, any ideas?

Use a variable and two programs. Like this:

If event trigger is True

Then Variable = 1

If Variable = 1

Then first thing

Wait x

Then second thing

Wait x

....

Then Variable = 0

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.