oskrypuch Posted January 19, 2011 Posted January 19, 2011 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
reakhavok Posted January 20, 2011 Posted January 20, 2011 I think you can just right click the program and choose run if. I think that will do what you are asking
oberkc Posted January 20, 2011 Posted January 20, 2011 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.
oskrypuch Posted January 20, 2011 Author Posted January 20, 2011 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
Goose66 Posted January 20, 2011 Posted January 20, 2011 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.
oskrypuch Posted January 20, 2011 Author Posted January 20, 2011 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
art Posted January 21, 2011 Posted January 21, 2011 I could fine a use for such a feature.... maybe you would want to repost in the "Product Requests" or GUI Enhancements.
Recommended Posts