JIPJIP Posted March 13, 2022 Posted March 13, 2022 Hi, I have a macro where one step fills a pixel layer with a color. This color I choosed isn't recorded in the macro (if there is way to record it , please let me know how). I used this macro in a batch job one time and everything worked fine. But now, it does not fill the pixel layer with the right color. I tried to change colors in the color selector before creating and running the batch, but it seems color selector is resseted the wrong way anytime I run the batch now. It worked once, but doesn't want to now. What am I doing wrong ? Thanx. Quote
JIPJIP Posted March 13, 2022 Author Posted March 13, 2022 I have to add when I run the macro alone (not in batch), it works fine and keeps to color I put in the color selector before running it. Quote
walt.farrell Posted March 13, 2022 Posted March 13, 2022 I don't think you can choose a color before running a batch job. You probably need to choose a color within the macro. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
JIPJIP Posted March 13, 2022 Author Posted March 13, 2022 2 hours ago, walt.farrell said: I don't think you can choose a color before running a batch job. You probably need to choose a color within the macro. When I created the macro the color was right (black). When I use the macro alone (on one photo) the color is right (black). And i f change the color in the color picker before running the macro, the macro runs with the choosen color. When I used the macro in batch job the first time the color was right (black). When I use now the macro in batch job the color is wrong (white) regardless of the color in the color picker. Any idea ? Quote
carl123 Posted March 13, 2022 Posted March 13, 2022 3 hours ago, JIPJIP said: I have a macro where one step fills a pixel layer with a color. This color I choosed isn't recorded in the macro How are you filling the pixel layer? If you use the Edit > Fill command the colour is recorded in the macro JIPJIP 1 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.
JIPJIP Posted March 13, 2022 Author Posted March 13, 2022 21 minutes ago, carl123 said: How are you filling the pixel layer? If you use the Edit > Fill command the colour is recorded in the macro I will give this a try. I used the icon and mouse click to record the fill action. But what's strange is that the macro alone works as intended, but not when in batch mode ... And more than that, it worked in batch mode as intended the first time I used it (I still have my first pack of images processed right from this first time). But it has been the only time ... from the second try problem was here. But Inbetween I closed and opened again affinity photo. Quote
walt.farrell Posted March 13, 2022 Posted March 13, 2022 1 hour ago, JIPJIP said: When I use now the macro in batch job the color is wrong (white) regardless of the color in the color picker. I don't think you can depend on what the color picker shows for one document (or no documents at all) when you open another document, or run a totally different process such as New Batch Job. Unless Carl's suggestion works, I think you should select the color as part of recording the macro. That is, start recording, set the color you want to use, paint with it, and stop recording. JIPJIP 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
JIPJIP Posted March 13, 2022 Author Posted March 13, 2022 3 hours ago, walt.farrell said: That is, start recording, set the color you want to use, paint with it, and stop recording. Thanx. Didn't know. Will try this too. Quote
v_kyr Posted March 13, 2022 Posted March 13, 2022 Note that there are several things (and limitations) to take care about when recording APh Macros, especially for certain commands which are only recorded, if they are used and performed via top menu selections. - See also: Macros Macros 1.5 Macros: Equations 1.5 Macros: Layer Behaviour (* important one) Batch Processing with Macros JIPJIP 1 Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2
smadell Posted March 13, 2022 Posted March 13, 2022 I've found that the best way to create a solid color layer inside a macro, with my choice of color, is to use the Edit>Fill… command and specify the color in the dialog that opens. Make sure that "Custom color" is chosen, and choose the color by clicking in the rectangle on the right. In the 2 minute video below, I create a macro that adds a purplish color layer, and sets the blend mode to soft light. I then batch process 6 different photos and apply that new macro. It works without any problems. Batch Job - Add a Color Layer.mp4 JIPJIP, walt.farrell and R C-R 2 1 Quote Affinity Photo 2, Affinity Publisher 2, Affinity Designer 2 (latest retail versions) - desktop & iPad Culling - FastRawViewer; Raw Developer - Capture One Pro; Asset Management - Photo Supreme Mac Studio with M2 Max (2023); 64 GB RAM; macOS 13 (Ventura); Mac Studio Display - iPad Air 4th Gen; iPadOS 18
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.