Sign in to follow this  
Followers 0
zxcvbnm

run a autoit exe

7 posts in this topic

can I run a autoit exe when I find a application listed in 'Task Manager Windows'?

Share this post


Link to post
Share on other sites



Hello zxcvbnm,

you will have to watch the list of running processes and run the exe if a specific process exists.

Have a look at ProcessExists in the helpfile.

As far as I know there is no way to setup a scheduled task that runs if a specific process exists.

Regards,

Hannes

:)


Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

Share this post


Link to post
Share on other sites

I mean not a process in 'process', I refer to 'applications' in Task Manager cause the process is always running, but I need to exec an autoit prog when a popup of a particular application opens.

Share this post


Link to post
Share on other sites

I think the "Applications" tab in Task Manager uses processes' windows. Try using the window title and check "WinGetTitle".

Share this post


Link to post
Share on other sites

Thanks...

I think also: WinActive

problems with 'Title' , It's possible to use a funcion on the title string...I mean like "begin with"..?

Share this post


Link to post
Share on other sites

Thanks...

I think also: WinActive

problems with 'Title' , It's possible to use a funcion on the title string...I mean like "begin with"..?

Try AutoIt help:

Window Titles and Text (Advanced)

Mode 2

Matches any substring in the title.

In this mode a window titled Untitled - Notepad would be matched by "Untitled - Notepad", "Untitled", "Notepad", "pad", etc.


Share this post


Link to post
Share on other sites

thanks!

Share this post


Link to post
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
Sign in to follow this  
Followers 0