Jump to content

Recommended Posts

Posted

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

 

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

Posted

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

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.

Guest
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.

Loading...
×
×
  • 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.