Icemaan Posted September 7, 2005 Share Posted September 7, 2005 Hi It is possible with Autoit to search a Program on my pc for example Adaware and open it . Thanks for help Icemaan Link to comment Share on other sites More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 HiIt is possible with Autoit to search a Program on my pc for example Adaware and open it .Thanks for helpIcemaan<{POST_SNAPBACK}>Look at these FunctionsFileFindFirstFile() 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 Link to comment Share on other sites More sharing options...
Icemaan Posted September 7, 2005 Author Share Posted September 7, 2005 Look at these FunctionsFileFindFirstFile() 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 thisFileFindFirstFile ("AdAware")FileFindNextFile ("AdAware.exe")Run("AdAware.exe")Can you say me what I not make correctThanks a lotIcemaan Link to comment Share on other sites More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 Sorry but it not works .I have make thisFileFindFirstFile ("AdAware")FileFindNextFile ("AdAware.exe")Run("AdAware.exe")Can you say me what I not make correctThanks a lotIcemaan<{POST_SNAPBACK}>Did you look at the examples? Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer Link to comment Share on other sites More sharing options...
Icemaan Posted September 7, 2005 Author Share Posted September 7, 2005 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 readThe 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 pcIcemaan Link to comment Share on other sites More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now