sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36972
Re: [Question #284732]: Using curses module with sikuli
Question #284732 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/284732
Status: Answered => Open
Brad is still having a problem:
Sorry about the delay, I have been overseas.
I've tried your above suggestion without success - and I think it's because while the script is running there is no command input.
def clearscreen():
Cmd = App("Sikuli Command Prompt")
Cmd.focus()
wait(1)
type("cls"+Key.ENTER)
OriginalApp.focus()
wait(1)
Where OriginalApp is already defined as the window I'm generally working with.
It swaps focus, but as there is no prompt, the type("cls"+Key.ENTER) has no effect.
Is there a way to utilise the curses library (or anything similar) or
would I have to start programming through a different IDE?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.