← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #184122]: select all from folder and open with application

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
This should do what you want, without touching any Sikuli feature:

import os
dir = "/Users/raimundhocke/Desktop/Test"
os.popen("cd %s; open -a Safari.app *.*"%dir)

This opens all files in the folder specified by dir (replace with the
absolute path to your folder) using Safari.

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