New question #288553 on Sikuli:
https://answers.launchpad.net/sikuli/+question/288553
I am trying to create a custom log system that will take a screenshot of my
entire screen and put it into my clipboard so it can be pasted(ie
Key.PRINTSCREEN).
However, I haven't come across any documentation of a code that runs in the
event of an error before the sikulix window comes back up.
Ideally I want to run the code something like this
If an error occurs:
type(Key.PRINTSCREEN,Key.SHIFT)
switchApp("WORD")
type("v",Key.CTRL)
On a related note could someone post a link to creating custom functions or
something like that so I can streamline my code. Instead of having to copy and
paste the same block again and again, I'd like to create custom functions that
I can call depending on certain conditions.
I am still quite new to programming so I have a lot of basics to learn. I
really appreciate any help given.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp