PDA

View Full Version : Time delay



Rene
07-09-2002, 10:08 AM
I´m looking for a timed variable like "jump to next page after 5 seconds"
In the old version I did with an AVI video, but if we have an easy way to do it , is perfect.

Rene Baccarelli de Almeida
Sao Paulo - Brasil

Lorne
07-09-2002, 10:21 AM
Jumping after a delay is easy.

If you want to show a "Please wait..." message during the delay, use a "Dialog - Timed Message" action for the delay.

If you don't want any message to be shown, use an "Application - Sleep" action for the delay.

With "Dialog - Timed Message":

<IR_ACTIONS_LIST>
<Action name="Timed Message">
<Type>52</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<DialogMessage>Please wait...</DialogMessage>
<Seconds>5</Seconds>
</Action>
<Action name="Jump">
<Type>1</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<PageName>Page 2</PageName>
</Action>
</IR_ACTIONS_LIST>


With "Application - Sleep":

<IR_ACTIONS_LIST>
<Action name="Sleep">
<Type>51</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Seconds>5</Seconds>
</Action>
<Action name="Jump">
<Type>1</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<PageName>Page 2</PageName>
</Action>
</IR_ACTIONS_LIST>