Setting the GUI window to a specific coordinates

Asked by xyz_User

Hi again RaiMan - Question I had is specifically on the tutorial document:

https://sikulix-2014.readthedocs.io/en/latest/interaction.html

Is it possible to move the GUI box placed on a certain x,y coordinate - Right now by default it opens up in center of the screen.

By the way because of Sikuli and your effort I've learned so much!

Specifically this:

-----------------------------------------------------------------------------------

Displays a dropdown menu containing the given options list items with the default selected. The user might select one item and click ok.

Example:

items = ("nothing selected", "item1", "item2", "item3")
selected = select("Please select an item from the list", options = items)
if selected == items[0]:
   popup("You did not select an item")
   exit(1)

------------------------------------------------------------------------------------

The other questions is in regards to running sikuli via batch file. Everything works fantastic and I'd like to know if there's any way to NOT have the black log box staying open.

I've disable the logs so it's great but would be nice not to have it open. Perhaps there's a way to bypass and compile the script in another method where just the GUI (above) is displayed?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

have a look at popat() at the beginning of the mentioned doc chapter.

Revision history for this message
xyz_User (userseven) said :
#3

Thanks RaiMan, that solved my question.