pixelsearch Posted February 3, 2020 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. "I think you are searching a bug where there is no bug... don't listen to bad advice."
Guest Posted February 3, 2020 Posted February 3, 2020 OS : Windows 7 Pro SP1 64-Bit, AutoIt : 3.3.14.0 ===> no problems
pixelsearch Posted February 3, 2020 Author 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. "I think you are searching a bug where there is no bug... don't listen to bad advice."
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