pixelsearch Posted February 3, 2020 Share Posted February 3, 2020 Hi everybody I searched for code to open directly the AutoIt helpfile at a specified topic. Here is where I ended, thanks to posts from JLogan3o13 here and Gerry there Each topic url is found in the help file, at the corresponding page. Local $s_AutoIt_InstallPath = RegRead('HKLM\SOFTWARE\AutoIt v3\Autoit', 'InstallDir') If @error Then Msgbox(0,"", "error = " & @error & " while reading registry") Else ShellExecute("hh.exe", "mk:@MSITStore:" & $s_AutoIt_InstallPath & "\AutoIt.chm::/html/keywords/comments-start.htm") EndIf Please comment if it doesn't work on any Windows installation, thanks. Link to comment Share on other sites More sharing options...
Musashi Posted February 3, 2020 Share Posted February 3, 2020 OS : Windows 7 Pro SP1 64-Bit, AutoIt : 3.3.14.0 ===> no problems "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." Link to comment Share on other sites More sharing options...
pixelsearch Posted February 3, 2020 Author Share Posted February 3, 2020 Thanks Musashi The goal was also to use a variable containing the directory where AutoIt is installed, instead of a constant which changes depending on Windows version. 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