b0x4it Posted November 19, 2011 Author Posted November 19, 2011 I figured it out: #include <Array.au3> #include <String.au3> $Start = "http://" $End = ".mp3" $String = ClipGet() ;Sleep(500) $Array = _StringBetween($String, $Start, $End) ; remove other http:// strings in between For $i=0 to UBound($Array)-1 While StringInStr($Array[$i], "http://") $tmpArray = _StringBetween($Array[$i] & ".mp3", $Start, $End) $Array[$i]=$tmpArray[0] WEnd Next ; add http:// and .mp3 to make the urls complete For $i=0 to UBound($Array)-1 $Array[$i]="http://" & $Array[$i] & ".mp3" Next _ArrayDisplay($array) there should be some shorter codes as well thanks for all your helps
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