← Back to team overview

sikuli-driver team mailing list archive

[Bug 1793408] Re: [1.1.4] Win: popFile only allows sikuli folders to be seleted

 

If you run this script in an undefined tab (not yet saved), you first
get the script-save dialog.

This might have irritated you ;-)

If you get over this dialog (either dismiss or handle), then you get
your intended file dialog.

** Changed in: sikuli
       Status: In Progress => Invalid

** Summary changed:

- [1.1.4] Win: popFile only allows sikuli folders to be seleted
+ [1.1.4] Win: popFile only allows sikuli folders to be seleted --- save script first or say ESC to script-save dialog

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

Title:
  [1.1.4] Win: popFile only allows sikuli folders to be seleted --- save
  script first or say ESC to script-save dialog

Status in Sikuli:
  Invalid

Bug description:
  When I write a Sikuli script to open a dialog to let me choose a
  folder location, the IDE will only allow me to choose a sikuli folder.

  This is my script:
  ------
  test = popFile("Choose a folder")

  print(test)
  ------

  
  REPRO:

  
  1.  Load Sikuli 1.1.4 (2018-09-19_07:17) onto a Win 10 64bit machine
  2.  Download the Jython-standalone-2.7.0.JAR and place it in the AppData/Roaming/Sikulix/Extensions folder
            (unsure if this is needed)
  3.  Open Sikuli and write a script as described above

  RESULT:

  Selecting a non-sikuli folder pops a message saying 'This is not a
  valid sikuli script'.

  EXPECTED:

  The user would be able to select any folder

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1793408/+subscriptions


References