how to save a macro against a keystroke
how to save a macro against a keystroke
Hi,
I can create a macro by use of the F7 key and then use F8 to run it. However, I need to be able to run 2 macros after each other so I would like to save a macro against keystrokes, then use the first keystroke for the first macro and the second keystroke for the second macro. Is this possible and if so how.
regards
Alan
I can create a macro by use of the F7 key and then use F8 to run it. However, I need to be able to run 2 macros after each other so I would like to save a macro against keystrokes, then use the first keystroke for the first macro and the second keystroke for the second macro. Is this possible and if so how.
regards
Alan
I need to be able to run 2 macros after each other
Why not use the the Zeus execute macro function:
Code: Select all
int result = execute("test.lua");

You can bind a macro to a keystroke using the Options, Editor Options menu, edit the keyboard mapping and select the Macro Scripts category.I would like to save a macro against keystrokes
Cheers Jussi
Hi,
I guess that it will not be available in my version then, 3.95z.
What I am tryinh to achieve it the following.
I have a large (600mb) file which is a report generated by Oracle. this file can be nicely spilt into individual reports.
The macro selects a chuck of text opens a new file copies the chunk to that file, then I want either the same or another macro the delete the chuck from the first file.
hope that makes sense.
regards
Alan
I guess that it will not be available in my version then, 3.95z.
What I am tryinh to achieve it the following.
I have a large (600mb) file which is a report generated by Oracle. this file can be nicely spilt into individual reports.
The macro selects a chuck of text opens a new file copies the chunk to that file, then I want either the same or another macro the delete the chuck from the first file.
hope that makes sense.
regards
Alan
If you have two macros scripts written then it is very easy to bind these macros to the key board.
If you used the F7 to record these macros, just use the Macros, Save As menu option to give the macros a permanent file name, making sure you save them to the zScript folder.
Then edit the current keyboard mapping using the Options, Editor Options menu. In the keyboard edit dialog you will see a Category drop down list. Just select the macros option from the list and you should see your macro in the list of macros.
So select the macro and bind it to a key
Cheers Jussi
If you used the F7 to record these macros, just use the Macros, Save As menu option to give the macros a permanent file name, making sure you save them to the zScript folder.
Then edit the current keyboard mapping using the Options, Editor Options menu. In the keyboard edit dialog you will see a Category drop down list. Just select the macros option from the list and you should see your macro in the list of macros.
So select the macro and bind it to a key

Cheers Jussi