Post Reply 
WAIT, PRINT and timeout
07-18-2015, 12:44 PM (This post was last modified: 07-18-2015 12:48 PM by salvomic.)
Post: #5
RE: WAIT, PRINT and timeout
(07-18-2015 11:35 AM)Thomas_Sch Wrote:  ...
please try to use the parameter -1 for wait,
WAIT(-1);

Help says:
"If n = -1:
Execution paused until a key is pressed or there is a mouse event. "

EDIT:
sorry, this seems also be limited to 1 minute ...

(07-18-2015 12:32 PM)roadrunner Wrote:  Salvo,

This seems to do everything you need:

...
It waits for a screen tap or key hit then continues. The problem is that the screen dims after about 10 seconds. Do you know of a way to set that to a longer time?

Road

hi Road and Thomas,
if there is a standard timeout of 1min, I could try to use
WAIT(120); or WAIT(240);
to get 2min or 4min, for example...

But, what's the real difference between
WAIT(0), WAIT() and WAIT(-1),
if they timeout both after 1min?

In my case the ideal condition could be:
timeout 2-3 minutes if the user don't make anything, or next page if the user press Enter.
In my program (I don't know how correct it) if the user tap on the screen Terminal goes to the last page and not in those in the middle: idea?

Salvo

EDIT:
WAIT(120); isn't good: it waits 120 seconds without let use key or Enter...

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WAIT, PRINT and timeout - salvomic - 07-18-2015, 11:22 AM
RE: WAIT, PRINT and timeout - Thomas_Sch - 07-18-2015, 11:35 AM
RE: WAIT, PRINT and timeout - roadrunner - 07-18-2015, 12:32 PM
RE: WAIT, PRINT and timeout - roadrunner - 07-18-2015, 12:33 PM
RE: WAIT, PRINT and timeout - salvomic - 07-18-2015 12:44 PM
RE: WAIT, PRINT and timeout - roadrunner - 07-18-2015, 04:08 PM
RE: WAIT, PRINT and timeout - salvomic - 07-18-2015, 04:48 PM
RE: WAIT, PRINT and timeout - roadrunner - 07-19-2015, 12:09 PM
RE: WAIT, PRINT and timeout - salvomic - 07-19-2015, 03:35 PM
RE: WAIT, PRINT and timeout - StephenG1CMZ - 07-18-2015, 07:14 PM
RE: WAIT, PRINT and timeout - salvomic - 07-18-2015, 07:32 PM
RE: WAIT, PRINT and timeout - StephenG1CMZ - 07-18-2015, 09:10 PM
RE: WAIT, PRINT and timeout - roadrunner - 07-18-2015, 08:09 PM



User(s) browsing this thread: 1 Guest(s)