Question #264960 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264960

eduardobedoya gave more information on the question:
THanks Raiman,
This is my script

count = 0
try:
    matches = list(findAll("1428702277851.png"))
    count = len(matches)
except FindFailed:
    pass #nothing to do
print "found:", count

I would like to put "count" (the variable number) into clipboard, is
this possible???? I've tried:

App.setClipboard("count") it shows literally count as text
App.setClipboard(count) it shows [error] TypeError ( setClipboard(): 1st arg 
can't be coerced to String )
App.setClipboard("$count$") also literally
App.setClipboard(", count") also literally
App.setClipboard(, count) it shows [error] SyntaxError ( "no viable alternative 
at input ','", )

How can I do this, which part of sikuli 1.1 talks about this? is this possible??
Thanks Advanced

-- 
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

Reply via email to