sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #59494
Re: [Question #818719]: Ability to act on files in a folder one at a time
Question #818719 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/818719
Status: Open => Answered
Sean Bell proposed the following answer:
Hi Joe,
You probably want to look at using one of a couple other options to
launch your CAD application from your script instead of "type" or
"doubleClick".
If you already have your CAD application running, you can use
App.focus("CAD_PROGRAM_NAME") to bring it up.
Better, if your CAD application will open files as an argument you can use:
myCadApp = openApp("Path_to_CAD\PROGRAM.exe " + filename)
You can use the above approach in your for loop to open each file and
click the export buttons as needed.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.