← Back to team overview

sikuli-driver team mailing list archive

[Question #288661]: How to access a file on directory

 

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

Hello,
I am new to Sikuli and python so pleas excuse me if these questions seems too basic.

1. I am trying to write Sikuli script where I can access a file stored on my C:\ drive then access a .exe file and run it. I know I can take pictures but that is creating too many pics, also some of the folders will always be changing so this method has limitations.
this is what I am trying to do
I have a folder Work160315 on my drive in folder Work: C:\Work\Work160315 this folder contains a few executable files and Including the install.exe and Test.exe. 
just clicking pics wont help because everytime there is a new release the folder names change according to the date eg: work160422 also there are multiple work folders
I want to write a script to first pick the right folder do an install and then run the test.exe

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.