Jump 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.

program active test

Featured Replies

Posted

Is there a way to directly test in an IF statement if another program is active/idle, other than setting/resetting another program as a variable to show the state?

 

* Orest

I think you can just right click the program and choose run if. I think that will do what you are asking

Is there a way to directly test in an IF statement if another program is active/idle,

 

I don't believe so, but it is possible that I misunderstand your question.

  • Author

From the Program Summary page, programs can be listed as Enabled (on/off), Activity (idle/running 'xxx') and Status (true/false)

 

In an IF statement you can test for the Status like so:

 

If
   Program 'DoSomething' is True
...

 

I don't see any way to directly test for the Activity of a program, IOW whether it is currently idle or running Then or Else, etc.

 

You could handle it with a separate Program "variable", but that is a bit clumsy.

 

That was what I was asking.

 

* Orest

A little less clumsy may be to put a "Run Program 'DoSomething' (Else Path)" as the very last statement of your THEN branch. That way, the Status of program 'DoSomething" will only be True if the THEN branch is running.

  • Author

Well, that is more or less using a program as a variable, but yes it is a little more elegant.

 

Like so ...

 

 

Program DoSomething

If 

Then
do stuff
do stuff
Run Program 'DoSomething' (else)

Else



 

Thanks!

 

* Orest

I could fine a use for such a feature.... maybe you would want to repost in the "Product Requests" or GUI Enhancements.

  • Author

Done.

 

* Orest

Guest
This topic is now closed to further replies.

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.