Can I issue a Clear All Bookmarks command from a script? I've done a quick search and there doesn't seem to be such a command available to script?
The command Clear All Bookmarks is not available as script or macro command. However, the macro code I posted at Clear All Bookmarks in Macro can be very easily converted to script function.
Code: Select all
function ClearAllBookmarks () {
while (true) {
UltraEdit.activeDocument.bottom();
UltraEdit.activeDocument.previousBookmark();
if (UltraEdit.activeDocument.isEof()) break;
UltraEdit.activeDocument.toggleBookmark();
}
UltraEdit.activeDocument.top();
}
Best regards from an UC/UE/UES for Windows user from Austria