Jump to content

Recommended Posts

Posted

I have got an autoIT script that copies a number to the clipboard from a windows program such as 12.84.003.54 and then when it recieves a particular number from the windows program then the next part of the script kicks in.

For example my script scrolls through the following numbers copying each one as it goes:-

12.345.56.58

13.242.54.66

13.222.34.31

When it recieves 13.242.54.66 to its clipboard then the next part of the program is set off. However is there any way to do this with the program recognising a certain length of the text string. So if I have the following numbers:-

11.24.002.08

11.24.001.08

11.23.002.08

I want my script to only read the first 9 characters from the clipboard when it copies them so I can differentiate between the top two numbers. Is there any way to do this???

Thankyou for your help, I hope my explanation wasn't 2 long winded...if so then tell me and I'll try to explain it a little easier.

Thanks

Mark

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
×
×
  • Create New...