slloyd Posted June 21, 2005 Share Posted June 21, 2005 From a compiled autoit script, can I tell if the box I am running on has AutoIT installed or not? I tried @AutoITExe but that returns the exe name that is running (the compiled script name). Basgetti.comSoftware worth donating to ... Link to comment Share on other sites More sharing options...
jpm Posted June 21, 2005 Share Posted June 21, 2005 From a compiled autoit script, can I tell if the box I am running on has AutoIT installed or not? I tried @AutoITExe but that returns the exe name that is running (the compiled script name).<{POST_SNAPBACK}>RegRead("HKLM\SOFTWARE\AutoIt V3\AutoIt","InstallDir") if @error <>0 then ; AutoIt not installed endif Link to comment Share on other sites More sharing options...
slloyd Posted June 21, 2005 Author Share Posted June 21, 2005 Thanks a bunch! I thought that a registry read was as close as I could get.SteveRegRead("HKLM\SOFTWARE\AutoIt V3\AutoIt","InstallDir") if @error <>0 then ; AutoIt not installed endif <{POST_SNAPBACK}> Basgetti.comSoftware worth donating to ... 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