sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #43342
Re: [Question #654025]: How to get click event value
Question #654025 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654025
Status: Open => Answered
Manfred Hampl proposed the following answer:
See the documentation
http://sikulix-2014.readthedocs.io/en/latest/interaction.html#input for
getting a string from the popup window.
You probably need something like
newvalue = input("Please enter the new value:")
and then construct a SQL-statement that uses the value in variable
newvalue using string concatenation, something like
sqlstatement = "UPDATE tablename WHERE searchkey = keyvalue SET
columnname="+newvalue
(details depending on the syntax rules that have to be followed for your
update statement)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.