Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Put only part of text recieved into str
#1
Well I have this macro for myspace which will allow me to add my friends without having to wait for their profile to load. Because it takes like 20 seconds or more!, the idea is, when the profile first starts to load my macro gets the text from the URL search bar in the browser , like this.

Code:
Copy      Help
str a.getwintext(id(1001 win("Crazy Browser" "TFrmMain")))
out a

which then brings me this outted URL: http://profile.myspace.com/index.cfm?fu ... =101503640

now, I need it to take that whole gotten text, & put only '=101503640' into another str.

therefore I can do this,

str a.getwintext(id(1001 win("Crazy Browser" "TFrmMain")))
str b=idk yet but it should equal '=101503640'
str c='http://friends.myspace.com/index.cfm?fuseaction=invite.addfriend_confirm&statusCD=2&friendID'
str k=b+c
k.setwintext(id(1001 win("Crazy Browser" "TFrmMain")))
then hit the GO button, which will lead me to their add friend page, & skip the profile loading process... PLEASE HELP


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)