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

Creating macros from sequence of adjustments


Recommended Posts

I understand how I can record a macro, but when I have a set of adjustments I am happy with, but did not press the record button before I started, is it still possible to create a macro from the set of adjustments?

Link to comment
Share on other sites

No, the macro recorder only records what you do between clicking on the red circle and clicking on the black square. If you cannot remember the sequence of adjustments you made it might be worth stepping backwards through the .History panel and making notes. I would recommend keeping a copy of the macro steps in a text file, in the same folder as your macro.

John

Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC

CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630

Link to comment
Share on other sites

You may also want to have a look at LUTs although I'm not 100% sure of what they are good for since I do not use them

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

4 hours ago, carl123 said:

although I'm not 100% sure of what they are good for since I do not use them

They can encapsulate a set of adjustments that have been made in the Photo Persons, so they can be applied to other photos.

https://affinity.help/photo/English.lproj/pages/Adjustments/export_3dLut.html

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

7 hours ago, ApvdG said:

I understand how I can record a macro, but when I have a set of adjustments I am happy with, but did not press the record button before I started, is it still possible to create a macro from the set of adjustments?

Yes. Select the Adjustment layers and press cmd+c to copy them to the clipboard, then start recording a macro, cmd+v to paste, stop recording. Now add the macro to the Library.

The macro can be applied to any document to paste whatever was pasted when the macro was recorded.

Link to comment
Share on other sites

Anon2, Thanks, looks like a straight forward solution, but after pasting with cntl - V I see this in my macro window, and after storing this to the library and applying it, nothing happens...

What could I be doing wrong?

 image.png.7158db29d4628f689b89d0057ae26366.png

Link to comment
Share on other sites

42 minutes ago, ApvdG said:

Anon2, Thanks, looks like a straight forward solution, but after pasting with cntl - V I see this in my macro window, and after storing this to the library and applying it, nothing happens...

What could I be doing wrong?

 image.png.7158db29d4628f689b89d0057ae26366.png

I don't know. All i know is that the instructions I wrote work on my Mac. Maybe broken in Photo on Windows.

Link to comment
Share on other sites

@anon2: is it possible that such a macro is sensitive to the layer structure of the document? 

I suspect it is, and the macro might work if the document has one pixel layer, and the adjustment layers, when the macro is recorded. And that same structure when it is played against another document.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

24 minutes ago, walt.farrell said:

@anon2: is it possible that such a macro is sensitive to the layer structure of the document? 

I suspect it is, and the macro might work if the document has one pixel layer, and the adjustment layers, when the macro is recorded. And that same structure when it is played against another document.

Not for me. I can open any Affinity document, play the macro and get the expected paste (even if I copy some other object(s) before playing the macro).

Link to comment
Share on other sites

6 minutes ago, anon2 said:

Not for me. I can open any Affinity document, play the macro and get the expected paste (even if I copy some other object(s) before playing the macro).

Thanks.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

1 hour ago, anon2 said:

Did my instructions fail on your Windows machine, Walt?

Haven't had a chance to try, yet. Was just hypothesizing why they might have failed for @ApvdG.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

3 hours ago, anon2 said:

Did my instructions fail on your Windows machine, Walt?

No, they work on Windows for me.

With the Assistant configured to add adjustments as child layers, the first adjustment got added as a child, and the second one as a separate layer. I didn't think I'd be able to copy both adjustments with that setup, so I modified the Assistant to create adjustments as separate layers in all cases, copied a set of adjustments, started recording a macro and did a Paste. Then saved the macro into the library and played it on a different image.

I only tried it with simple images; just the background layer. But I had multiple adjustments.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Surprisingly (to me at least) it appears that adjustment layers can also be added to assets so you can just drag an adjustment layer from assets to another image.

You can also group adjustments and add the group to your assets but when that group is dragged to another image nothing happens unless you then ungroup it and zoom in/out to refresh the screen.

At least that is what I am seeing, not sure if that is just my setup or a bug?

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

57 minutes ago, carl123 said:

Surprisingly (to me at least) it appears that adjustment layers can also be added to assets so you can just drag an adjustment layer from assets to another image.

You can also group adjustments and add the group to your assets but when that group is dragged to another image nothing happens unless you then ungroup it and zoom in/out to refresh the screen.

At least that is what I am seeing, not sure if that is just my setup or a bug?

Yup that works for me too, although I just ungroup and uncheck/check the adjustment layers and they become active. I tried doing that on the group but it didn’t work. How cool is that Adjustments as Assets.

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

You can also save Live Filter Effects to assets but this appears to be much more buggy with quite a few crashes before I got it to work

Which means I was able to add a Layer > New Live Filter Layer > Distort > Ripple effect to assets in APhoto then export and import that asset in Designer (and presumably Publisher - untested) then add the ripple effect directly from my assets onto an image in Designer.

Cool, if this was a little less buggy I could have all my Live Filter Effects as assets directly in Designer and Publisher.

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

10 hours ago, walt.farrell said:

With the Assistant configured to add adjustments as child layers, the first adjustment got added as a child, and the second one as a separate layer.

Just in case it is not obvious to some users reading this, the macro records however the Assistant is set during the record process. This means it does not matter when using it on another file how the Assistant is set at that time.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

3 hours ago, carl123 said:

Cool, if this was a little less buggy I could have all my Live Filter Effects as assets directly in Designer and Publisher.

Understatement of the year. I thought it to be useful to add Live Filter Effects to Assets. Unfortunately it crashed APu and after restart it crashed again. In the end I had to reset my assets. Lesson learned. :(

 

------
Windows 10 | i5-8500 CPU | Intel UHD 630 Graphics | 32 GB RAM | Latest Retail and Beta versions of complete Affinity range installed

Link to comment
Share on other sites

6 minutes ago, Joachim_L said:

Unfortunately it crashed APu and after restart it crashed again. In the end I had to reset my assets

Yep, that happened to me after I tried adding a Gaussian Blur Filter but I did manage to add and export a Ripple filter asset

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

Thanks all for reacting. All interesting, although as a relative novice it is not all that clear to me (e.g. not sure what an asset is). So, back to the original question, would it be an idea to ask the development team to consider implementing the following:

Once the user has developed a nice sequence of adjustments / live filters, allow the user to select them all in the layers panel and offer the option (on a right mouse click) to "save as macro".

Link to comment
Share on other sites

1 minute ago, ApvdG said:

Thanks all for reacting. All interesting, although as a relative novice it is not all that clear to me (e.g. not sure what an asset is). So, back to the original question, would it be an idea to ask the development team to consider implementing the following:

Once the user has developed a nice sequence of adjustments / live filters, allow the user to select them all in the layers panel and offer the option (on a right mouse click) to "save as macro".

Did you get my workaround above to work (it is working for other Windows users) so you have something until the developers implement your idea?

Also, you have a better chance of the developers reading your request if you post it in a new thread at: https://forum.affinity.serif.com/index.php?/forum/55-feedback-for-affinity-photo-on-desktop/

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.

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.