Jump to content

Order out of chaos


Recommended Posts

Hello everyone! I am affectionately a newbie! i just made my first script thanks to being helped last light! Thanks for the help !

My question is:

Is there a way of ordering the text copied from a screen using WinGetText? I was able to capture the text on the screen and copy it to the clipboard, but now I have this "blob" of info with no order.

This information was captured from a database and has multiple text labels and fields.

How can I order the info so text labels and fields are one after the other rather than being all over the place after AutoIt captures the text?

-P

Link to comment
Share on other sites

I would suggest you look at StringSplit() in the help file. Probably what you will want to do is split the block of text on every @LF.

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd
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...