Sorry for not explaining it well. I should have provided a reference. I referred to the "Message Macro Type ASWC" in Macrology (Third Edition). I omitted the backup line because I didn't need it, and I forgot to include it in my previous post. I'd like to add some additional information.

Action names such as Hallowed Ground must be enclosed in quotation marks (or entered using auto-translation) for the command to be accepted.

Be careful when using a temporary target. Your target will return after you use an action or item, and if you use <t> in chat, it might end up referring to an enemy.

You can use "current" or "share" instead of specifying a job/class when using the "copy" subcommand. However, when using the "item" subcommand to assign an item to a hotbar slot, you cannot specify a job/class. Below is the official information for the text command:
Eorzea Database: /hotbar

Here is an example of a macro that is not tied to any specific class. Assume that hotbar 2 is not shared, and this macro is assigned to slot 6 of that hotbar.
Caution: This will overwrite shared hotbar 2.
/macrolock
/hotbar copy current 2 share 2
/hotbar share 2 on
/hotbar item "Phoenix Down" 2 6
/party raising <t> <wait.2>
/macroicon "Phoenix Down" item
/hotbar share 2 off