Uten Posted January 8, 2007 Share Posted January 8, 2007 I have been fideling with ptrex wsc samples lately and found the need for a wsc.properties file in scite.The config file is the result of collecting bits and pieces from here and there. But the files from this page became really handy.To enable it you probably would have to configure your SciTEGlobal.properties file and enable or add the following lines in appropriate places. I use my own SciTE setup so your SciTE4AutoIt3 setup might look slightly different.Bold tags did not work in the following config samples so you will have to search for wsc.source.files=... *.xml;*.iface;*.bat;*.e;\ *.wsc$(filter.verilog)\ $(filter.vhdl)\ $(filter.wsc)#&YAML|yaml||\ &wsc|wsc||\ &wsh|wsh||#import verilog #import vhdl import wscwsc.properties file:expandcollapse popupfile.patterns.wsc=*.wsc # wsc: Windows Script Classes # NOTE: The lexer has to exists in SciTE. lexer.$(file.patterns.wsc)=hypertext # All hypertext elements and attributes must be listed in lower case hypertext.elements=\ comment component description get implements job language method object package \ parameter registration resource script usage method property public hypertext.attributes=\ classid debug encoding id language name progid src type version keywordclass.hypertext=\ $(hypertext.elements) $(hypertext.attributes) public !doctype comment.stream.start.wsc=<!-- comment.stream.end.wsc=--> use.monospaced=1 #caret.width=3 #RESOURCE: http://en.wikipedia.org/wiki/X11_color_names #RESOURCE: http://en.wikipedia.org/wiki/List_of_colors COL_AQUA=#00FFFF COL_AZURE=#F0FFFF COL_BEIGE=#F5F5DC COL_BLACK=#000000 COL_BLUE=#0000FF COL_BLUEVIOLET=#8A2BE2 COL_BROWN=#A52A2A COL_CORAL=#FF7F50 COL_CORNSILK=#FFF8DC COL_CYAN=#00FFFF COL_DARKBLUE=#00008B COL_DARKCYAN=#008B8B COL_DARKGREY=#A9A9A9 COL_DARKGRTEEN=#006400 COL_DARKMAGENTA=#8B008B COL_DARKORANGE=#FF3200 COL_DEEPPINK=#FF1493 COL_FORESTGREEN=#228B22 COL_GOLD=#FFD700 COL_INDIGO=#4B0082 COL_MAGENTA=#FF00FF COL_MARONE=#800000 COL_NAVYBLUE=#000080 COL_OLIVE=#808000 COL_ORANGE=#FFA500 COL_ORANGERED=#FF4500 COL_RED=#FF0000 COL_WHITE=#FFFFFF COL_WHITESMOKE=F5F5F5 COL_YELLOW=#FFFF00 COL_TEAL=#008080 COL_PURPLE=#800080 COL_AU3COMMENT=#009933 #caret.fore=#FFFFFF caret.fore=$(BLACK) # Text style.hypertext.0=fore:$(COL_BLACK),$(font.text) # Tags BOLD style.hypertext.1=fore:$(COL_NAVYBLUE),bold # Unknown Tags style.hypertext.2=fore:$(COL_RED) # Attributes BOLD style.hypertext.3=fore:$(COL_TEAL),bold # Unknown Attributes style.hypertext.4=fore:$(COL_RED) # Numbers style.hypertext.5=$(colour.number) # Double quoted strings style.hypertext.6=$(colour.string) # Single quoted strings style.hypertext.7=$(colour.string) # Other inside tag style.hypertext.8=fore:$(COL_PURPLE) # Comment style.hypertext.9=fore:$(COL_AU3COMMENT),$(font.text.comment) # Entities style.hypertext.10=fore:$(COL_PURPLE),$(font.text) #command.go.$(file.patterns.php)=php -f "$(FileNameExt)" command.compile.$(file.patterns.php)=regsvr32 "$(FileNameExt)"Happy coding.. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
ptrex Posted January 8, 2007 Share Posted January 8, 2007 @Uten Thanks again for this contribution. If we think "out of the box" we might get a great thing going. So let me know if you've got any news on to tell on the WSC AU2COM objects. regards, ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New 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