I created a script with name bottom.js with just one line:
I start it from command line with:
The file opens at the first line. The caret goes to the bottom of the file when I run the script from the ribbon Advanced by clicking on command Play script.
The file opens at the bottom if I create a macro with the command Bottom and run it from command line with using the option /m=.
Code: Select all
UltraEdit.activeDocument.bottom();
Code: Select all
uedit64 d:\temp\test.txt /s="d:\temp\bottom.js"
The file opens at the bottom if I create a macro with the command Bottom and run it from command line with using the option /m=.