Jump to content

Copying specific part of text string in IE?


Lambort
 Share

Recommended Posts

Let's say we have some text in an IE browser that says:

{"isLogin":true,"gameId":"u_gbound","isValid":true,"launchScript":"hangame://http://gstr.ijjimax.com:10000/?cksum=830&k22e=U_&kpw=1&enc=y&pub10e=514&cksm=830","isUnder":false}

How would I get autoit to just copy the bolded text. I need it to copy the text after "LaunchScript":" but before &pub10e

I'm not even sure if this can be done in autoit..

-Alyssa

Edited by Lambort
Link to comment
Share on other sites

You can try this:

http://www.autoitscript.com/forum/index.ph...c=35090&hl= If you know the ending of the source to find.

That looks really nice, but I'm new to autoit and that is very hard for me to follow. However, I will try with it some more and see if I can get what I want accomplished. Thanks

Edit: Yes, I do know both the beginning and end of the string.

Beginning: Launchscript":"

End: &pub10e

Or is it supposed to be the beginning and end of the exact text I want:

Beginning: hangame:

End: 1&enc=y

Edited by Lambort
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...