Mr. Doodlezz Posted May 12, 2023 Posted May 12, 2023 Hey everyone, This is a bit niche and I have not checked if a topic like this already exists. What I'm looking for is a compatibility guide with workarounds for creating macros. For the past few days I have been trying to create macros but keep getting stuck because its so unbelievably cumbersome. One big PIA is the level selection. It’s a mess with all its confirmation prompts – just select the damn level I clicked on already! Anyway, I already got used to that by now, that’s not the issue. These two are my current questions, and I haven’t found a solution for it, maybe some of you have ideas? Creating a fill layer and changing its colour It's just not possible, you'll get this warning and the colour will be reset: Select all (as in an unspecified number) layers (to group them or similar) There's no keyboard shortcut or menu item that does this, as far as I know. Anyway, for some reason I didn't notice the option in the menu. It even has a shortcut! 🤦♂️ Solution: Select → Select all Layers or ⌥⌘A Do you have similar questions? Is there maybe already a place where questions like these get asked and answered? Does someone know how to get these operations to work or how to work around them? Have a nice weekend Dennis Quote
firstdefence Posted May 12, 2023 Posted May 12, 2023 Many things that cannot be done using mouse movement can be done using the menu selection, if a menu option exists, I know that you have to move the mouse to do that but you know what I mean. So to that end you can create a fill layer and then from the Edit menu use Fill... and add a fill or so you would think, but, it doesn't work, how frustrating is that!!! what it appears to do is set the fill layer to a semi transparent state. Mr. Doodlezz 1 Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
Mr. Doodlezz Posted May 12, 2023 Author Posted May 12, 2023 14 minutes ago, firstdefence said: Many things that cannot be done using mouse movement can be done using the menu selection, if a menu option exists, I know that you have to move the mouse to do that but you know what I mean. So to that end you can create a fill layer and then from the Edit menu use Fill... and add a fill or so you would think, but, it doesn't work, how frustrating is that!!! what it appears to do is set the fill layer to a semi transparent state. Yes, there are countless problems I encounter all the time when trying to create a clean macro. The whole recording process isn't as smooth as I'd like it to be. Also, the actions within a recorded macro cannot be rearranged or deleted (only disabled), so there's no proper way to clean things up after recording – my OCD is in full swing rn. 😖 Quote
v_kyr Posted May 12, 2023 Posted May 12, 2023 47 minutes ago, Mr. Doodlezz said: Yes, there are countless problems I encounter all the time when trying to create a clean macro. The whole recording process isn't as smooth as I'd like it to be. Also, the actions within a recorded macro cannot be rearranged or deleted (only disabled), so there's no proper way to clean things up after recording – my OCD is in full swing rn. 😖 Well, yes there are generally many limitations for the APh macro recording facility and a lot of things won't work here at all. Where the most critical, beside certain not recordable actions is, the missing runtime dynamics for adapting doc sizings and the like. - Also the macro layer behaviors (and certain other operations) have to be menu based recorded in order to be taken into account at all. - For the later said about layer behavior, one of the older APh tutorial videos is still essential to know (marked below), as it partly shows how one have to deal with those things then. Macros Macros Macros: Equations Macros: Layer Behaviour <*** Batch Processing with Macros 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
Staff stokerg Posted May 12, 2023 Staff Posted May 12, 2023 3 hours ago, Mr. Doodlezz said: Creating a fill layer and changing its colour It's just not possible, you'll get this warning and the colour will be reset: I can't see another way to do this. I've tried a few things and all result in 'Can't Record Set Fill'. I'm just trying to work out the logic of being able to record adding a fill layer but not being able to record setting the fill. I'll see if I can find out any information on this, as it is possible I've missed the point of being able to add the fill layer but not set the fill. Mr. Doodlezz 1 Quote
carl123 Posted May 12, 2023 Posted May 12, 2023 3 hours ago, Mr. Doodlezz said: 1. Creating a fill layer and changing its colour It's just not possible, you'll get this warning and the colour will be reset: Choose the colour first then add the Fill Layer The colour chosen does not show in the macro recording steps but the fill layer is recreated using that colour Old Bruce and Mr. Doodlezz 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.
David in Яuislip Posted May 12, 2023 Posted May 12, 2023 If you always want the same fill colour then do carl123's method To allow colour change then the best I've come up with is this which uses Colour Overlay fx on a white pixel layer When you run the macro and click on the colour panel to change it, the sliders don't work (I'm using RGB Hex) and you have to sort of stab at the colour bar or else type or paste in the hex value FoxFill.afmacro Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10
Mr. Doodlezz Posted May 12, 2023 Author Posted May 12, 2023 Another question: Is there a way to show the individual actions in the history palette, rather than just the name of the macro that played? I'm having a really hard time with my macros and there's no way to find out at what point my sequence went wrong - there's just no way to undo it step by step, just the end result, which is completely different from what I saw when I created the action. And even if I could understand where something went wrong in my macro, there is no way to rearrange/correct individual sections/actions within a macro. I’d have to start at 0. Ugh! Or am I missing something? 😩 I'm not talking about de-activating individual actions within a saved macro, I'm talking about changing the order in which they appear chronologically. (Even though I know it’ll probably break the Macro in another way, but than again you’d fix that as well.) Quote
firstdefence Posted May 12, 2023 Posted May 12, 2023 The Macro feature is very rudimentary, but this is the case with a lot of Affinity brushes, assets, styles etc have little in the way of edit-ability or organisational options. I find this odd because from my experience the majority of professionals are quite organised aka pencil straighteners, it's like everything has been done a bit half-hearted. Whether that was to get a product to market I don't know but as Affinity matures the lack of these organisational features become more and more obvious and grind workflows to a halt while workarounds are found. It's the same with Macro's it's almost like a token gesture more than a powerful ally and workarounds have to be found to fill in the gaps. Mr. Doodlezz and lepr 1 1 Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
firstdefence Posted May 12, 2023 Posted May 12, 2023 43 minutes ago, Mr. Doodlezz said: Is there a way to show the individual actions in the history palette, rather than just the name of the macro that played No, it's the macro that is recorded in the history not the macro steps contained within, so you would undo the macro and consequently all of the steps contained therein. I'm assuming you'd like to be able to expand the recorded macro in the history to step back a few steps or simply to see the process has been run correctly? Mr. Doodlezz 1 Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
David in Яuislip Posted May 12, 2023 Posted May 12, 2023 I'm a bit short of time at the moment, hopefully this picture tells a story. Editing macros is not possible and the workarounds are woeful, it is what it is Mr. Doodlezz 1 Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10
Mr. Doodlezz Posted May 12, 2023 Author Posted May 12, 2023 30 minutes ago, firstdefence said: No, it's the macro that is recorded in the history not the macro steps contained within, so you would undo the macro and consequently all of the steps contained therein. I'm assuming you'd like to be able to expand the recorded macro in the history to step back a few steps or simply to see the process has been run correctly? Yeah, something like that. I'd like to follow the process and go back step by step and analyse at what point the action went wrong. I know you can edit macros from the library. But even that's limited to a) what parameters to display while the macro is running, and b) either disabling or enabling certain actions of that macro. Rearranging is impossible. This means that a) we can't analyse where a macro went wrong because it doesn't create a viewable/scrollable history, and b) we can't reorder certain actions because of logical errors. Man, both of these problems render the macros feature basically useless at this point. I’d rather memorize the steps and create the same thing from scratch every time. At least that way I get what I want/need. 😒 Quote
Mr. Doodlezz Posted May 12, 2023 Author Posted May 12, 2023 10 minutes ago, David in Яuislip said: I'm a bit short of time at the moment, hopefully this picture tells a story. Editing macros is not possible and the workarounds are woeful, it is what it is Ah yes, I hadn't really thought of it that way – thanks @David in Яuislip! But to me it just feels like cluttering up the macro even more, besides I’m completely loosing overview. Argh! Edit: Oh wait, but that means … if, hypothetically speaking, steps 3-65 were correct but step 2 was wrong … I'd have to redo steps 2-65? 🤣 Haha … and here I thought macros were there to save us time and make our lives easier. I guess I was wrong all along. 🥲 Quote
Old Bruce Posted May 12, 2023 Posted May 12, 2023 32 minutes ago, David in Яuislip said: ... hopefully this picture tells a story. Editing macros is not possible and the workarounds are woeful, it is what it is 26 minutes ago, Mr. Doodlezz said: if, hypothetically speaking, steps 3-65 were correct but step 2 was wrong … I'd have to redo steps 2-65? That many steps in a macro makes me nervous. I record several short Macros, then record a macro which is just playing all the different macros in the proper order, not necessarily the order I recorded them in. "Editing" becomes easier. Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.5.7 | Affinity Photo 2.5.7 | Affinity Publisher 2.5.7 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that.
Mr. Doodlezz Posted May 12, 2023 Author Posted May 12, 2023 9 minutes ago, Old Bruce said: That many steps in a macro makes me nervous. I record several short Macros, then record a macro which is just playing all the different macros in the proper order, not necessarily the order I recorded them in. "Editing" becomes easier. I was also thinking about this kind of workaround (there it is again), macros that build on top of each other. While yes, single macros creating one big macro makes them easier to edit, it adds another level of complexity imo. 🫠 Also, of the 65 single actions, about 30% are a combination of »select parent layer«, »select group« and/or »select layer x«. 😩 Quote
Mr. Doodlezz Posted May 13, 2023 Author Posted May 13, 2023 I just don't get it … why won’t Photo offer me the first option, select the layer by name? As I understand it, it's literally one of the most basic tasks – select a layer called »Base« within that group. I don't want to »Select child number 1«, I want the layer with that exact name. Why is this option not available? Man, this is getting me all worked up and I have not even had a proper breakfast. 😩 Unable_To_Select_Named_Layer_Within_Group.mp4 Quote
David in Яuislip Posted May 13, 2023 Posted May 13, 2023 15 hours ago, Mr. Doodlezz said: if, hypothetically speaking, steps 3-65 were correct but step 2 was wrong … I'd have to redo steps 2-65? No, it's not that bad Just turn off the first two steps and save to Library as Part2 Record a new macro step 1 Same as the old one step 2 The correct step 2 step 3 Call Part2 Have a look at thishttps://forum.affinity.serif.com/index.php?/topic/182995-functionality-no-longer-in-photo-v2/#comment-1061879 and the url link, it might explain your problems with recording the selection of a particular layer. I have not investigated child layers, I lost the will to live The secret to retaining your sanity when using macros is being able to outthink the Serif programmers and realising when to give up Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10
smadell Posted May 14, 2023 Posted May 14, 2023 As to the inability to specify a color for a Fill layer, I have found that (i) there is no way to specify a pre-determined color for a Fill Layer; but (ii) you can add a Pixel Layer and fill it with a color, and you can specify that color as part of the macro. Not at my desktop right now, so I hope I get all this in the right order. (1) Add Pixel Layer, and optionally give it a name; (2) Choose Fill... from the Edit menu; (3) In the dialog box that opens, click in the color box next to "Custom Color" (or whatever it might be called - don't remember). Once the color picker dialog opens up, specify the desired color with which to fill the pixel layer; and (4) Close the color chooser and click "OK" within the Fill... dialog. What you get is a Pixel Layer filled with a single color, of your choice. The macro will remember the choice you made, and will be repeatable in the future (irrespective of what the application's Color Picker currently shows). Changing the color of the layer after the macro has been run is obviously not as simple as it would be for a Fill layer, but it's a start... 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
Mr. Doodlezz Posted May 14, 2023 Author Posted May 14, 2023 On 5/13/2023 at 10:01 AM, David in Яuislip said: No, it's not that bad Just turn off the first two steps and save to Library as Part2 Record a new macro step 1 Same as the old one step 2 The correct step 2 step 3 Call Part2 Have a look at thishttps://forum.affinity.serif.com/index.php?/topic/182995-functionality-no-longer-in-photo-v2/#comment-1061879 and the url link, it might explain your problems with recording the selection of a particular layer. I have not investigated child layers, I lost the will to live The secret to retaining your sanity when using macros is being able to outthink the Serif programmers and realising when to give up Right, so it's nesting then? Because I want to avoid nesting at all costs, because for me it adds a whole new level of confusion and complexity to the subject. Instead of correcting in one macro, you end up having to correct in 3 – that just screams for more continuity errors to me. 🥴 Or does it add the raw steps instead of linking other macros? 🤔 Forget all that, I just tried this. Setting up the custom input fields while running a macro within a macro is suuuuper messy – I'm out, sorry. Quote
Mr. Doodlezz Posted May 14, 2023 Author Posted May 14, 2023 Yesterday I had something of a breakthrough, I finally got my macro to work flawlessly. ✨ The first thing the macro does is deselect everything – nothing is selected – in order to follow my principle to make it as independent and nondestructive as possible, right until the end. And it worked like a charm! Now, running it today with the same document, the very first thing that happens is this: It was rasterised because it wasn't rasterised – got it, thanks for that very detailed explanation! 🤦♂️ The base layer/group, which doesn’t even get touched by the action, instantly gets rasterised without any reason. Why? Why now? What has changed?! There is literally no previously selected layer, and even if there were, it wouldn't affect the Macro because it works with its own newly added layers! Man, this whole macro thing is so bloody buggy. It's so frustrating that I might just stop trying and accept that they're not really an alternative to Actions at this point. Damn! And yes, I know you can turn this off in the Assistants options – it's just that you shouldn't have to because there’s no reason for it! Quote
David in Яuislip Posted May 14, 2023 Posted May 14, 2023 51 minutes ago, Mr. Doodlezz said: Right, so it's nesting then? Because I want to avoid nesting at all costs, because for me it adds a whole new level of confusion and complexity to the subject. Instead of correcting in one macro, you end up having to correct in 3 – that just screams for more continuity errors to me. I don't understand your term nesting. What I described was a means to salvage a hypothetical 65 step macro which had an error at step2 You can't edit macros, all you can do is disable steps with the checkboxes and append commands to the end by recording new steps So in that case, the defective macro is replaced by a new front end which then calls the old first macro with the first two steps disabled ie one defective macro becomes two. It's not elegant and I don't do it, I prefer to get all the steps correct and re-record it completely. However, this clunkiness can help if you're trying to perfect a long macro as you can keep trying different approaches at the end knowing that the first part is ok I believe it's possible to construct macros as sort of modules which you can then use in various SupremeCommanderMacros™©® where the modules can be called however and in what order you want but I don't do that either I've already pointed to the problem with selecting layers, the clipboard is next to useless, resizing stuff is a nightmare best avoided, there's no file saving other than what New Batch Job can do Good luck with your quest, you'll probably hit the same wall that many of us have, sometimes you'll get a lightbulb moment, sometimes it's best to give up Mr. Doodlezz 1 Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10
Mr. Doodlezz Posted May 14, 2023 Author Posted May 14, 2023 5 minutes ago, David in Яuislip said: I don't understand your term nesting. What I described was a means to salvage a hypothetical 65 step macro which had an error at step2 You can't edit macros, all you can do is disable steps with the checkboxes and append commands to the end by recording new steps So in that case, the defective macro is replaced by a new front end which then calls the old first macro with the first two steps disabled ie one defective macro becomes two. It's not elegant and I don't do it, I prefer to get all the steps correct and re-record it completely. However, this clunkiness can help if you're trying to perfect a long macro as you can keep trying different approaches at the end knowing that the first part is ok I believe it's possible to construct macros as sort of modules which you can then use in various SupremeCommanderMacros™©® where the modules can be called however and in what order you want but I don't do that either I've already pointed to the problem with selecting layers, the clipboard is next to useless, resizing stuff is a nightmare best avoided, there's no file saving other than what New Batch Job can do Good luck with your quest, you'll probably hit the same wall that many of us have, sometimes you'll get a lightbulb moment, sometimes it's best to give up Yeah, over the years I collected many bumps. 😅 Btw. I edited my comment, probably a minute before you quoted me, so feel free to re-read it. 😁 Quote
David in Яuislip Posted May 14, 2023 Posted May 14, 2023 1 hour ago, Mr. Doodlezz said: Man, this whole macro thing is so bloody buggy. No it's not. It's a computer program and it does the same thing every time as it adheres to strict rules which, errr, haven't been published 1 hour ago, Mr. Doodlezz said: accept that they're not really an alternative to Actions at this point. I admire your 'at this point' optimism, Affinity macros are no match for PS Actions and they are not really macros ie the recorder doesn't store keystrokes, look at the farce with the clipboard where you can copy/paste an image and the macro ends up containing the image. Hours of fun but not really if you are trying to get a job done Anyway, good luck again, I have a barbecue to light Mr. Doodlezz 1 Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10
walt.farrell Posted May 14, 2023 Posted May 14, 2023 12 hours ago, smadell said: As to the inability to specify a color for a Fill layer, I have found that (i) there is no way to specify a pre-determined color for a Fill Layer; but (ii) you can add a Pixel Layer and fill it with a color, and you can specify that color as part of the macro. Not at my desktop right now, so I hope I get all this in the right order. (1) Add Pixel Layer, and optionally give it a name; (2) Choose Fill... from the Edit menu; (3) In the dialog box that opens, click in the color box next to "Custom Color" (or whatever it might be called - don't remember). Once the color picker dialog opens up, specify the desired color with which to fill the pixel layer; and (4) Close the color chooser and click "OK" within the Fill... dialog. What you get is a Pixel Layer filled with a single color, of your choice. The macro will remember the choice you made, and will be repeatable in the future (irrespective of what the application's Color Picker currently shows). Changing the color of the layer after the macro has been run is obviously not as simple as it would be for a Fill layer, but it's a start... I may have lost something in the discussiion, but you can specify the color for a Fill layer. You just need to choose it first, using (for example) the Color panel. Thus, you can record: Choosing the color. Adding the Fill layer. At that point you have the Fill layer, with the color you chose, and that can be easily changed after the macro stops running. R C-R 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.2.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
Mr. Doodlezz Posted May 14, 2023 Author Posted May 14, 2023 10 minutes ago, walt.farrell said: I may have lost something in the discussiion, but you can specify the color for a Fill layer. You just need to choose it first, using (for example) the Color panel. Thus, you can record: Choosing the color. Adding the Fill layer. At that point you have the Fill layer, with the color you chose, and that can be easily changed after the macro stops running. There's also the question of how to capture the ability to set the colour each time individually. That is, one time I run the action and decide I need a blue fill, another time I might need a yellow fill. The colour you set while you record the macro, as suggested by you and @David in Яuislip earlier, is fixed and can't be changed when running the macro. Also, a macro doesn't have to end nondestructively, so the result might be a rasterised layer, or in my case even a layer mask instead of a pixel layer. Quote
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.