Difference between revisions of "How do I Add a Macro to a Button?"
m |
Katy Kitchen (talk | contribs) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Review}} |
== Summary == | == Summary == | ||
This article explains how to add a button to use a macro. | This article explains how to add a button to use a macro. | ||
== More Information == | == More Information == | ||
− | You can record keystrokes for a task and save them as keystroke macros. See [[Keyboard Macros]] for details of how to record them. Once you have a macro recorded and saved, you can add it to a button for simplicity. | + | You can record keystrokes for a task and save them as keystroke macros. See [[Keyboard Macros]] for details of how to record them. Once you have a macro recorded and saved, you can add it to a button for simplicity. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | === Creating a New Button === | |
− | + | At the end of recording your macro you will be asked if you wish to create a button. Choose {{Button|Yes}} at this prompt. | |
− | |||
− | |||
− | |||
− | + | {{Information|text=If you select {{Button|No}} by mistake follow [[#Creating a Button Retrospectively|these]] instructions.}} | |
− | |||
− | |||
− | + | * The system will default to linking this button to your user code only. To give all users the ability to use this button blank out the {{DataPrompt|User}} box. | |
− | |||
− | |||
− | + | {{Note|text=You will also need to make sure you have given all users access to the macro too or the button will not work for them!}} | |
− | |||
− | + | * If necessary enter a {{DataPrompt|Site}} to link this button to. Press {{KeyPress|C+F1}} to search for a Site code. You may leave this field blank. | |
− | + | * A default icon will be displayed. To select a different icon click {{Button|Search}}. | |
− | + | * Choose an icon from those displayed by clicking on it. | |
− | + | * If you want to enter a text prompt you have up to 20 characters. If you leave this blank the system will display the Macro Name when you hover your cursor over the button. | |
+ | * If you want a divider to appear before the button choose {{DataValue|Yes}} at the {{DataPrompt|Divider}} prompt. A dividing line will appear before this button to separate it from the buttons and options already on the bar at the top of your screen. | ||
+ | * Click {{Button|Done}} and Accept your new button. | ||
− | + | === Creating a Button Retrospectively === | |
− | + | * Go into Platinum and onto the field you want to link the button to i.e. the field your macro starts from. | |
− | + | * Press {{KeyPress|F12}} to view the Functions available from that field. | |
− | + | * Click {{Button|Custom}}. | |
+ | {{Note|text=If you have already created buttons for this program and/or User you will need to click {{Button|Add}} to create a new button.}} | ||
+ | * The system will default to linking this button to your user code only. To give all users the ability to use this button blank out the {{DataPrompt|User}} box. | ||
+ | * If necessary enter a {{DataPrompt|Site}} to link this button to. Buttons linked to all Users will be restricted to those at the specified site. Press {{KeyPress|C+F1}} to search for a Site code. You may leave this field blank. | ||
+ | * Click {{Button|Select Function}}. | ||
+ | * Highlight the relevant function and click {{Button|Choose}}. | ||
− | {{Note| | + | {{Note|text=Macros will be those starting ''A-''.}} |
+ | |||
+ | * A default icon will be displayed. To select a different icon click {{Button|Search}}. | ||
+ | * Choose an icon from those displayed by clicking on it. | ||
+ | * If you want to enter a text prompt you have up to 20 characters. If you leave this blank the system will display the macro name when you hover your cursor over the button. | ||
+ | * If you want a divider to appear before the button choose {{DataValue|Yes}} at the {{DataPrompt|Divider}} prompt. A dividing line will appear before this button to separate it from the buttons and options already on the bar at the top of your screen. | ||
+ | * Click {{Button|Done}} and Accept your new button. | ||
+ | |||
+ | === Editing an Existing Button === | ||
+ | To edit existing buttons go to {{Menu|Systems|{{RP}}|Maintenance Options|Add or Edit Custom Buttons}}. | ||
+ | ** To narrow the search you can specify any of the ranges or simply click {{Button|Search}}. | ||
+ | ** {{DataPrompt|Program}} : If you know the program your button is linked to you may enter it here or press {{KeyPress|C+F1}} to select from a list of programs. | ||
+ | ** {{DataPrompt|User}} : If you know the specific user a button is linked to you may enter their User Code or press {{KeyPress|C+F1}} to select from a list of users. If a button has been linked to all users you should leave this field blank. | ||
+ | ** {{DataPrompt|Site}} : If you know the specific site a button is linked to you may enter the Site Code or press {{KeyPress|C+F1}} to select from a list of sites. If a button has not been linked to a specific site you should leave this field blank. | ||
+ | ** {{DataPrompt|Filter on}} : You may enter the name or part of the name of a button to find it. You may leave this field blank. | ||
+ | * Highlight the button to edit and click {{Button|Edit}}. | ||
+ | * Make your changes e.g. to alter the Icon used or change the Text displayed then click {{Button|Done}} and {{Button|Accept}} to save your changes. | ||
+ | |||
+ | {{Information|text=Alternatively you may press {{KeyPress|F12}} from any field where the Functions menu is available. | ||
+ | * Click {{Button|Custom}}. | ||
+ | * If the option to add a new button pops up click {{Button|Exit}}. | ||
+ | * Follow the instructions above to search for and edit your chosen button.}} | ||
+ | |||
+ | === Removing an Existing Button === | ||
+ | To edit remove a button go to {{Menu|Systems|{{RP}}|Maintenance Options|Add or Edit Custom Buttons}}. | ||
+ | ** To narrow the search you can specify any of the ranges or simply click {{Button|Search}}. | ||
+ | ** {{DataPrompt|Program}} : If you know the program your button is linked to you may enter it here or press {{KeyPress|C+F1}} to select from a list of programs. | ||
+ | ** {{DataPrompt|User}} : If you know the specific user a button is linked to you may enter their User Code or press {{KeyPress|C+F1}} to select from a list of users. If a button has been linked to all users you should leave this field blank. | ||
+ | ** {{DataPrompt|Site}} : If you know the specific site a button is linked to you may enter the Site Code or press {{KeyPress|C+F1}} to select from a list of sites. If a button has not been linked to a specific site you should leave this field blank. | ||
+ | ** {{DataPrompt|Filter on}} : You may enter the name or part of the name of a button to find it. You may leave this field blank. | ||
+ | * Highlight the button to delete and click {{Button|Remove}}. | ||
+ | * Click {{Button|Yes}} to remove the button. | ||
+ | |||
+ | {{Information|text=Alternatively you may press {{KeyPress|F12}} from any field where the Functions menu is available. | ||
+ | * Click {{Button|Custom}}. | ||
+ | * If the option to add a new button pops up click {{Button|Exit}}. | ||
+ | * Follow the instructions above to search for and remove your chosen button.}} | ||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
Line 57: | Line 78: | ||
* [[Keyboard Macros]] | * [[Keyboard Macros]] | ||
− | {{KB_Tags|macro button, macro, shortcut}}{{ZN_Admin}}{{Guide}} | + | {{KB_Tags|macro button, macro, shortcut, custom button}}{{ZN_Admin}}{{Guide}} |
{{KB_Ref|RP43}} | {{KB_Ref|RP43}} |
Revision as of 10:46, 18 July 2016
![]() |
This article or section is under review. Be aware: Content may change as the document is reviewed. |
Contents
Summary
This article explains how to add a button to use a macro.
More Information
You can record keystrokes for a task and save them as keystroke macros. See Keyboard Macros for details of how to record them. Once you have a macro recorded and saved, you can add it to a button for simplicity.
Creating a New Button
At the end of recording your macro you will be asked if you wish to create a button. Choose [Yes] at this prompt.
![]() | If you select [No] by mistake follow these instructions. |
- The system will default to linking this button to your user code only. To give all users the ability to use this button blank out the "User" box.
![]() | You will also need to make sure you have given all users access to the macro too or the button will not work for them! |
- If necessary enter a "Site" to link this button to. Press <C+F1> to search for a Site code. You may leave this field blank.
- A default icon will be displayed. To select a different icon click [Search].
- Choose an icon from those displayed by clicking on it.
- If you want to enter a text prompt you have up to 20 characters. If you leave this blank the system will display the Macro Name when you hover your cursor over the button.
- If you want a divider to appear before the button choose 'Yes' at the "Divider" prompt. A dividing line will appear before this button to separate it from the buttons and options already on the bar at the top of your screen.
- Click [Done] and Accept your new button.
Creating a Button Retrospectively
- Go into Platinum and onto the field you want to link the button to i.e. the field your macro starts from.
- Press <F12> to view the Functions available from that field.
- Click [Custom].
![]() | If you have already created buttons for this program and/or User you will need to click [Add] to create a new button. |
- The system will default to linking this button to your user code only. To give all users the ability to use this button blank out the "User" box.
- If necessary enter a "Site" to link this button to. Buttons linked to all Users will be restricted to those at the specified site. Press <C+F1> to search for a Site code. You may leave this field blank.
- Click [Select Function].
- Highlight the relevant function and click [Choose].
![]() | Macros will be those starting A-. |
- A default icon will be displayed. To select a different icon click [Search].
- Choose an icon from those displayed by clicking on it.
- If you want to enter a text prompt you have up to 20 characters. If you leave this blank the system will display the macro name when you hover your cursor over the button.
- If you want a divider to appear before the button choose 'Yes' at the "Divider" prompt. A dividing line will appear before this button to separate it from the buttons and options already on the bar at the top of your screen.
- Click [Done] and Accept your new button.
Editing an Existing Button
To edit existing buttons go to " Systems Reports & Settings Maintenance Options Add or Edit Custom Buttons".
- To narrow the search you can specify any of the ranges or simply click [Search].
- "Program" : If you know the program your button is linked to you may enter it here or press <C+F1> to select from a list of programs.
- "User" : If you know the specific user a button is linked to you may enter their User Code or press <C+F1> to select from a list of users. If a button has been linked to all users you should leave this field blank.
- "Site" : If you know the specific site a button is linked to you may enter the Site Code or press <C+F1> to select from a list of sites. If a button has not been linked to a specific site you should leave this field blank.
- "Filter on" : You may enter the name or part of the name of a button to find it. You may leave this field blank.
- Highlight the button to edit and click [Edit].
- Make your changes e.g. to alter the Icon used or change the Text displayed then click [Done] and [Accept] to save your changes.
![]() | Alternatively you may press <F12> from any field where the Functions menu is available.
|
Removing an Existing Button
To edit remove a button go to " Systems Reports & Settings Maintenance Options Add or Edit Custom Buttons".
- To narrow the search you can specify any of the ranges or simply click [Search].
- "Program" : If you know the program your button is linked to you may enter it here or press <C+F1> to select from a list of programs.
- "User" : If you know the specific user a button is linked to you may enter their User Code or press <C+F1> to select from a list of users. If a button has been linked to all users you should leave this field blank.
- "Site" : If you know the specific site a button is linked to you may enter the Site Code or press <C+F1> to select from a list of sites. If a button has not been linked to a specific site you should leave this field blank.
- "Filter on" : You may enter the name or part of the name of a button to find it. You may leave this field blank.
- Highlight the button to delete and click [Remove].
- Click [Yes] to remove the button.
![]() | Alternatively you may press <F12> from any field where the Functions menu is available.
|
See also
RP43