- Posted by
- First, UltraEdit.activeDocument.findReplace.find() is UE method that only accepts strings and not Regexp objects. Why? - IDM's choice. Send them a feature request asking that UE's find() method should support Regexp objects. So when I have a Regexp object in my script and need to reuse it in the fin...Posted in Scripts
-   Topics
-   Views
- jorrasdk
May 13, 2009
- One more question: Can I use alert() function in UltraEdit? Nope, the embedded javascript engine in UE supports the core functionality of JavaScript 1.7 . alert() is not core. Use UltraEdit.messageBox("message", "title"); instead. I try split() before, it won't success running. In your recommended ...Posted in Scripts
-   Topics
-   Views
- jorrasdk
May 12, 2009
- Are you sure you are reading the right manuals ? You have moved beyond UltraEdit manuals when working with strings in JavaScript. So be sure to read a JavaScript manual. In the sticky of this scripts forum you'll find links to a couple of javaScript tutorials and references. But here are few ways to...Posted in Scripts
-   Topics
-   Views
- jorrasdk
Apr 30, 2009
- Sure, a precise definition of how to count LOC is needed as explained in the Wikipedia article Source lines of code . If you have a good understanding of your coding standards you could perhaps code a script to count LOC for your projects, but why not use a tool made for this exact purpose ? You mig...Posted in UltraEdit General Discussion
-   Topics
-   Views
- jorrasdk
Jan 12, 2009
- Along the same lines as Mofis suggestion: Install the small program clip.exe which can be used to place things in the windows clipboard from a command line or batch file. Create a DOS batch file to invoke UE after putting the command line parameter on the windows clipboard: @echo %1 | clip @uedit32 ...Posted in Macros
-   Topics
-   Views
- jorrasdk
Jan 07, 2009
- OK, great, I've just found out that UltraEdit won't paste binary data at all, if it was assigned in the script ... Strange. It works for me. 4 times 0xFF is pasted into the document (DOS). Using UE 14.20.1.1001 (english edition) on a WinXP 2002 SP3.Posted in Scripts
-   Topics
-   Views
- jorrasdk
Jan 02, 2009
- No, the terminal window is only loosely integrated with the rest of the functionality of UE. You cannot interact with the terminal window through macros, scripts or user tools. My immediate thought about a possible solution to remote compilation was: = = = = EITHER: Create a Telnet/SSH account for E...Posted in FTP/SFTP / SSH/Telnet
-   Topics
-   Views
- jorrasdk
Dec 19, 2008
- Here is how: - Open your FTP file - Access menu option File - Favorite files... - Click Add active filePosted in Configuration/INI Settings
-   Topics
-   Views
- jorrasdk
Dec 09, 2008
- Thanks for the feedback !!Posted in Editor Display
-   Topics
-   Views
- jorrasdk
Nov 25, 2008
- Okay, I have not tested this, but since they are decimal Unicode character code values, String.fromCharCode() in a script with a combination of code page and font for proper Greek Unicode display might solve this problem: The script (for UE13 or above): // add a new function to String Prototype: // ...Posted in Editor Display
-   Topics
-   Views
- jorrasdk
Nov 25, 2008
- The "FTP Browser" was introduced in version 12.10 and is found at File - FTP/Telnet - Browse . Just keep open and use right click "open in UltraEdit".Posted in FTP/SFTP / SSH/Telnet
-   Topics
-   Views
- jorrasdk
Nov 20, 2008
- Here is an explanation made using RegexBuddy - also check www.regular-expressions.info for tutorials, references and more. ^(.{62}(.{7}).{139}) {10} Assert position at the beginning of a line (at beginning of the string or after a line break character) «^» Match the regular expression below and capt...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- jorrasdk
Nov 05, 2008
- Maybe Mofi has signed off for tonight ;-) - here's is how: Use Search - Replace in files... Find what: ^(.{62}(.{7}).{139})[ ]{10} Replace: \1\2... (the three dots should be three spaces) In files type: (specify your file mask) directory: (specify your path). Use "Regular expressions" and switch on ...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- jorrasdk
Nov 03, 2008
- Ok, here goes. I developed and tested the script against these test data (DOS line endings): Account user jsmith Full Name John Smith User's comment I can change everything Password last set 10/22/08 2:18 PM Workstations allowed All Group Memberships Administrators Users Account user mkendall Full N...Posted in Scripts
-   Topics
-   Views
- jorrasdk
Nov 03, 2008
- You write your question in the macro forum - but is scripts an option for you ? Tell us your version of UE (macro authors need this information too). (I have a script that almost does what you want, that I can modify and post to this forum if you use UE13 or above).Posted in Scripts
-   Topics
-   Views
- jorrasdk
Nov 03, 2008