Jump to content

DELPHI and AutoiT


lafarigoule
 Share

Recommended Posts

I use AutoIt with Delphi and it works very well. But I have a problem with the send command.

I want to open a very long AVI file. I use this command :

procedure virtualdub_load(var hWnd: string;var videoname:string);

begin

oAutoIt.WinActivate('[HANDLE:' + hWnd + ']');

oAutoIt.Send('{ALT}fo'+videoname);

end;

Then I want to read some parameters in the interface.

But the next instruction arrived before the end of the loading.

So I have an error.

I dont know how to block the command on "oAutoIt.Send('{ALT}fo'+videoname);" and wait the complete loading of my file.

I will appreciate information on how to do that.

Thank's

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...