lee321987 Posted April 2, 2019 Share Posted April 2, 2019 (edited) Hello To reproduce the bug: open Abbreviation Manager (Menu > Tools > SciTe Config > Other Tools > Run Abbrev Manager). In the text box at top-left, enter your new abbreviation name and click button "Create". In the editor that opens, if you put a pipe character in your code (which you need there to place the cursor), then it messes up how the entry goes into this file: %LOCALAPPDATA%\AutoIt v3\SciTE\au3UserAbbrev.properties it seems to split the entry (at the pipe) into two lines so what should be: mb1=MsgBox(1, '', '|') ends up as ') mb1=MsgBox(1, '', ' The second file is: %LOCALAPPDATA%\AutoIt v3\SciTE\au3.keywords.user.abbreviations.properties I'm can't seem to reproduce it, but I am pretty sure that at some point while experimenting with this, this file ended up blank (so none of my abbreviations worked). My current workaround is to write the code (with no pipe char), click the "Add" button (closes the editor), then click the "Edit" button, and put the pipe in. Edited April 2, 2019 by lee321987 clean up Link to comment Share on other sites More sharing options...
Nine Posted April 2, 2019 Share Posted April 2, 2019 Ya I got the same, you just need to edit your first abbrev. Add the missing chars, save. Working now ! “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 2, 2019 Moderators Share Posted April 2, 2019 lee321987, Thanks for the report - looking into it. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 5, 2019 Moderators Share Posted April 5, 2019 Hi, Found the problem - _ArrayAdd splits the input on the "|" as it thinks it is a delimiter. An easy fix - just change line #552 in your "AutoIt3 Folder\SciTE\SciTEConfig\AbbrevMan.au3"to read: _ArrayAdd($aUser_Abbrev, $sAbbrev_Name & "=" & $sAbbr, Default, Default, Default, $ARRAYFILL_FORCE_SINGLEITEM) That bug has been sitting there waiting to happen for a long time (I since I rewrote the Array library in 2014, you can read all about it in this thread) - obviously very few people ever use the Abbreviation Manager to add abbreviations with the cursor set character! M23 Nine 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Nine Posted April 5, 2019 Share Posted April 5, 2019 @Melba23 Changed the line, but didn't solve the bug. Do I need to recompile something ? “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
lee321987 Posted April 7, 2019 Author Share Posted April 7, 2019 @Melba23 Thanks it worked! @Nine All I did was change line #552 of this file: C:\Program Files (x86)\AutoIt3\SciTE\SciTEConfig\AbbrevMan.au3 Nine 1 Link to comment Share on other sites More sharing options...
Nine Posted April 7, 2019 Share Posted April 7, 2019 (edited) 27 minutes ago, lee321987 said: @Melba23 Thanks it worked! @Nine All I did was change line #552 of this file: C:\Program Files (x86)\AutoIt3\SciTE\SciTEConfig\AbbrevMan.au3 Nice going, sadly it doesn't work for me NVM, I forgot I didn't installed the latest version of Scite. I had downloaded it but never installed it. Sometimes, I can kick myself. Now it is working fine...Thanks to you Lee. Edited April 7, 2019 by Nine “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy 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