dkj Posted April 23, 2018 Share Posted April 23, 2018 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? Quote Link to comment Share on other sites More sharing options...
carl123 Posted April 23, 2018 Share Posted April 23, 2018 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 dkj and John Rostron 2 Quote 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 More sharing options...
Gnobelix Posted April 23, 2018 Share Posted April 23, 2018 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 Quote 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 More sharing options...
Aaron Martin Posted October 17, 2018 Share Posted October 17, 2018 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? Quote Link to comment Share on other sites More sharing options...
Nairb Posted March 21, 2022 Share Posted March 21, 2022 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. jos 1 Quote Link to comment Share on other sites More sharing options...
jos Posted August 25, 2022 Share Posted August 25, 2022 Thanks Nairb, this was a great help for me! Quote Blog: https://jostakesphotos.blogspot.com Link to comment Share on other sites More sharing options...
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.