← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #423503]: To run python file containing sikuli scripts by double clicking it

 

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

chaitu posted a new comment:
hi Raiman the sikuli code is now working fine from command prompt also.

Now i am able to run Sikuli python files from both command prompt and
eclipse ide. It is done.

My problem is when i double click that python file (Not from command
prompt and eclipse ide) it is not running .

sample code goes like this.


from time import sleep
for i in range(01,10):

    print "welcome to india"
    sleep(1)

import org.sikuli.script.SikulixForJython
from sikuli import *
from sikuli.Sikuli import *
import org.sikuli.script.ImagePath;
ImagePath.setBundlePath("D:\Sikuli_CMD");
s=Screen()
s.click("hema1.png")
 s.wait("hema2.png")
 s.type("skype for business"+Key.ENTER); 


it is running from command prompt and eclipse ide.. But i need to run this program just by double clicking on the python file..dats it . Is there any solution please suggest me ..

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