johnynardi Posted April 16, 2012 Share Posted April 16, 2012 Hallo ! Iam new in Auto-it , and iam trying to build a script that gives you the URL. and i did something like this: $name = WinGetText("[CLASS:IEFrame]","") msgbox(0,"",""&$name) but its gives me all the Visible Text :-\ and its not working in Chrome :-\ and Ideas how can i get the Url? Thanks Alot....! Link to comment Share on other sites More sharing options...
johnynardi Posted April 16, 2012 Author Share Posted April 16, 2012 Ok i found a way to do this... here the code if anyone need... dim $count; $name = WinGetText("[CLASS:IEFrame]","") $theStr = StringSplit($name, "") ; Create an array $theNewStr = "" For $i = 12 to UBound($theStr-1) Step 1 if $theStr[$i] == "פ" Then ExitLoop endIf Next for $j = 12 to $i-1 $theNewStr = $theNewStr & $theStr[$j] Next MsgBox(0, "Result", $theNewStr) 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