Jump to content

is this possible ?


 Share

Recommended Posts

Hello

I want to create a script to play a sound when a string is reached. The problem is that this string will be outputed from an application like Hyperterminal or Command Prompt Window, and I'm not sure if AutoIt supports reading strings from other applications.

If yes, please help me.

So for example if string "disconnected" is appearing in the GUI, my script should be able to play a WAV file.

Thank you.

Link to comment
Share on other sites

Hello

I want to create a script to play a sound when a string is reached. The problem is that this string will be outputed from an application like Hyperterminal or Command Prompt Window, and I'm not sure if AutoIt supports reading strings from other applications.

If yes, please help me.

So for example if string "disconnected" is appearing in the GUI, my script should be able to play a WAV file.

Thank you.

Can you read the text witht he Autoit Window Info tool? if so, then it should work. If not, then you may be out of luck, unless you do some auto copy / check clipboard loop within the window.

Link to comment
Share on other sites

Can you read the text witht he Autoit Window Info tool? if so, then it should work. If not, then you may be out of luck, unless you do some auto copy / check clipboard loop within the window.

Unfortunately I cannot read the text with AutoIt Window Info Tool. How can I copy/check clipboard ? Do you have an example code for this ?
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...