Jump to content
You must now use your email address to sign in [click for more info] ×

optical center for framing / shortcut for formular or other keystrokes

Recommended Posts


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:


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:"


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)".


Regarding my English, please be so kind to keep in mind, that I'm not a nativ speaker...

Link to comment
Share on other sites

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

Microsoft Windows 10 Home, Intel i7-9750H CPU @ 2.60GHz, 16 GB RAM, 500GB SSD, 1TB Whirlygig, NVIDIA GeForce RTX 2060
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.