New question #267700 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267700

Currently I have a script divided in many functions that use the same string 
global variable that always changes through the script:

def functionA():
    if error occur:
        App.setClipboard("functionA_ERROR: the error was " + 
someTempStringGlobalVariable)
        functionB()

def functionB():
    if error occur:
        append Clipboard("functionB_ERROR: the error was " + 
someTempStringGlobalVariable)
        functionC()

is there a way to append (not replace) a string to current clipboard? is it 
possible to add to it a /n newline or carriage return also?
So in the example above if error occur in functionA and functionB the clipboard 
result should be:
"functionA_ERROR: the error was someTempStringGlobalVariable
functionB_ERROR: the error was someTempStringGlobalVariable"

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