sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33792
Re: [Question #269375]: Load Script
Question #269375 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269375
Status: Answered => Open
Jeff_Vallis is still having a problem:
I know that U are going to think I am Stupid but I can’t find the Beta Downoad
Found one but am certain that it is not the same as I used before because the Jar created many folders in my Empty Folder whereas the previous created no folders
Previous :-
Download Today :-
> On 19 Jul 2015, at 10:26:30, RaiMan <question269375@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Your question #269375 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/269375
>
> Status: Open => Answered
>
> RaiMan proposed the following answer:
> just tested on my OS X 10.10.4, Java 8, latest build: no problems
>
> # script1 (main script)
> #from sikuli import * # not needed in main script
> print "hello, I am script1"
> try:
> if we_are_in_rerun:
> print "using reload"
> reload(script2)
> except:
> we_are_in_rerun = True
> print "using import"
> import script2
>
> # script2
> from sikuli import *
> print "hello, I am script2"
>
> both scripts in same folder.
>
> -- 1st run after starting the IDE:
> hello, I am script1
> using import
> hello, I am script2
>
> -- repeating run in same IDE session
> hello, I am script1
> using reload
> hello, I am script2
>
> --- Where can I search for this file on a Mac
> the .py file is inside the .sikuli folder, which on Mac is bundle/package.
> Finder -> File context menu (right mouse button) -> Show package content
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/269375/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/269375
>
> You received this question notification because you asked the question.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.