Sign in to follow this  
Followers 0
Icemaan

Program Search

6 posts in this topic

Hi

It is possible with Autoit to search a Program on my pc for example Adaware and open it .

Thanks for help

Icemaan

Share this post


Link to post
Share on other sites



Hi

It is possible with Autoit to search a Program on my pc for example Adaware and open it .

Thanks for help

Icemaan

<{POST_SNAPBACK}>

Look at these Functions

FileFindFirstFile()
FileFindNextFile()
Run()

Maybe also:

RegRead()

If you know where the path to Adaware is written down inside the Regitry...


Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer

Share this post


Link to post
Share on other sites

Look at these Functions

FileFindFirstFile()
FileFindNextFile()
Run()

Maybe also:

RegRead()

If you know where the path to Adaware is written down inside the Regitry...

<{POST_SNAPBACK}>

Sorry but it not works .I have make this

FileFindFirstFile ("AdAware")

FileFindNextFile ("AdAware.exe")

Run("AdAware.exe")

Can you say me what I not make correct

Thanks a lot

Icemaan

Share this post


Link to post
Share on other sites

Sorry but it not works .I have make this

FileFindFirstFile ("AdAware")

FileFindNextFile ("AdAware.exe")

Run("AdAware.exe")

Can you say me what I not make correct

Thanks a lot

Icemaan

<{POST_SNAPBACK}>

Did you look at the examples?

Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer

Share this post


Link to post
Share on other sites

Did you look at the examples?

<{POST_SNAPBACK}>

Thanks i have look now.Sorry that i not take a look before but i like autoit so much that i only work and not read

The autoit must be in the same directory as the Programm to search is this correct.

But when i not know the directory for example i have written a script for run adaware automatic and convert this into a exe.Now my Brother have adaware but i not know where can he start my exe to clean the pc

Icemaan

Share this post


Link to post
Share on other sites

That is cause FileFindFirstFile doesn't search recursively.

search for _FileSearch for a "recursive" example...

Then you only have to set the drive to search at.


Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer

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