I'd like to know how to continue execution when unable to retrieve text from the clipboard. In QM, I can simply use 'err' or omitted. How do I handle this in LA?
(This is an assumption: The text is empty when using the hotkey Ctrl+a)
OR, Is there a member function similar to getsel in QM for LA?
LA:
QM:
(This is an assumption: The text is empty when using the hotkey Ctrl+a)
OR, Is there a member function similar to getsel in QM for LA?
LA:
keys.send("Ctrl+A");
string s = clipboard.copy(); //get the selected text
//handle err ???
print.it(s);
QM: