problems with input() function in IDE

Asked by Jean-Michel

I'm encountering a strange behaviour, using the input method under the IDE.

It always returns a "None" output, without showing any popup windows.
If I try to use the various parameters (like default, title, hidden) i will get an [error] TypeError ( input(): takes no keyword arguments ) or [error] TypeError ( input(): expected 1 args; got 2 ) depending if i type 'title="..." ' or not.

I'm under window 7, java 1.8.0_45 and IDE 1.1.1
So for now, i'm using the selfmade input() workaround I found in the #236481 .
I looked around and cannot really see what I'm doing wrong, but it looks like the input() method used in the IDE doesnt correspond to the ones described in the documentation...

Thanks for the work done, because appart from that, i really enjoy the experience I have with Sikulix.
Regards,

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

great thanks for finding - completely my bad
... and thanks for the kind feedback.

I added an input() method to Region for Android support, which now blocks the standard scripting input() function.

I just fixed the problem and will schedule a new nightly, which should be available after max 1 hour.
... then the doc-ed input() is back again ;-)

Revision history for this message
Jean-Michel (jmleader13) said :
#2

Thanks, solved the issue.

I was about to say something about it not working when trying to import another sikuli project in the IDE, but found out in the documentation that I forgot "from sikuli import *" at the beginning of my files.

Thanks again for the quick action
Regards,

Revision history for this message
Jean-Michel (jmleader13) said :
#3

Thanks RaiMan, that solved my question.