Jump to content

Luminosity selection in a macro?


Recommended Posts

If I'm not recording a macro, I can get a luminosity selection (which I can easily turn into a luminosity mask) by shift-ctl-left click on the layer icon.  This is very handy.

But when I try to do this in a macro, it tells me that it cannot record a selection from the layer. 

However, the macro recorder *does* let me select a tonal range (highlights, midtones, shadows) from the layer if I do it from the Layer menu.   I don't want a limited tonal range, though--I'd like to select luminosity from the whole range of the image. 

Is there a straightforward way to make the luminosity selection (the equivalent of shift-ctl-left click on the layer icon) in a macro?

Link to comment
Share on other sites

Highlight/select your layer

Start Macro Recording:
Select > Selection From Layer

You will have a cog next to the macro step recorded above
Click the cog and tick Use Luminosity

Stop recording:
When you next run the macro it will create a luminosity selection

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

Thank you, @Carl123! That works.

It is interesting that I don't get the selection until the next time I run the macro (meaning those steps can't be literally embedded in a bigger macro), but saving the macro separately as Luminosity Selection means I can call it from a bigger macro, so everything works out.

 

Link to comment
Share on other sites

You can record all the steps prior to the luminosity selection in the one macro then do the instructions above and then stop the recording.

Reset the document to the beginning (history panel)

Replay the macro.
Hit record to continue recording from that point.
Record the steps you need to do after the luminosity selection, then stop recording.

Your macro should now be complete and you can save it to the macro library as just the one macro

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

41 minutes ago, webb said:

...the next time I run the macro (meaning those steps can't be literally embedded in a bigger macro)...

Well you can save macros as parts/segments/fragments... and build bigger ones. But there are some handicaps/bugs.

1.

You have to assign/rename...  all "GUI-elements" again (its nasty, but to solve, with doublework).

2.

If you use two (or more) filters/adjust... where tweaking-elements uses the same name, ALL elements inside that "master-macro" which uses a common name (like radius).... will show in that master-macro as seperate slider. If you change ANY of this name, all others will take the same name. Its a really (not fixable) nasty bug! 

 

3. 

You cannot anymore activate/deactivate steps of the macros when using "fragments"... 

 

There are some bugs,  "missing things", strange... in the macro-question, however, for a version point 1 they are really great. I´m 70% happy with it!

BTW: there is also already a great collection of LMs in the resources-section. In booth tastes: as layer, or as just-selection -outgive. I prefer booth;-) 

 

OSX 12.5  / iMac Retina 27" / Radeon Pro 580X / Metall: on! --- WWG1WGA WW!

Link to comment
Share on other sites

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

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.