Yep, was just about to suggest. All you need to do is make the macro and click the button while in part.

Although I would say use: /ridepillion <t>
That sets it for your current target, rather than a party member, which would only apply to that position in the party each time, so it could fail?

Same as using /levelsync to quickly sync yourself to the fate levels.

My preference is using a controller on PS5. I have a number of settings turned on and most are the same across all my jobs.

Cross Hotbar #1 is always the general utility bar.
It contains Teleport, Return, Mount, Food, Spring, Stance (to unsheathe weapon and thus auto-switch me to CHB #2 for combat).
I also put my Aether Compass on here, Gysahl Greens to keep my Chocobo out while solo. Khloe's Wondrous Tails book so I can quickly use a second chance if I'm running through EX Primals to clear a book.

And it's also good for special actions, such as BLM's action to swap fire/ice, to keep it going while running between pulls, or a tank's ranged move when I'm approaching enemies. Stuff I need to use while out-of-combat and on the move.