G
Geoff Budd
After running a macro, I would like to try and restore the screen to the
exact view that the user had before running the macro - i.e. on the correct
page and at the correct line, with the cursor in its original position and
the screen scrolled to its original point (i.e. not necessarily at the top of
the page if that was not the exact screen position). That is, so that the
user sees no change to his/her view after the macro has ended.
I presume that somehow I have to save all the parameters that define such
things as page number, cursor position, zoom ratio, scroll position, etc; and
then restore them afterwards. Is there any way of doing this?
Many thanks,
Geoff
exact view that the user had before running the macro - i.e. on the correct
page and at the correct line, with the cursor in its original position and
the screen scrolled to its original point (i.e. not necessarily at the top of
the page if that was not the exact screen position). That is, so that the
user sees no change to his/her view after the macro has ended.
I presume that somehow I have to save all the parameters that define such
things as page number, cursor position, zoom ratio, scroll position, etc; and
then restore them afterwards. Is there any way of doing this?
Many thanks,
Geoff