Page 1 of 1

Condition for clipboard

Posted: 01 Sep 2016 11:07
by Theowi
Please assist
I want to make a condition... To see if there is info on the clipboard

Re: Condition for clipboard

Posted: 01 Sep 2016 19:03
by Martin
Hi,

You can use action Copy Text from Clipboard to copy the text currently on the clipboard to the variable clip_data and then use condition Expression: isEmpty(clip_data) to check if there's something in the variable.
Trigger Clipboard Changed could also be interesting if you want to work with the clipboard.

Regards,
Martin

Re: Condition for clipboard

Posted: 03 Sep 2016 01:47
by Theowi
Hey Martin

My reason for this is when im going to run the trigger(Shortcut Trigger) for a second time then the condition should be false.. to say the data i previously entered should still be there