redndahead Posted January 24, 2005 Share Posted January 24, 2005 I am trying to convert my Gui tutorial to the new version of the gui. I want to know how did you get the script examples in the help file to look like scites coloring etc? red Link to comment Share on other sites More sharing options...
layer Posted January 24, 2005 Share Posted January 24, 2005 probably just copied it from scite maybe? i think FootbaG Link to comment Share on other sites More sharing options...
CyberSlug Posted January 24, 2005 Share Posted January 24, 2005 (edited) 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 January 24, 2005 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 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