Two `def` functions, doesn't work, only bottom one works, why
Hi,
I have two def function is the sikuli editor and both works but only works when there is only one function, i.e. if there are two function definitions, one after the other (as shown in the linked screenshot) then the bottom one works, the top one doesn't work.
If I remove the bottom one, then the top one works and so both are syntactically both are correct. Why is this, help me
See this screenshot:
https:/
------CODE - BEGIN (DOESN'T WORK)--------------
def SetfocusDevTool
wait(.35)
click(
Env.addHotkey("g", KeyModifier.
#Another hotkey begin;
def SetfocusDevTool
wait(.35)
click(
Env.addHotkey(
------CODE - END (DOESN'T WORK)- -------------
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: