← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #177654]: Stop a loop

 

Question #177654 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/177654

RaiMan proposed the following answer:
Uuups, you have to think the other way round:

The driving master is the script. This loops through the directory
structure and tells the app by clicking and typing, what to do.

In this case, it seems to be your intention to do something with every
file, in a directory structure, that passes a a filter.

As mentioned already: I do not have the scenario available, you are playing with. But since it seems, that the app has some address field, where you can put a filename to open and then manipulate some settings of this file, I give you an example with some image files in a directory structure and use Chrome as image viewer.
This should help you to get on the road  with your situation.

download the script and the image directory:
http://dl.dropbox.com/u/42895525/geeqie.zip

- unzip in a folder of your choice
- open viewer.sikuli in Sikuli-IDE
- have a look through and try to understand
- open Google Chrome and make it frontmost
- try to run the script

hope, this helps

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