sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42262
[Question #626555]: redirecting the output of input command to the type command - to output results on terminal console?
New question #626555 on Sikuli:
https://answers.launchpad.net/sikuli/+question/626555
Sikuli question:
I have configure a script to open up a terminal and at the console type root@myname:~# apt-fast check using the following command.
type("apt-fast check"+Key.ENTER)
I would like to have users input there own command argument such as install ,check,upgrade,remove.
For test purposes I have been just been using this command line to gather users input
commander = input("apt-get command:")
print commander
The print commander outputs the results to sikuli message console.
How can I incorporate the output of input command into a type command as a variable?
or print direct to the terminal console from within sikuli script?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.