简体   繁体   中英

How can i run sikuli 1.1.0 from command line as administrator?

I understand that when you right click on runsikuliX.cmd and select "Run as administrator", will enable you Sikuli scripts to run smoothly. Please advise on how can I can implement this via command line. I tried executing the following command but still click and find actions were not triggered:

runas /env /user:<localhost>\Administrator runsikuliX.cmd -r sikuli script

I'm using Windows 8 64 bit, java 1.7.0_45.

For AutoIT we use command "start"

start /env /user:\\Administrator runsikuliX.cmd -r sikuli script

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM