tradertt Posted December 5, 2007 Share Posted December 5, 2007 Is this the correct way to make a break ? If what I am doing is _IEFormElementSetValue($Title,"Example1" & @CRLF & "example 2") Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 6, 2007 Share Posted December 6, 2007 Is this the correct way to make a break ?If what I am doing is _IEFormElementSetValue($Title,"Example1" & @CRLF & "example 2")I don't know for sure, but since the page is HTML, maybe this:_IEFormElementSetValue($Title,"Example1<br>example 2")Simple way to check it to test it. What happens when you try it? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
tradertt Posted December 6, 2007 Author Share Posted December 6, 2007 <br> does not work as the forum is posted in bbCode so it does not work ... need the script iteself to have the carriage return Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
rudi Posted December 6, 2007 Share Posted December 6, 2007 <br> does not work as the forum is posted in bbCode so it does not work ... need the script iteself to have the carriage returnI'm not familiar with this kind of stuff. But in URLs special characters are replaced by "%<hex>" iirc. So you might want to try something like "%0D" (Hex0D=Dec13=CR)Or your use wireshark to check what travels to the server on the wire Regards, Rudi. Earth is flat, pigs can fly, and Nuclear Power is SAFE! Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 6, 2007 Share Posted December 6, 2007 <br> does not work as the forum is posted in bbCode so it does not work ... need the script iteself to have the carriage return In that case you may have to set focus on it and just send a keyboard {ENTER}: $hWin = _IEPropertyGet($oIE, "hwnd") _IEAction($Title,"focus") ControlSend($hWin, "", "", "Example1{ENTER}example 2") Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
DjDeep00 Posted December 6, 2007 Share Posted December 6, 2007 Is this the correct way to make a break ?If what I am doing is _IEFormElementSetValue($Title,"Example1" & @CRLF & "example 2")@tradertt...I have no issues doing this for setting a value to a "textarea" box in a html page. @CRLF works as expected. What field type is it that you are setting text to? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now