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

    Status: Open => Answered

RaiMan proposed the following answer:
if a def() is defined with a positional parameter, it MUST be given when
called.

This is a variant using keyword arguments:

def teste1(event = None):
  if not event:
     popup("teste 1")

def teste2(event = None):
  if not event:
     popup("teste 2")

def teste3(event = None):
  if not event:
     popup("teste 3")

def all(event = None):
  if not event:
    teste1()
    teste2()
    teste3()

all()

-- 
You received this question notification because your team Sikuli Drivers
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