Jump to content
reminous

Shortcut for 'Lock Children'

Recommended Posts

Hi there!

I find myself using 'Lock Children' all the time... I wish we had a way to do a shortcut for out of that so I don't need to rely finding on top panel.

By the way, this feature cannot be found in any menu also, which pretty unusual. I guess that should at least be placed somewhere in the Layers panel no?

Share this post


Link to post
Share on other sites
39 minutes ago, reminous said:

I find myself using 'Lock Children' all the time... I wish we had a way to do a shortcut for out of that so I don't need to rely finding on top panel.

By the way, this feature cannot be found in any menu also, which pretty unusual. I guess that should at least be placed somewhere in the Layers panel no?

Hi @reminous,

you are not alone with this request. A little longer discussion on this over at the APub forum. Since I posted there and do support this request I thought it might be of interest to bring the topics together¬†ūüôā

 

d.


Affinity Designer 1.9.2 (beta 1.9.2.1005)   |   Affinity Photo 1.9.2 (beta 1.9.2.1005)   |   Affinity Publisher 1.9.2 (beta 1.9.2.1024)
Affinity Designer for iPad 1.8.4   |   Affinity Photo for iPad 1.8.4

Windows 10 (1809) 64-bit - Core i7 - 16GB - Intel HD Graphics 4600 & NVIDIA GeForce GTX 960M
iPad pro 9.7" + Apple Pencil

Share this post


Link to post
Share on other sites

+1 for this.

On a 15" laptop the Lock Children checkbox also tends to get bumped off of the main toolbar in to a collapsed menu so it takes some extra digging to get to it.

A shortcut would be great, or at least for it to be selectable within the Shortcut options.

Share this post


Link to post
Share on other sites

If you're on Mac:

As long as the checkbox is visible, it can be toggled via very simple AppleScript, provided the main window is not in "separated mode" and there are no panels or other windows floating above:

tell application "System Events"
	tell process "Affinity Designer"
		try
			click checkbox "Lock Children" of window 1
		end try
	end tell
end tell

Other scenarios with floating windows and panels will get more complex in order to target the main "window n", but it's not impossible.
Coincidentally I had to figure out something similar earlier today for switching the waveform view mode in Izotope RX 8 audio editor. It was a p.i.t.a. because they also use nonstandard UI elements but eventually I made it work.

1 hour ago, simonlayfield said:

A shortcut would be great

An AppleScript can be executed e.g. via Keyboard Maestro, or within a Service made in Automator with a shortcut in System Preferences > Keyboard > Shortcuts > Services.

1 hour ago, simonlayfield said:

On a 15" laptop the Lock Children checkbox also tends to get bumped off of the main toolbar in to a collapsed menu

I haven't found an easy way to access it via AppleScript yet. The "¬Ľ" pseudo button appears to be invisible to System Events. (Very, very bad UI design, Serif! Ever heard of accessibility?!)
It should be possible to access it via executing a click at a position relative to the window bounds. But there are several variables, for instance I'm often keeping the Toolbar disabled, enabling it only when needed. So the calculation would be slightly complex for my modest scripting skills…

Share this post


Link to post
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

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.