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

Hi,

I wrote the user defined function like(sikuli Scriptname: LoginGA) 

def GALogin():
        wait(5)
       type("1337001887222.png","Testing")

Above function i called into the main script before i added the following 
statements

myscriptpath1='D:\\Global\\GAGlobal\\LoginGA.sikuli'
sys.path.append(myscriptpath1)

import LoginGA

when i am trying to call method in the main scrip am getting the following error

LoginGA.GALogin()


Error :


[error] Error message: Traceback (most recent call last):
 File "C:\DOCUME~1\TKKRIS~1\LOCALS~1\Temp\sikuli-tmp2671754070300555184.py", 
line 42, in 
 LoginGA.GALogin()
 File "D:\Global\GAGlobal\LoginGA.sikuli\LoginGA.py", line 3, in GALogin
TypeError: type() takes 1 or 3 arguments

Could you please help how to resolve the issue



-- 
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