← Back to team overview

sikuli-driver team mailing list archive

[Bug 701363] Re: [request] App.open should support command line options on Windows

 

As stated above: this is not possible yet! only path to a program or
part of the window title for open windows is possible.

look: http://sikuli.org/docx/globals.html#controlling-applications-and-
their-windows

how to start applications on Windows.

to get FF to open a web page tis is the easiest way:

App.focus("Firefox")
type('l', KEY_CTRL) # goes to address field and selects content
paste("http://localhost:8080/";)
type(Key.ENTER)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/701363

Title:
  [request] App.open should support command line options on Windows

Status in Sikuli:
  New

Bug description:
  Environement
  -----------------
  Windows 7
  Sikuli-X-1.0rc1-win32
  JAVA_HOME = C:\Program Files (x86)\Java\jre6

  
  Trying to do the following does not work, Firefox does not start up.

  App.open(r"firefox -profile C:\testing\FF\SikuliUser")

  Looking at the code (Win32Util.cc) it seems like there is some quoting
  issues when calling CreateProcess

  http://msdn.microsoft.com/en-us/library/ms682425(v=vs.85).aspx



References