Script that mimics the InDesign Align Left and Align Right buttons
UPDATE: I have since learned some basic javascript and achieved what I wanted.
Hello community. For years I have wanted a way to assign a shortcut to the Align Left and Align Right buttons, but I have been unsuccessful in my search for this mystical creature. If anyone knows of a way to do this in a script or otherwise, I would appreciate it if you shared this with me. Currently I am using Keyboard Maestro to accomplish this, however there is a limitation when I change the application window size and the button locations move. I am not very knowledgeable in Javascript but I have tinkered with it, sometimes successfully so. However, I can't seem to find the magical ingredient to simply mimic these buttons. Any help is gratefully appreciated.


