
Originally Posted by
CrystalPaladin
I like a toggle between the option values ie the 2nd parameter we send to the nameplatedisp macro command
or.. is there any other way i can achieve the end result with single action rather than using 2 different macro buttons?

You have to use two different macros, but it's possible to make them use only one button.
anyway we can edit a macro command upon execution? seems we can copy hotbars with macro commands can we do it for macros? idk.. any alternate solution to toggle but with single macro...
You cannot assign a single macro to a hotbar via a macro. You can only copy an entire hotbar.
There's no way to do what you want without writing two separate macros, and the only way to do what you want with a single keybind is to have those macros also swap out the whole bar and put the macros in the same slot on the two different versions of the bar.
If you want to swap out the bars, you can hide one behind your Shared bars and hide the swap buffer behind your job-specific bars.
For example, if bar 1 is not shared; bar 7 is shared:
Macro 1
Code:
/nameplatedisp other 1
/hotbar copy current 1 share 1 // back up visible job-specific current1 to invisible share1
/hotbar copy current 7 current 1 // replace visible current1 with invisible current7
/hotbar copy share 1 current 7 // save old current1 (saved in invisible share1) to invisible current7
Macro 2
Code:
/nameplatedisp other 2
/hotbar copy current 1 share 1
/hotbar copy current 7 current 1
/hotbar copy share 1 current 7
Set up:- /hotbar copy current 1 current 7
- Place Macro 1 on bar 1.
- Activate Macro 1. It will disappear from the bar.
- Place Macro 2 on bar 1 in Macro 1's place.
- Activate Macro 2. It will switch back to Macro 1.
- The Macro 1 and Macro 2 buttons now alternate on press.
If you want the toggle to be on a shared bar, you can hide the shared bar on a bar number that is not shared using the same idea.
If bars 1,2 are not shared; bar 7 is shared:
Macro 1
Code:
/nameplatedisp other 1
/hotbar copy share 7 share 1 // back up visible share 7 to invisible share 1
/hotbar copy share 2 share 7 // replace visible share 7 with invisible share 2
/hotbar copy share 1 share 2 // save old share7 (saved in invisible share1) to invisible share2
Macro 2
Code:
/nameplatedisp other 2
/hotbar copy share 7 share 1
/hotbar copy share 2 share 7
/hotbar copy share 1 share 2
In this case begin the setup process with:- /hotbar copy share 7 share 2