Re: [Sikuli-driver] [Question #245223]: How to pass command line arguments to script

2014-03-10 Thread obiwan-92
Question #245223 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245223 Status: Open = Answered obiwan-92 proposed the following answer: Hello, It will helpful to tell us what do you want to do. Anyway, I think you have some problem with your code, because len(sys.argv)

[Sikuli-driver] [Question #245223]: How to pass command line arguments to script

2014-03-09 Thread Bryan Rasmussen
New question #245223 on Sikuli: https://answers.launchpad.net/sikuli/+question/245223 I am on mac running sikuli IDE 1.0.1 I have a script with the following in it: from sys import * browsername = Firefox if len(sys.argv) 0: browsername = sys.argv[0] else: stack =