![]() ![]() STRUCTURE OF THE INI FILE - OR HOW TO ADD ANOTHER EDITOR See the ButtonSelect routine in the script for other examples and to add your own. If you would enter 'ds' (without the ') in the extra input field, it will replace %_evar_% with so the entire replacement string that is sent to your editor will be: 'This document was last updated on %_evar_%' If you include the special %_evar_% variable somewhere in your FIND or REPLACE string you can insert 'extra' text at the point. This text can either be a shorthand or can be used as entered. If you run the script, you will see you can enter text in the Extra input field. There is one special variable you can use in the Find and/or Replacement strings called %_evar_% ![]() If you EDIT a string, a backup is made of the old list in frdata.bak If your Find and Replace dialog is open it will try to copy the information from it and fill it in for you. If you click the ADD button you can enter the F&R strings and add a comment. Up/Down & Page Up/Page Down = navigate results There are a number of keyboard shortcuts:ĬTRL-Delete or F8 = Delete currently selected row Note: It doesn't execute the F&R action, so you can check the settings before you run it. You can also LOCK any editor to be the default editor. If you prefer you can choose another editor and it will try to activate that editor (which has to be opened, it does not start the editor). It tries to 'guess' your preferred editor based on the active program when you launch the script, so if you are editing in Notepad++ it will select Notepad++ as target editor. After you launch the script you can search(!) in your collection or browse using the Up/Down & PgUp/PgDown keys. It stores your F&R strings in a text file - hexified to accommodate multiline & "special" characters like %^ etc - and you can add comments to them as well. It opens the Find Files dialog and fills the 'Search for' (find) and 'Find text' (replace). Note: Although I say Editors, it can be used for other programs as well as you can see by the Total Commander INI below. But I found it to be annoying to copy them to the F&R input fields, hence this script. Many times I've made a (complex) regexp that I would need again later and I stored them in a text file. You can also store comments so you can describe what the purpose is, you can search the find, replace and comments making it easier to manage large collections. I realise most editors can remember the last +/-10 Find/Replace items or have macro capabilities, but storing them can be useful if you don't need them very often which means it is not very useful to create a macro or add them to your favourites. See the below for more information on how to add your editor if not already in the list. UltraEdit, Notepad++ and PSPad are supported by default. This script can store Find and Replace combinations for text editors. Will be made by the script if not present:įrdata.dat file that stores find/replace strings in hexified formatįrdata.bak backup file (for update/delete) FRBuddy.ahk the script (all you need to download) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |