A limited set of actions can assigned via macro commands. Incompatible actions are ommited from the generated macro. Also note that Macros are limited to 15 lines each.
Main caster. XIVcombo.
Off tank. Adapted for XIVcombo.
Main tank. Adapted for XIVcombo.
Main ranged.
Maybe
/micon Shirk /merror off /ac Shirk<t> /ac Royal Guard
Here is my gunbreaker cross hotbars!
The crystal is a potion item.
Layout created by the YouTuber Squintina https://www.youtube.com/watch?v=s3LA7ap4gM0 with some adaptations.