Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
ivan_will
Partner - Creator II
Partner - Creator II

set DELAY for MACROs / or delay for actions?!

Hi,

Do you know how to set delay for a macro execution :

For example: On one button I've attached two actions: 1. show a picture 2. open new sheet

So I wantwhen press the button to open the pic for 5 sec and then open the next sheet automatically.

thanks in advance!

1 Solution

Accepted Solutions
christian77
Partner - Specialist
Partner - Specialist

Hi Ivan:

This one waits for Idle

ActiveDocument.GetApplication.WaitForIdle

This one pauses in miliseconds

rem ** let QV sleep for 10 seconds **

ActiveDocument.GetApplication.Sleep 10000

OK.



View solution in original post

1 Reply
christian77
Partner - Specialist
Partner - Specialist

Hi Ivan:

This one waits for Idle

ActiveDocument.GetApplication.WaitForIdle

This one pauses in miliseconds

rem ** let QV sleep for 10 seconds **

ActiveDocument.GetApplication.Sleep 10000

OK.