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

Recommended Posts

I want to create a macro that will add a border to my images. To do that, I need to add a fill layer, and then move it below the image layer. But the macro editor won't record moving the layer. Is there another way to use a macro to add a border?

Link to comment
Share on other sites

To move a layer with a macro do not try to drag the layer in the layers panel

Just record selecting the layer then from the menus use

Arrange > Move back One

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

Hello dky,
Carl has already given a tip on how you can record your macro.
I also present my photos with a border, the photos will  in two sizes presented,
both in portrait and landscape format.
Brief description how my the macro works, for a Photo with triple border
and in a final size of 1200 x 800 pix.

Step one: all processing steps will closed (e,g, exposure Compensation etc.)
Step two: rastering
Step three: Document resize
Step four:  Canvas resize
Step five: fill with color
Step six: move nodes to botton
Step seven: rastering

Step five to seven twice to repeat.

Disadvantage, it will for each target size a macro is needed.
A way, how a border with a dynamic adjustment is created, I did not find.
Maybe my suggestion will help.


see macro below

Cheers

border 1200 x 800 landscape.afmacro

Affinity Photo 2.4:         Affinity Photo 1.10.6: 

Affinity Designer 2.4:    Affinity Designer 1.10.6:

Affinity Publisher 2.4:   Affinity Publisher 1.10.6:    

Windows 11 Pro  (Version 23H2 Build (22631.3447)

 

Link to comment
Share on other sites

  • 5 months later...

I would love to see affinity make a tutorial video over this. In my case it has been with so many errors, specially when cropping. You’d think when you record cropping in macro by costume ratio, it would always crop from center as its previewed. But when you do a  batch job using that macro, it crops from right and down sides instead, And keeps all top and left sides of the picture. Am i missing something here? 

Link to comment
Share on other sites

  • 3 years later...

Hello ~ For anyone who is interested I have managed to create an "Add Border Macro" that seems to work fine. You can create multiple border Macros (Various border widths) First go to Studio view and check the Macro option. The Macro panel appears.
Add new macro and Record the following actions.

1. Select ~ Select All  (Ctrl A in windows)
2. Then ~ Select > Outline
3. A Box will appear and now select from the options "Inside"
4. In the PIXELS box add what width you want the border to be eg 10px
5. Click Apply
6. Now .. Edit > Fill with Primary colour (Which makes the border White) (Secondary Colour is Black)
7. Now press the ESC key (In windows) not sure for a Mac
8. Now ~ STOP recording and Name the Macro as ~ Border 10px

Job done ~ Items in bold are on the Menu Bar.
You can create multiple variations of this eg 10px border 20px border etc. Maybe 20px Border RED or Blue etc.

Works fine for me.

 


 

Link to comment
Share on other sites

  • 5 months later...

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.