← Back to team overview

sikuli-driver team mailing list archive

[Question #196389]: Delay in execution time for each line

 

New question #196389 on Sikuli:
https://answers.launchpad.net/sikuli/+question/196389

Hi all,

currently i'm writing some code that looks like this:


    type(sampleDataPath+"/data.mnc"+Key.ENTER)
    wait(2)
    type(Key.ENTER)

My issue is that sikuli is executing the lines of code too fast and i dont want the code to be filled with waits ( either time based or image based )

is there any way to specify the "speed" at wich sikuli executes the lines of code? as it stands now, the sample code i put has to have the wait in the middle, the first command selects the file in a dialog box, then after a couple of seconds i can pres enter to actually open the file, but without the delay the enter key is setn before there is anything to handle it. so it does not get executed...

Thanks in advance

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.