openApp Fails

Asked by Rocky

hi everyone ,

I have apparently complicated issue but yet a simple setup issue.

My main project has following structure .

ABC.sikuli |-------ABC.py (openApp ("notepad") works fine )
                      |-------ABC.html
                      |-------Modules|-------Module1.py (openApp ("notepad") does not work )
                                                 |-------Module2.py (openApp ("notepad") does not work )
                                                 |-------Module3.py (openApp ("notepad") does not work )

am i missing something in setting the project properly ?
can someone please point me to the correct way of achieving this project layout ?
All i want is to have sikuli function available to my modules are well . right now they are available in only ABC.py defined beneath ABC.sikuli .

[error] NameError ( global name 'openApp' is not defined )

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

--1. a .sikuli should NOT contain any content, that is not automatically generated by the IDE

--2. about module structures and import rules read:
http://sikulix-2014.readthedocs.org/en/latest/scripting.html#importing-other-sikuli-scripts-reuse-code-and-images

Can you help with this problem?

Provide an answer of your own, or ask Rocky for more information if necessary.

To post a message you must log in.