Macro to use Trinket Slot 1?

I'm looking to make a macro that will use which ever trinket I have equipped in the first slot (or second - it doesn't matter which) so that I can have each bound to the same hotkey when I switch between them.

At the moment I'm switching out the buttons for whatever trinket I have equipped directly from my character pane, but it's a bit tedious, and I worry I'll forget one day while playing games.

This should be possible, right? I'm just not proficient enough with macros to be able to do it myself.