Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: cr CR carriage returns line feed linefeed
sendkeysto("Microsoft Excel","^c") endcheck = clipget() if endcheck == @cr then goto end endif sendkeysto("PowerTerm","!ep")The problem is a blank field in excel is copied as a carridge return I tried using @crlf, "@crlf",@lf,"@lf",@cl,"@cl","~",~,^m,"^m"... it still passes the if statement as "False"... Any ideas?
sendkeysto("Microsoft Excel","^c") endcheck = clipget() endcheck=StrReplace(endcheck,@CR,"") endcheck=StrReplace(endcheck,@LF,"") if endcheck == "" then goto end sendkeysto("PowerTerm","!ep")
Article ID: W13822
Filename: Copying Excel Fields with CRs into Clipboard.txt
File Created: 1999:04:15:16:56:36
Last Updated: 1999:04:15:16:56:36