Hi All,
I frequently take notes without capitalizing the first letter of each line. I'd like to do that with an UltraEdit script. How would I do so?
Thanks,
Rob
Welcome to the IDM Forum. This forum is meant as a user-to-user support mechanism where users can share knowledge and tips for all IDM software.
Since these forums are user-to-user based, IDM does not regularly read or reply to the posts in this forum. For problem reports, suggestions, or feature requests, you must email us directly. Our trained technical support staff answers most inquiries within 30 minutes.

InsertMode
ColumnModeOff
HexOff
PerlReOn
Find RegExp "^(\s*\w)"
Replace All "\U$1"
// Is any file currently open?
UltraEdit.ueReOn();
UltraEdit.activeDocument.hexOff();
UltraEdit.activeDocument.bottom();
// Is the last line of the file terminated with a line ending?
if (UltraEdit.activeDocument.isColNumGt(1)) {
// No, insert missing line ending (DOS, UNIX or MAC).
UltraEdit.insertMode();
UltraEdit.columnModeOff();
UltraEdit.activeDocument.insertLine();
// If auto indent is enabled and last line starts with white-spaces,
// delete the automatically inserted white-spaces in the new last line.
if (UltraEdit.activeDocument.isColNumGt(1)) {
UltraEdit.activeDocument.deleteToStartOfLine();
}
}
UltraEdit.activeDocument.top();
UltraEdit.activeDocument.findReplace.mode=0;
UltraEdit.activeDocument.findReplace.searchDown=true;
UltraEdit.activeDocument.findReplace.matchCase=false;
UltraEdit.activeDocument.findReplace.matchWord=false;
UltraEdit.activeDocument.findReplace.regExp=true;
UltraEdit.activeDocument.findReplace.replaceAll=true;
UltraEdit.activeDocument.findReplace.replace("^(\s*\w)","\U$1");



