Re: [Sikuli-driver] [Question #265864]: How to tell if a variable is a string or a list, or etc in Sikuli?

2015-04-26 Thread eduardobedoya
Question #265864 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265864

eduardobedoya gave more information on the question:
Sorry,
I just don't get it
I have read this part...
isinstance(object, classinfo) I read the paragraphs that talk about Local n 
Global
but it doesn't provide examples

what parameters have to be put in 'object, classinfo' in here...
isinstance(object, classinfo)???

Sorry
isn't there any other tutorial site with examples?

That part off manual talks about tuples, clasess. I have read some about
those, but, for the moment I just use variables n lists, and I would
like to check its values when running sikuli, and tell when something is
a string, or an integer, or a list, in order to test.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #265776]: Is it possible to join a multiline string using python regex in Sikuli??

2015-04-26 Thread RaiMan
Question #265776 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265776

RaiMan posted a new comment:
I made a faq, that should explain some of your doubts:
faq 2711

If you are sure, that what you get from clipboard only contains ascii
characters, the this is the easiest approach:

Names = str(App.getClipboard());

then you could just forget about unicode in the following workflow.

If you have to be aware of unicode from the clipboard, then you simply
have to take care, that all variables are unicode afterwards.

Names = App.getClipboard();
# ... convert Names to a list
Names2 = [u'corazona', u'paflio']
NamesSelected = [i for i, v in enumerate(Names) if v not in Names2]

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #265864]: How to tell if a variable is a string or a list, or etc in Sikuli?

2015-04-26 Thread RaiMan
Question #265864 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265864

Status: Open = Answered

RaiMan proposed the following answer:
I made a faq, that should explain some of your doubts:
faq 2711

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #265864]: How to tell if a variable is a string or a list, or etc in Sikuli?

2015-04-26 Thread eduardobedoya
Question #265864 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265864

Status: Solved = Open

eduardobedoya is still having a problem:
Sorry,
I just don't get it
I have read this part
isinstance(object, classinfo) I read paragraph with Local n Global
but it doesn't provide examples

what parameters have to be put in object, classinfo in here...
isinstance(object, classinfo)???

Sorry
isn't there any other tutorial site with examples?

It is just that that part off manual talks about tuples, clasess
I have read some about those, for the moment I just use variables n lists, and 
I would like to check its values when running sikuli, and tell when something 
is a string, or an integer, or a list, in order to test.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #265916]: The bundled jython 2.7b4 cannot be used on Java 6

2015-04-26 Thread RaiMan
Question #265916 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265916

Status: Open = Answered

RaiMan proposed the following answer:
if you have used the latest nightly build of version 1.1.0:

you seem to have run the setup with Java 7 or 8.

now when you run the app, you seem to use Java 6.

Setup decides what Jython to bundle at setup time.

Take a look into the setup log: you should find the information on the
used Java version and the Jython that was bundled.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #265916]: The bundled jython 2.7b4 cannot be used on Java 6

2015-04-26 Thread chris j vargo
Question #265916 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265916

Status: Answered = Open

chris j vargo is still having a problem:
Yes, your right, setup ran with Java 8:
RunningJava: Java 8 (x86_64) 1.8.0_45-b14

How do I run the program as Java 8 in osx?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #221025]: X-1.0? How to import all Sikuli scripts from a folder

2015-04-26 Thread RaiMan
Question #221025 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/221025

RaiMan posted a new comment:
yes

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #221025]: X-1.0? How to import all Sikuli scripts from a folder

2015-04-26 Thread Jan W.
Question #221025 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/221025

Jan W. posted a new comment:
Sorry, not Python-like currently (as from sikuli import * works)

Hi RaiMan, will this still valid for Siluli X 1.1?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #265864]: How to tell if a variable is a string or a list, or etc in Sikuli?

2015-04-26 Thread eduardobedoya
Question #265864 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265864

eduardobedoya posted a new comment:
tahnks so much RaiMan!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #265864]: How to tell if a variable is a string or a list, or etc in Sikuli?

2015-04-26 Thread eduardobedoya
Question #265864 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265864

Status: Answered = Solved

eduardobedoya confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #265916]: The bundled jython 2.7b4 cannot be used on Java 6

2015-04-26 Thread RaiMan
Question #265916 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265916

RaiMan proposed the following answer:
... or you start the IDE using in Terminal:
java -jar /Applications/SikuliX.app/Contents/Java/sikulix.jar

after being sure about the Java version (see comment #3)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #265916]: The bundled jython 2.7b4 cannot be used on Java 6

2015-04-26 Thread RaiMan
Question #265916 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265916

Status: Open = Answered

RaiMan proposed the following answer:
As long as you have Java6 on your 10.10, the app will always start with
Java 6 (a problem, that will not be fixed).

So either you get rid of Apples Java 6 or you run setup with Java 6.

In a Terminal:
/usr/libexec/java_home -V

tells you what versions you have where

export JAVA_HOME=`/usr/libexec/java_home -v 1.x`

switches this command line to the respective version (x = 6, 7 or 8)

after that 
java -version
tells you what java is running in that session now

java -jar path-to/sikulixsetup-jar
runs setup with that Java version

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #265916]: The bundled jython 2.7b4 cannot be used on Java 6

2015-04-26 Thread chris j vargo
Question #265916 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265916

Status: Answered = Solved

chris j vargo confirmed that the question is solved:
Thanks for your help.

After running:
/usr/libexec/java_home -V

Java 6 was the only version showing up, very odd.

Then running:
java -version

Confirmed that Java 6 was the active session.

So, simply running:

java -jar /Applications/SikuliX.app/Contents/Java/sikulix.jar

Generated a good application that launches.

Thanks RaiMan. I've been using since 2009, will send a little donation
for your time.

Best,
Chris

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #264487]: Help with making some Sikuli image recognition?

2015-04-26 Thread Edward
Question #264487 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264487

Status: Answered = Solved

Edward confirmed that the question is solved:
I ended up getting pretty ill after I last spoke to you.
I just wanted to thank you for your assistance again.

I much enjoy Sikuli and appreciate the help and patience with such a
beginner!

I will continue to learn and stop by again if I get stuck as in it was
such a pleasure speaking with you.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp