Yashied Posted February 16, 2015 Share Posted February 16, 2015 @JosA few remarks."autocomplete.au3.disable" still doesn't works properly. I have made some changes in AutoItAutoComplete.lua, that fix the problem. In addition, I have added the "calltips.au3.disable" property. Now we can disable Autocomplete and Calltips separately leaving the possibility to call them manually.expandcollapse popup-------------------------------------------------------------------------------- -- This library provides some convenience when working in AutoIt scripts. It -- causes the AutoComplete and CallTips() to behave more intelligently. -------------------------------------------------------------------------------- AutoItAutoComplete = EventClass:new(Common) -------------------------------------------------------------------------------- -- OnStartup() -- -- Initializes variables. -------------------------------------------------------------------------------- function AutoItAutoComplete:OnStartup() -- Variable mappings for SciTE menu commands. self.IDM_SHOWCALLTIP = 232 self.IDM_COMPLETE = 233 self.IDM_COMPLETEWORD = 234 self.Check_Calltip = false -- List of "valid" styles as used by IsValidStyle(). self.style_table = { SCE_AU3_COMMENTBLOCK, SCE_AU3_COMMENT, SCE_AU3_STRING, SCE_AU3_SPECIAL, SCE_AU3_COMOBJ } end -- OnStartup() -------------------------------------------------------------------------------- -- OnUpdateUI() -- -- Controls showing CallTips. -- -- Parameters: -- -------------------------------------------------------------------------------- function AutoItAutoComplete:OnUpdateUI() -- Check for showing Calltip. this is activate by the OnKey check of "," or "(" but moved here because at this time the StyleAt is know for the typed character if self:IsLexer(SCLEX_AU3) and self.Check_Calltip then self.Check_Calltip = false local style = editor.StyleAt[editor.CurrentPos-1] -- Only update calltip when an operator is typed if style ~= SCE_AU3_OPERATOR then return false end scite.MenuCommand(self.IDM_SHOWCALLTIP) return end end -------------------------------------------------------------------------------- -- OnChar(c) -- -- Controls showing and hiding of AutoComplete and CallTips. -- -- Parameters: -- c - The character typed. -------------------------------------------------------------------------------- function AutoItAutoComplete:OnChar(c) -- Make sure we only do this for the AutoIt lexer. if self:IsLexer(SCLEX_AU3) then -- Show CallTip when a comma is typed to delimit function parameters. if ((c == "," or c == "(" or c == ")")) then if (c == ",") or (c == ")") then if editor:CallTipActive() then return end end if props["calltips.au3.disable"] == "1" then return true end -- set variable to 1 and let AutoItAutoComplete:OnUpdateUI handle the rest as only then the StyleAt is proper set self.Check_Calltip = true return end if props['autocomplete.au3.disable'] == "1" then -- self:CancelAutoComplete() return true end if editor:CallTipActive() then return end -- Show variables in AutoComplete. if (c == "$" and self:IsValidStyle(style)) then scite.MenuCommand(self.IDM_COMPLETEWORD) return end -- Show macros in AutoComplete. if (c == "@" and self:IsValidStyle(style)) then scite.MenuCommand(self.IDM_COMPLETE) return end -- Skip showing AutoComplete on _ as the first character. if c == "_" and editor:WordStartPosition(editor.CurrentPos) + 1 == editor.CurrentPos then self:CancelAutoComplete() return true end -- Ensure the character is a valid function character. if not self:IsValidFuncChar(c) then return end -- Cancels AutoComplete if the previous character is a period. It means -- we're typing a COM method but the style isn't set yet. if c2 == "." then return self:CancelAutoComplete() end -- Show AutoComplete if it isn't showing already. if not editor:AutoCActive() then scite.MenuCommand(self.IDM_COMPLETE) -- fall through end -- Last attempt to show AutoComplete. if not editor:AutoCActive() then scite.MenuCommand(self.IDM_COMPLETEWORD) return end end end -- OnChar() -------------------------------------------------------------------------------- -- IsValidStyle(style) -- -- Checks if the style is _not_ in the table. -- -- Parameters: -- style - The style to check. -- -- Returns: -- The value true is returned if the style is _not_ in the table. -- The value false is returned if the style is in the table. -------------------------------------------------------------------------------- function AutoItAutoComplete:IsValidStyle(style) if self.style_table then for i, v in ipairs(self.style_table) do if style == v then return false end end end return true end -- IsValidStyle() -------------------------------------------------------------------------------- -- IsValidFuncChar(c) -- -- Checks to to see if a character is a valid function name character. -- -- Parameters: -- c - The character to check. -- -- Returns: -- The value true is returned if the charcter is a valid function character. -- The value false is returned if the characer is not valid. -------------------------------------------------------------------------------- function AutoItAutoComplete:IsValidFuncChar(c) return string.find(c, "[_%w]") ~= nil end -- IsValidFuncChar() -------------------------------------------------------------------------------- -- IsQuoteChar(c) -- -- Checks to see if a character is a single (') or double (") quote. -- -- Parameters: -- c - The character to check. -- -- Returns: -- The value true is returned if the character is a quote character. -- The value false is returned if the character is not a quote character. -------------------------------------------------------------------------------- function AutoItAutoComplete:IsQuoteChar(c) return string.find(c, "[\"\']") ~= nil end -- IsQuoteChar()A small bug with AutoItPixmap.lua. If we call Autocomplete manually for "$" or "_" symbols, the icons color will not change. This is assuming that characters were not typed before. To solve this problem we need to call AutoItPixmap:OnChar() before the Autocomplete appears.I wrote a small utility that opens the selected file or folder in Windows Explorer. This utility can work with AutoIt expression and environment variables, e.g.@ScriptDir & "ResourcesApp.ico"@TempDir%USERPROFILE%SciTE.sessionReadme.txtetc.expandcollapse popup#pragma compile(Out, ExpOpen.exe) #pragma compile(Icon, ExpOpen.ico) #pragma compile(FileDescription, Opens Windows Explorer and selects the file or folder) #pragma compile(FileVersion, 1.0.0.0) #pragma compile(LegalCopyright, ©Yashied) #pragma compile(OriginalFilename, ExpOpen.exe) #pragma compile(ProductName, Explorer Opener) #pragma compile(ProductVersion, 1.0) #NoTrayIcon #Include <MsgBoxConstants.au3> #Include <WinAPI.au3> #Include <WinAPIShellEx.au3> #Include <WinAPIShPath.au3> Local $__Path, $__Text, $__Result, $__AutoIt = False If $CmdLine[0] = 0 Then MsgBox($MB_ICONINFORMATION, 'ExpOpen', 'Used only in SciTE.' & @CR & @CR & 'ExpOpen "$(FilePath)" "$(CurrentSelection)"') Exit EndIf If $CmdLine[0] < 2 Then Exit EndIf If (StringInStr($CmdLine[2], @CR)) Or (StringInStr($CmdLine[2], @LF)) Then ConsoleWrite('! Bad path.' & @CRLF) Exit EndIf If _WinAPI_PathFindExtension($CmdLine[1]) = '.au3' Then $__AutoIt = True EndIf $__Text = StringStripWS(StringReplace($CmdLine[2], @TAB, ' '), 7) If $__AutoIt Then $__Text = StringRegExpReplace($__Text, '^[;\h]+', '') EndIf If Not $__Text Then Exit EndIf $__Path = _WinAPI_PathRemoveFileSpec($CmdLine[1]) If Not FileExists($__Path) Then Exit EndIf If $__AutoIt Then If StringInStr($__Text, @AutoItExe) Then ConsoleWrite('! Bad filename or expression.' & @CRLF) Exit EndIf $__Text = StringReplace($__Text, '@ScriptName', '"' & _WinAPI_PathStripPath($CmdLine[1]) & '"') $__Text = StringReplace($__Text, '@ScriptDir', '"' & $__Path & '"') $__Text = StringReplace($__Text, '@ScriptFullPath', '"' & $CmdLine[1] & '"') $__Text = StringReplace($__Text, '@WorkingDir', '"' & $__Path & '"') Switch StringLeft($__Text, 1) Case "'", '"' ;~ If True Then $__Result = Execute($__Text) ;~ EndIf Case Else If __Search($__Text) = 1 Then $__Result = Execute($__Text) Else $__Result = Execute('"' & $__Text & '"') EndIf EndSwitch If (@Error) Or (Not $__Result) Then ConsoleWrite('! Bad filename or expression.' & @CRLF) Exit EndIf Else $__Result = $__Text EndIf $__Result = StringRegExpReplace($__Result, '^["''\\\h]+|["''\\\h]+$', '') $__Result = _WinAPI_ExpandEnvironmentStrings($__Result) If _WinAPI_PathIsRelative($__Result) Then $__Result = _WinAPI_PathAppend($__Path, $__Result) EndIf $__Result = _WinAPI_PathSearchAndQualify($__Result) If Not FileExists($__Result) Then ConsoleWrite('! Path not found.' & @CRLF) Exit EndIf If Not _WinAPI_ShellOpenFolderAndSelectItems($__Result) Then ConsoleWrite('! Unable to open folder.' & @CRLF) EndIf Func __Search($__Path) Local $__Index = 0 Local $__Macro[23] = [ _ '@AppDataCommonDir', _ '@DesktopCommonDir', _ '@DocumentsCommonDir', _ '@FavoritesCommonDir', _ '@ProgramsCommonDir', _ '@StartMenuCommonDir', _ '@StartupCommonDir', _ '@AppDataDir', _ '@LocalAppDataDir', _ '@DesktopDir', _ '@MyDocumentsDir', _ '@FavoritesDir', _ '@ProgramsDir', _ '@StartMenuDir', _ '@StartupDir', _ '@UserProfileDir', _ '@HomeDrive', _ '@HomePath', _ '@ProgramFilesDir', _ '@CommonFilesDir', _ '@WindowsDir', _ '@SystemDir', _ '@TempDir' _ ] For $i = 0 To UBound($__Macro) - 1 $__Index = StringInStr($__Path, $__Macro[$i]) If $__Index Then ExitLoop EndIf Next Return $__Index EndFunc ;==>__Search My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
mLipok Posted February 16, 2015 Share Posted February 16, 2015 Is there maybe some newer version of lua script that creates a Function Header, which would be compatible with: https://www.autoitscript.com/wiki/Best_coding_practices mLipok Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
Developers Jos Posted February 16, 2015 Author Developers Share Posted February 16, 2015 @Jos A few remarks. "autocomplete.au3.disable" still doesn't works properly. I have made some changes in AutoItAutoComplete.lua, that fix the problem. In addition, I have added the "calltips.au3.disable" property. Now we can disable Autocomplete and Calltips separately leaving the possibility to call them manually. Merged your update with my version ... Thanks A small bug with AutoItPixmap.lua. If we call Autocomplete manually for "$" or "_" symbols, the icons color will not change. This is assuming that characters were not typed before. To solve this problem we need to call AutoItPixmap:OnChar() before the Autocomplete appears. Not sure what needs changing here. I wrote a small utility that opens the selected file or folder in Windows Explorer. This utility can work with AutoIt expression and environment variables, e.g. Not sure this is something people will use a lot. I mostly use Ctrl+e to open the Explorer in the Script directory. Thanks again for your input Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 16, 2015 Author Developers Share Posted February 16, 2015 Is there maybe some newer version of lua script that creates a Function Header, which would be compatible with: https://www.autoitscript.com/wiki/Best_coding_practices mLipok I haven't. Send me an updated LUA file and I can merge it into the production version. Cheers Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Kudo Posted February 17, 2015 Share Posted February 17, 2015 Can team intergrated folder and file explorer in SciTE? It's help us control our example better. And if you can, please improve Scite Editor GUI, it's seem very simple. Thank you! Link to comment Share on other sites More sharing options...
mLipok Posted February 17, 2015 Share Posted February 17, 2015 Minimalism is an advantage. If you want fireworks, a search for them here. Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
Developers Jos Posted February 17, 2015 Author Developers Share Posted February 17, 2015 Can team intergrated folder and file explorer in SciTE? It's help us control our example better. No clue what you are suggesting. And if you can, please improve Scite Editor GUI, it's seem very simple. Thank you! I am using the standard SciTE published by Neil Hodgson so any design request/suggestion should be posted there. Having said that I completely disagree and like it simple and sweet but could be biased. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Kudo Posted February 18, 2015 Share Posted February 18, 2015 No clue what you are suggesting. I am using the standard SciTE published by Neil Hodgson so any design request/suggestion should be posted there. Having said that I completely disagree and like it simple and sweet but could be biased. Jos It is my suggest: sidebar folder and file explorer About SciTE GUI, it just my opinion . I think should be change icon or style or upgrade with style importing (example) because i like dark style very much Link to comment Share on other sites More sharing options...
Developers Jos Posted February 18, 2015 Author Developers Share Posted February 18, 2015 About SciTE GUI, it just my opinion . I think should be change icon or style or upgrade with style importing (example) because i like dark style very much Nice but again: I am not going to even look at this as I am using the standard SciTE distribution. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 18, 2015 Author Developers Share Posted February 18, 2015 geez that is nasty why would anyone want that colour Lets not go there and share thought on the request in this thread. It ain't happening so end-of-discussion Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
MrCreatoR Posted February 19, 2015 Share Posted February 19, 2015 Bug found in Au3Stripper. Relative includes are ignored if Au3Stripper executed not from script's dir: #include "../MyInclude.au3" It should take the script's path and able to find relative includes from that directory as well. Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
jaberwacky Posted February 27, 2015 Share Posted February 27, 2015 I would like to make a feature request for SciTEConfig please. Add the option to change the caret line color alpha. It makes caret line back look better for dark themes. mLipok 1 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
mLipok Posted February 27, 2015 Share Posted February 27, 2015 Or on pure / old LCD Display panel. Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
Developers Jos Posted February 28, 2015 Author Developers Share Posted February 28, 2015 (edited) I would like to make a feature request for SciTEConfig please. Add the option to change the caret line color alpha. It makes caret line back look better for dark themes. Are you referring to this parameter?: caret.line.back.alpha Looking into this... more to follow. Jos Edited February 28, 2015 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
jaberwacky Posted March 2, 2015 Share Posted March 2, 2015 (edited) If I may be so bold, I went ahead and took the liberty of implementing this to be best of my ability. Edit -- Scractch that: I missed something. Will return shortly. Edit2: Ok, seems like I might still be missing something. But if you're interested, I'll leave that up to you. Edit3: Nailed it. Well, this is close but there might still be an issue. As far as I can tell I mimicked selection_bkcolor and selection_alpha, but not selection_color because caret line doesn't have a fore setting. No, turns out I was probably just not doing it right. I think it does work! Edited March 2, 2015 by jaberwacky Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Developers Jos Posted March 2, 2015 Author Developers Share Posted March 2, 2015 Thanks for your input. I actually did already code it yesterday and made also changes to the setting for the Selected line Alpha. It should be between 0-256 where 256 is disabled. There was also the issue that when the value is 255, it really should only show the background colour without any character to exactly simulate the behaviour in SciTE. I will see what you have done, but think I am close to the real SciTE behaviour, except taking into account that the Selected and the current caret line both apply at the same time, which isn't reflected in the displayed labels. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
jaberwacky Posted March 2, 2015 Share Posted March 2, 2015 That's why you make the big bucks. Thanks for entertaining my simple mind. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Developers Jos Posted March 3, 2015 Author Developers Share Posted March 3, 2015 That's why you make the big bucks. Yea ..right SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 3, 2015 Author Developers Share Posted March 3, 2015 Uploaded a new Beta for SciTEConfig with the added caret line background color alpha and changed logic to better replicate the result in the shown labels. Let me know if that works. By the way: I figured I like the 256 setting for both the most. Jos jaberwacky 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
jaberwacky Posted March 3, 2015 Share Posted March 3, 2015 (edited) Awesome! Thanks once again Jos. Here are those themes. SciTEConfigThemes.zip By the way: I figured I like the 256 setting for both the most. Whatever floats your boat. I aint one to judge. Edited March 3, 2015 by jaberwacky Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Recommended Posts