← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #403722]: How to save newly generated Profile ID and use it in further script.

 

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

masuo proposed the following answer:
[sample to use argument of function:]

def script1():
    id = "SL12100"
    return id

def script2(id):
    print id

newid = script1()
script2(newid)

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