← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #654025]: How to get click event value

 

Question #654025 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654025

    Status: Answered => Solved

Muthumanikandan confirmed that the question is solved:
My script:

newvalue = input("Enter Dock no :")
wait(1)
text_file = open("Output.sql", "w")
text_file.write("UPDATE terminal SET te_ar = '")
text_file.write(newvalue)
text_file.write("' WHERE te_ip = (SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') as ip_address FROM dual);")
text_file.write("\ncommit;")
text_file.close()


batch_file=open("Script.bat","w")
batch_file.write("set NetPath=%~dp0")
batch_file.write("\n@echo off")
batch_file.write("\nsqlplus -L GPCPRD/ZEROGPC@DB10:1521/ORCL.CORP.SIERRATEC.COM @%NetPath%/Output.sql")
batch_file.write("\nexit")
batch_file.close()

openApp("Script.bat")
wait(4)

i tried own with the idea of your comment #3, got worked .Problem solved
Thanks alot:)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.