Was not entirely sure which forum this belonged to...
I wish to customise UE to do the following upon a Keystroke (F4):
1. Goto next bookmark (F2 in my case); and
2. MoveLineToTopofView
I started trying to do this with a macro.
Then I looked into doing this with a script.
Are there any views about which approach is best?
In both cases it was step 2 above where I came unstuck.
Macro Approach:
GotoBookMark - This worked
Could not find a command to MoveLineToTopofView. Nor could I find a command to send the shortcut key Alt-subtract
Script Approach:
UltraEdit.activeDocument.gotoBookmark(-1);
Only way I could think of to execute step 2 was to use the write() command to send Alt-Subtract.
But how to do that?
I wish to customise UE to do the following upon a Keystroke (F4):
1. Goto next bookmark (F2 in my case); and
2. MoveLineToTopofView
I started trying to do this with a macro.
Then I looked into doing this with a script.
Are there any views about which approach is best?
In both cases it was step 2 above where I came unstuck.
Macro Approach:
GotoBookMark - This worked
Could not find a command to MoveLineToTopofView. Nor could I find a command to send the shortcut key Alt-subtract
Script Approach:
UltraEdit.activeDocument.gotoBookmark(-1);
Only way I could think of to execute step 2 was to use the write() command to send Alt-Subtract.
But how to do that?