I have a script that sends multiple lines of text to a textbox using Firefox. I using _FFSetValue($sCellValue[7], "line one" & @CR & "line two", "id") from ff.au3. If it's a single line of text it works but MozRepl give the following error with multiple lines of text.
Error:
__FFSend: try{FFau3.simulateEvent(window.content.top.document.getElementById('line one
line two'),'Event','change',13);}catch(e){'_FFCmd_Err';};
__FFWaitForRepl ==> Error return value: MozRepl ....>
__FFSend: ;
__FFRecv:
__FFSend: FFau3.WCD=window.content.top.document;
__FFWaitForRepl ==> Error return value: MozRepl ....>
__FFRecv: !!! SyntaxError: unterminated string literal
Details:
[object HTMLDocument] - {mainForm: {...}, location: {...}, getElementsByName: function() {...}, getItems: function() {...}, open: function() {...}, close: function() {...}, write: function() {...}, ...}
!!! SyntaxError: unterminated string literal
Will MozRepl plugin for Firefox send multiple lines of text to a textbox?
Thanks for your help.