Vindicator Posted October 31, 2006 Share Posted October 31, 2006 Sorry this is my second question in like 10 minutes... Ok, I have a source editor that Im making and I wanted people to be able to click a certain line of the script and be able to go to the web page (if that line was a link> THIS is what I TRIED to do #include <IE.au3> $URL=InputBox("URL","Input URL of web Page") $obj=_IECreate ($URL) $oIE = _IENavigate($obj) $sHTML = _IEBodyReadHTML ($oIE) FileWrite( "Test.txt", $sHTML ) $test=FileRead("Test.txt",2) ;Pretend this is <a href="www.autoitscript.com">;This obviously didnt work $test= $test - '<a href"' $test= $test - '">' $obj2=_IECreate ($test) I did a bad job of explaining what I was asking, but do you get what Im trying to do? If I hadn't said thank you yet, and you deserve it, than thank you... Link to comment Share on other sites More sharing options...
CoderDunn Posted October 31, 2006 Share Posted October 31, 2006 (edited) These will do what you want: StringTrimRight() or StringTrimLeft() Most likely you will want StringReplace($test,"String to Remove","") Hallman Edited October 31, 2006 by Hallman Link to comment Share on other sites More sharing options...
Vindicator Posted October 31, 2006 Author Share Posted October 31, 2006 ahh, very intresting... thank you... If I hadn't said thank you yet, and you deserve it, than thank you... 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