Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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 ?
Posted

Look in the helpfile for clipget.

[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

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
  • Recently Browsing   0 members

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