James Posted May 9, 2008 Share Posted May 9, 2008 I gave you the standard blue to begin with, 0000FF, then added the Dark Blue because ptrex mentioned it as well.That's enough for today. I'm outta here.I will give you the benefit of the doubt. Sorry people it's really hot where I am here in the library full of computers and no open windows. I tried to open them and was told off - No one go off topic now. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
James Posted May 9, 2008 Share Posted May 9, 2008 (edited) OK, here is what I have done so far:Added: Func|EndFunc|If|Then|EndIf|For|Step|Next|While|WEnd|Switch|EndSwitch|Select|EndSelect|Do|Until|Return|Global|Local|Dim|ReDim|Const|Case to the list of conditionals (I hope that is the name).Exit|ReDim to the functions.= to an operator (red) I hope that's right.When you type "msgbox" (lowercase) and hit Tab codepress will now fill in the MsgBox function leaving the caret ready for the first parameter.When you type "select" (lowercase) and hit Tab codepress will write out a Select statement.When you type "cw" (lowercase) and hit Tab codepress will make an empty ConsoleWrite with the @CRLF. Edited May 9, 2008 by JamesB Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
ptrex Posted May 9, 2008 Author Share Posted May 9, 2008 @Jamesb I don't know where you are looking, but in the office site I don't see anything related to AU3. The only way I can test is on my own server ?! And without the modified files there is nothing to test. 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...
James Posted May 9, 2008 Share Posted May 9, 2008 @JamesbI don't know where you are looking, but in the office site I don't see anything related to AU3.The only way I can test is on my own server ?!And without the modified files there is nothing to test.regardsptrexOh no, I mean I am testing it at college. I have a private storage space for this which let's me use PHP and MySQL Like I said, I will upload the new version when I get home. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
ptrex Posted May 9, 2008 Author Share Posted May 9, 2008 @JamesB You' re one confusing liitle guy ?! 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...
James Posted May 9, 2008 Share Posted May 9, 2008 Sorry. I can only post the file when I get home which is now, only I have to do something so I shall edit back with it shortly. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
James Posted May 9, 2008 Share Posted May 9, 2008 (edited) So here it is, the current version I am working on.UpdatesCSS Conditional Statements AddedConditional Statements added - I hope I added all of themQuick snippets:MsgBox: Type "msgbox" and press tabConsoleWrite: Type "cw" and press tabFunc: Type "func" and press tabSelect: Type "select" and press tabSwitch: Type "switch" and press tabIf: Type "if" and press tab autoit.zip (2.8K) Number of downloads: Should I add UDF functions as default or leave it as _+func name?To-do:Fix #include <> as the <> do not workAdd the compiler optionsAdd macro commands and not expand on the @ aloneAdd more quick snippetsAdd incasesensitivty. All functions are now not case sensitive.Add include files. Doing so will allow variables with _'s to be highlighted correctly. - _Array doneIf you can think of anything please tell me Edited May 11, 2008 by JamesB Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
James Posted May 9, 2008 Share Posted May 9, 2008 Added new to-do item, which is actually done now but will be posted soon. Functions are now not case sensitive. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
James Posted May 10, 2008 Share Posted May 10, 2008 As you can see there are still a couple of bugs.New:Added macros to the to-do list.No files yet as I am still fixing bugs! Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
James Posted May 11, 2008 Share Posted May 11, 2008 Added includes to the to-do list. Reason, when you currently write out a variable with an underscore such as, $_MyVar the underscore is not correctly highlighted. And because default includes would look nice added Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
James Posted May 11, 2008 Share Posted May 11, 2008 Woo, all includes are done! Update will be ready in 10 minutes! Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
James Posted May 11, 2008 Share Posted May 11, 2008 (edited) Update: Version 2New features: All includes are now included!Underscores and variables ($_MyVar) are now properly highlightedConditional statements should all have been added nowNew snippets:hks + tab = HotKeySettoolt + tab = ToolTipcwe + tab = ConsoleWriteErrorFixed:Removed exit from functionsAll functions, includes and conditional statements are not case sensitive!To-Do:Fix #include to allow <Include.au3> to be highlighted correctlyAdd macros and not expand on any @Add compiler directivesAdd [] brackets - Now highlightedAdd expansion on < (Returns <>)IMPORTANT: Previously Codepress would expand on any @. To save confusion I have completely removed @ highlighting until I can add all macros! autoit.zip (4.9K) Number of downloads: If I have missed anything not on the to-do list, _includes etc please tell me Thank you,James Edited May 11, 2008 by JamesB Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
James Posted May 11, 2008 Share Posted May 11, 2008 Haha, just realised I have missed, Else, True and False Please check to-do list. I wont upload the current version until I have pretty much if not completed that list. Doesn't seem that important, no-one looks Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
James Posted May 11, 2008 Share Posted May 11, 2008 For anyone who wants to try it but doesn't want to download codepress, you can try it here. The link may not always be active and the product could differ from what I am working on. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
ptrex Posted May 12, 2008 Author Share Posted May 12, 2008 @JamesB The last version has lost the @ macro's syntax highlighting. Also the COM properties need to light up in the same color as the Conditional Statements. Example : $vbs.language -> language should light up in the different color. These are also missing in the Conditional statements : Else|False|True|Default For the rest a good job so far. 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...
James Posted May 12, 2008 Share Posted May 12, 2008 ptrex, I did say that I removed macros because of possible confusion. I would have to search for a "." and highlight beyond that I have added the rest of the functions Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
ptrex Posted May 13, 2008 Author Share Posted May 13, 2008 @JamesBI would have to search for a "." and highlight beyond thatIndead.I removed macros because of possible confusion.What kind of confusion ?regardsptrex 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...
James Posted May 13, 2008 Share Posted May 13, 2008 @JamesB, Indead.Simple regexp I hope What kind of confusion ?Well the user could type @Myscrptidri and it would highlight breaking the script. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
ptrex Posted May 13, 2008 Author Share Posted May 13, 2008 @JamesBWell the user could type @Myscrptidri and it would highlight breaking the script.Not really, if yoy put the list of all macro terms in there. Like you did for all the functions.Just a suggestion.PS :I juist uncommented the Macro statement in your file and added it back to where it was.But this screws up the whole thing ? It does not add the CR at each line.Any idea why ?regardsptrex 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...
James Posted May 13, 2008 Share Posted May 13, 2008 Yes. I messed up the RegExp string. You are using: { input : /(\@[\w\.]*)/g, output : '<em>$1</em>' }, // Macros Right? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ 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