11-28-2008, 03:41 AM
str a.getwintext(id(1001 win("Crazy Browser" "TFrmMain")))
out a;;http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendID=1015036
str b=find(a "ID=")
out b;;71, how many characters over what i need in str 'a' is.
lpstr c=a
str d
d.get(c 71)
out d;;ID=101503640 <---the text I needed grabbed from str a
str e="http://friends.myspace.com/index.cfm?fuseaction=invite.addfriend_confirm&statusCD=2&friend";; text I need to add to str 'd'
str f
f.from(e d)
out f;;final result='http://friends.myspace.com/index.cfm?fuseaction=invite.addfriend_confirm&statusCD=2&ID=101503640'
f.setwintext(id(1001 win("Crazy Browser" "TFrmMain")))
act id(1001 win("Crazy Browser" "TFrmMain"))
key Y;; pretty much pressing the 'GO' button