PDA

Показать полную графическую версию : [решено] Какое разрешение у АвтоИт хелпов?


evg64
09-10-2009, 16:03
Добрый день! Хочу через shellexecute() открыть UDFs3 (из папки автоайти), но не могу разобраться, какое там расширение в конце указывать)

Medic84
09-10-2009, 16:09
UDFs3.chm

Creat0R
09-10-2009, 17:31
Хочу через shellexecute() открыть UDFs3 »
Можно ещё так вызывать chm (чтобы открыть определённую страницу в нём):


$sAutoIt_Path = RegRead (http://www.autoitscript.com/autoit3/docs/functions/RegRead.htm)("HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt", "InstallDir")

_OpenChm($sAutoIt_Path & "\UDFs3.chm", "html\libfunctions\_ArrayDisplay.htm")

Func (http://www.autoitscript.com/autoit3/docs/keywords.htm#Func) _OpenChm($sFile, $sHtm_Path = '')
Local (http://www.autoitscript.com/autoit3/docs/keywords.htm#Local) $sHH_File = 'hh.exe'

If (http://www.autoitscript.com/autoit3/docs/keywords.htm#If) $sHtm_Path <> '' Then (http://www.autoitscript.com/autoit3/docs/keywords.htm#Then) $sFile &= '::/' & $sHtm_Path
ShellExecute (http://www.autoitscript.com/autoit3/docs/functions/ShellExecute.htm)($sHH_File, $sFile, StringRegExpReplace (http://www.autoitscript.com/autoit3/docs/functions/StringRegExpReplace.htm)($sFile, "\\[^\\]*$", ""), "open")
EndFunc (http://www.autoitscript.com/autoit3/docs/keywords.htm#EndFunc)




© OSzone.net 2001-2012