New question #179786 on Sikuli:
https://answers.launchpad.net/sikuli/+question/179786

Hi all, 
I want to know how pass arguments to a sikuli script from batch file, can help 
any sample would be highly appreciated

The example .bat:

Sikuli-IDE.bat -r "C:\Files\ScriptsWindows\Co-Branded_Uninstall.skl" -args 
"Fujitsu"

******************************************************************************
Script piece:

I used "brand" word as a variable.
How must I use  sys.argv here??? instead of brand word???


if brand== "Fujitsu" :
       msg= "Fujitsu\\InfinityApp"
if brand== "Knowhow" :
       msg= "KNOWHOW\\KNOWHOWAPPCENTRE"

openApp("C:\\Program Files\\"+msg +"\\run_uninstaller.exe")
********************************************************************************

Please help me!!!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to