Automated scripts (goal is to center pdf when opens)

Greetings.

I'm trying to understand how, or if, it is possible to tell BTT to automatically center on the page (I have a Macbook pro) when I open a PDF file (in Preview). I set up a regular keyboard shortcut, but can't seem to figure out if it can do this automatically. Any help would be appreciated.

Best wishes,
Marty

This can be done when creating a trigger in automations.
Automations & Named & Other Triggers -> Select Trigger -> Specific App did launch/activate -> Action -> Center App