sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07024
Re: [Question #173785]: Sikuli interpreter shell within IDE, etc.?
Question #173785 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/173785
daluu posted a new comment:
An example of what I'm thinking of is something like the IDLE Python GUI
Windowed version of the interpreter shell but incorporated within the
Sikuli IDE as another view/tab.
And example of what one can do with it is like below what I've done for
Jython shell manually:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Scripts>cd c:\jython2.5.2
C:\jython2.5.2>cfgSikuli.bat
C:\jython2.5.2>set CLASSPATH=C:\jython2.5.2\sikuli-script.jar
C:\jython2.5.2>set JYTHONPATH=C:\jython2.5.2\Lib;c:\jython2.5.2\sikuli-script.ja
r\Lib
C:\jython2.5.2>bin\jython.bat
Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_27
Type "help", "copyright", "credits" or "license" for more information.
>>> from sikuli.Sikuli import *
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
>>> exists(r'C:\Scripts\bin\img\aiWelcome.png')
Match[396,542 658x127] score=0.92, target=center
>>> exists(r'C:\Scripts\bin\img\aiWelcome.png')
>>> exists(r'C:\Scripts\bin\img\aiWelcome.png',1)
>>> exists(r'C:\Scripts\bin\img\aiWelcome.png',1)
Match[396,542 658x127] score=0.92, target=center
>>>
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.