sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29391
[Question #258179]: trying to call a script inside another script
New question #258179 on Sikuli:
https://answers.launchpad.net/sikuli/+question/258179
I am new to Sikuli and just learning the basics.
Im trying to call a script inside a script but i cant figure out what i need to do
the error is
[error] script [ call2 ] stopped with error in line 2
[error] NameError ( !!WHILE IMPORTING!! name 'doubleClick' is not defined )
the scripts are in the same folder:
also if i remove the double click and type
the a will print in the second script.
how do i define the doubleClick
script 1
a = "abc"
def hey():
print(a)
doubleClick(imge1.png)
type(image2.png, "test Text")
script 2
import call1
reload (call1)
from call1 import *
call1.hey()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.