Timed popups aren't working

Asked by Tom Hinds on 2018-07-13

In the timed popup docs, here: http://sikulix-2014.readthedocs.io/en/latest/interaction.html, the example code is:
  result = popup("autoclosed after 3 seconds", 3)

When I try that example code, I get:
  2nd arg can't be coerced to String
Is the popup command expecting the 2nd parameter to be the title?
If so, do I have to fill in ALL the possible parameters for this to work?
  (message, title, preset, hidden, timeout, location)

Thanks for your help,
- Tom

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2018-07-17
Last query:
2018-07-17
Last reply:
2018-07-13
Best RaiMan (raimund-hocke) said : #1

Example is one thing, the other thing is the detailed usage information in the lines before :-(
Which simply telss, that the example is wrong :-(

correct:
 result = Do.popup("autoclosed after 3 seconds", 3)

I will correct the docs.
Thanks for finding.

Tom Hinds (thinds66) said : #2

Thanks RaiMan, that solved my question.