Labels:text | screenshot | display | software | number OCR: NEWOPAL :: #Button13 :: pushButton method pushButton(var eventInfo Event) var textBin Binary fs FileSystem texts String tempTs TextStrean endVar ; Copy a string to the Clipboard so the user can paste it ; into another application. texts . "This is a test string\non two lines." ; Write the string to a temporary text file in the users ; private directory. tempTs.open(" __ stoclp.tmp","nw") tempTs.writeString(textS) tempTs.close() ; Read the text to a binary variable. textBin.readFromFile(" __ stoclp.tmp") - ; Erase the clipboard and write the text to the clipboard. clipboardErase( ) textBin.writeToClipboard("Text") ; Delete the temporary file. fs.delete(" __ stoclp.tmp") endMethod Edit Line: 22 Col: 1