Jump to content

Recommended Posts

Posted

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

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
:)
Posted

Thanks a bunch! I thought that a registry read was as close as I could get.

Steve

RegRead("HKLM\SOFTWARE\AutoIt V3\AutoIt","InstallDir")
if @error <>0 then 
; AutoIt not installed
endif
:)

<{POST_SNAPBACK}>

Basgetti.comSoftware worth donating to ...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...