Jump to content

Copying text


 Share

Recommended Posts

is there a way to make a script to copy text and just say it was

8:20 thenewkid: pc milk

and the scritp will copy it all and take the bit after pc and find it in a .ini and retrun the the what the guy wants to know.

some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with

Link to comment
Share on other sites

Check out all the String* functions in the helpfile.

$string = "8:20 thenewkid: pc milk"
$clip = StringInStr($string, "pc ")
$ret = StringMid($string, $clip)
$ret = StringTrimLeft($ret, 3)

Hopefully that helps you along your way.

Edit: Forgot the StringTrim.

Edited by mikehunt114
IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]
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...