AnaDia Posted February 19, 2023 Posted February 19, 2023 Hi, Reading some advice regarding optical alignment for framing, I found a formular which can be used in the transformation panel. Maybe I missed something, but it would be great, if I don't need to input the whole formular all the time I want to use it. Will it be possible to create a macro or some kind of individual shortcut for the formular? My current use case is for sure only one example for the question behind it. Ah, and not to forget, it should work in all three apps 🙂 So regarding the my use case: http://www.russellcottrell.com/photo/centering.htm E.g. being in photo, create an A4 document and add layer with a rectangle. Select the layer go to the transformation panel, make sure, the upper left or at least one of the three upper reference nodes is active and input the following formular for "Y:" (sw+w)*(sh-h)/(4*sw) Works well, but it would be nice, to have something like "oc" or "hoc" as input shortcut. I tried to record a macro, but it looks like it doesn't work for that scenario. Or maybe an option to create individual shortcuts could do the job. Something like type "%oc" and get "(sw+w)*(sh-h)/(4*sw)". Quote Regarding my English, please be so kind to keep in mind, that I'm not a nativ speaker...
David in Яuislip Posted February 19, 2023 Posted February 19, 2023 You'd need a proper scripting language not Photo macros, besides they only work with Photo not the other two programs and macros can't be run from a shortcut Also I would use round((sw+w)*(sh-h)/(4*sw)) so that the Y value will be an integer Thanks for the link, I'll stretch my brain a bit with that Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.