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

Problem when Macro Recording for New Pattern Layer from Selection


Recommended Posts

Hi everyone,

I want to create some batch job to create pattern background by doing the action "New Pattern Layer from Selection" based on the image. The input is png images. So I do macro recording by unlocking the layer and doing the action to create pattern layer from selection. My problem is when I applied it to other files, the pattern is not changing based on the image inside. It's using the same image that I used for macro recording instead. So all the output images is the same.

Is this a bug? and Is there any workaround to get my desired result (the pattern is based on the image input to the batch job)?

Thank you in advance!

Link to comment
Share on other sites

It's probably just another example of the way that Affinity macros work. They often record the results of an action, not the action itself. For example, if you used Edit > Copy you would have whatever you copied "baked" into the macro permanently. This sounds like the same kind of thing.

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

Sorry, I have no idea if there's a way to do what you want.

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

The basics...

Create an empty pattern layer (Layer > New Patten Layer)

In the image make a selection and control J to duplicate the selection onto a new layer

Center the new layer in the document

Move new layer above pattern layer

Merge down new layer into pattern layer

 

The problem...

Will probably only work on same size or very similar sized images

Too many questions/variables in your workflow to create the macro for you

 

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 weeks later...
On 1/31/2022 at 6:43 PM, carl123 said:

The basics...

Create an empty pattern layer (Layer > New Patten Layer)

In the image make a selection and control J to duplicate the selection onto a new layer

Center the new layer in the document

Move new layer above pattern layer

Merge down new layer into pattern layer

 

The problem...

Will probably only work on same size or very similar sized images

Too many questions/variables in your workflow to create the macro for you

 

I've tried and it works! thanks @carl123

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.