Jump to content

HTML Help from doc devs


Recommended Posts

You can see the inner workings by downloading the docs source archive (docs-v3.0.103-src.exe) from http://www.autoitscript.com/autoit3/files/unstable/autoit/

I believe JdeB used both both AutoIt and Lua scripting SciTE capabilites.

Here's a sample script you could adapt; it uses the Export > As HTML feature on SciTe's file menu:

; Exports each buffer in SciTE to an HTML file
; - CyberSlug - 10 Jan 2005
; Note that the there is a "buffers" setting in SciTEGlobal.properties
;  that you might want to change to buffers=100
;  which is the max number of simultaneous open buffers

Opt("WinTitleMatchMode",2)
$dialog = "Export File As HTML"

While Not WinExists("(Untitled) - SciTE")

   WinMenuSelectItem("SciTE","","&File", "&Export", "As &HTML...")
   
   WinWait($dialog)
   ControlSetText($dialog,"","Edit1", "C:\path\goes\here\whatever\filename.txt"
 ;;;ControlSetText($dialog,"","Edit1", "..\colorexamples\" & _ ControlGetText($dialog,"","Edit1"))

   sleep(10)
   ControlClick($dialog,"","&Save")
   
   WinWaitActive("SciTE")
   WinMenuSelectItem("SciTE","","&File", "&Close")

WEnd
Edited by CyberSlug
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to post
Share on other sites

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