- Posted by
- Strange it happened again. The code should select an area, and it did, but once the script ended, that text is automatically deselected. Well, again I simply relaunched UE, and that fixed the issue. Let's hope the UE 2022.0 fixes that by some miracle.Posted in Scripts
-   Topics
-   Views
- AEon
Mar 14, 2022
- BTW: Your code misses the error handling on function get_view_id returns -1 . There is displayed a message box informing the script user about the error, but the script continues running and accesses the UltraEdit documents array out of bounce resulting in breaking the script execution by the JavaS...Posted in Macros
-   Topics
-   Views
- AEon
Mar 13, 2022
- I read your Power Tips from 2009 ( List of UltraEdit / UEStudio script commands and most common mistakes ). And that was indeed something I was too "lazy" to do in my code (well I did wanted to ensure "searchDown"), i.e. set up all search modes properly. Ideally I'd want to write a script that gets ...Posted in Macros
-   Topics
-   Views
- AEon
Mar 13, 2022
- I don't think the bit of code I wrote is worth all the effort to properly "publish" it. It is just an example for folks that might be interested in manipulating/editing several explicitly named file views/tabs in UE. The main function is in function get_view_id ( filename ) and the rest of the code...Posted in Macros
-   Topics
-   Views
- AEon
Mar 13, 2022
- // Cut the selected text to get caret positioned at the beginning // of the selection independent on selection made from top left // to bottom right or reverse from bottom right to top left. Interesting piece of code, especially how you are able to get the top/left and bottom/righ...Posted in Scripts
-   Topics
-   Views
- AEon
Mar 12, 2022
- Thanks for putting in so much effort and the code. Will look through the code in detail. But you are right, after rebooting my Win10Pro system this morning and relaunching UE , I just tested selecting text and running the "dummy script" above. Indeed the selected text stays selected. I am guessing t...Posted in Scripts
-   Topics
-   Views
- AEon
Mar 12, 2022
- Trying to further improve a java script (for UE 28.20) I had written a few days ago. It occurred to me that the first script could not only merge text from another file into the main file (that worked fine), but also at the end pre-select the text lines I would then run my 2nd script on. Trouble is,...Posted in Scripts
-   Topics
-   Views
- AEon
Mar 11, 2022
- I wondered why I had not thought of using java script and UE, and when I checked I noted that there are 3 scripts in the menu already, but I wrote those 12 years ago. I had simply forgotten about them. Using your tips I wrote the code in java script, created a small function that lets you pass along...Posted in Macros
-   Topics
-   Views
- AEon
Mar 10, 2022
- Thanks. Ah... so no direct "skipping to a named file tab" either. Just checked the macro commands list. I'll have to, as you suggested, loop through the tabs, since I have the file tab I want to insert open already and want to keep it open. I'll need to use IfNameIs for that apparently. A real bit o...Posted in Macros
-   Topics
-   Views
- AEon
Mar 08, 2022
- UltraEdit (I am running v28.20) always had very powerful macro recording and editing, so I was surprised when a seemingly simple macro I recorded via Macro menu -> Quick record did not work. I was trying to delete some lines in the current editor view and then append a named text file to the end o...Posted in Macros
-   Topics
-   Views
- AEon
Mar 08, 2022
- So, an entry for the UltraCompare wish list : Options menu -> "Backup/restore user customization..." (as seen in UE) would be a nice thing to have.Posted in UltraCompare General Discussion
-   Topics
-   Views
- AEon
Apr 08, 2020
- Thanks for the detailed reply, I had the feeling a backup would not be trivial. The registry indeed saves workspace data in \Software\IDM Computer Solutions\UltraCompare Pro\ UltraCompare Professional \BCGWorkspace Question : So, it seems "just" unchecking Configuration - Application Layout / Use re...Posted in UltraCompare General Discussion
-   Topics
-   Views
- AEon
Apr 08, 2020
- Just recently upgraded to UE v26.20 standalone, and UltraCompare v20.00 came with the former. Only today UC v20.10 was released, but before I update, I would very much like to backup all user configuration/setting files (just in case something goes wrong with the update). The UE Advanced menu -> "Ba...Posted in UltraCompare General Discussion
-   Topics
-   Views
- AEon
Apr 07, 2020
- :) I used one shortcut in all this, lower-casing everything first. The idea behind this was to fix possible all upper-case words, or other "typing junk" to receive a consistent output. But your examples are quite interesting, it had not occurred to me to think of names. The best way, and this would ...Posted in Scripts
-   Topics
-   Views
- AEon
Oct 02, 2008
- Well... my JavaScript works as it is, so I am posting the code now. Update: ae_book_title_capitalize.js - v2 - 10/2/2008: /* * ae_book_title_capitalize.js * ----------------------------- * by AEon (C) 2008 http://www.planetquake.com/aeons * Code Provided as is, use at your own risk. * Creation Date:...Posted in Scripts
-   Topics
-   Views
- AEon
Oct 02, 2008