Jump to content

catcat

Members
  • Content count

    4
  • Joined

  • Last visited

  1. In case you are using macOS I found a way to rename the currently selected layer using AppleScript. This works in separated mode (Window -> Separated Mode). You can use the script by creating a new service with Automator.app. Specify that the service should receive no input only work for Affinity Designer. Once saved the script will appear under Affinity Designer -> Services. To assign a shortcut open the system preferences for keyboard. I think you also need to allow accessibility apps to access your Mac. tell application "System Events" tell process "Affinity Designer" tell (first window whose value of static text 1 is "Opacity:") perform action "AXRaise" tell table 1 of scroll area 1 tell (first row whose value of attribute "AXSelected" is true) tell text field 1 of UI element 1 set value of attribute "AXFocused" to true end tell end tell end tell end tell end tell end tell
  2. I managed to solve the problem by using the following AppleScript as a workaround: tell application "System Events" tell process "Affinity Photo" local selectedIndex tell (first window whose value of static text 1 is "Opacity:") tell table 1 of scroll area 1 tell (first row whose value of attribute "AXSelected" is true) set selectedIndex to value of attribute "AXIndex" end tell select row (selectedIndex + 2) end tell end tell end tell end tell Of course this would need a lot more error checking (bounds check of index, visibility of layers panel), but it works for now. And here is an AppleScript that lets you rename the currently selected layer. For me this works in separated window mode, so you probably need to tweak it for your layout. tell application "System Events" tell process "Affinity Photo" tell (first window whose value of static text 1 is "Opacity:") perform action "AXRaise" tell table 1 of scroll area 1 tell (first row whose value of attribute "AXSelected" is true) tell text field 1 of UI element 1 set value of attribute "AXFocused" to true end tell end tell end tell end tell end tell end tell
  3. I would like to have a shortcut to select the layer below or above the currently selected layer. In Affinity Photo I was able to create a macro which does exactly that. However, I couldn't find a way to assign a shortcut to this macro. So my wish is to either have: 1) a separate menu item to select a layer below or above the currently selected layer 2) a method to assign shortcuts to individual macros
  4. I have three overlapping circles and I want to create new shapes/curves from the seven intersections. To achieve this I select all three circles and press Layer -> Geometry -> Divide. This does create the seven curves I want, but also about 20 other curves that I have to delete since they are so small they aren't even visible. Unfortunately the newly created curves do not perfectly fit together. Now I can see the white background where the circles used to intersect. This also happens when I compound them manually. Is this expected behaviour or should I use a different technique? Thanks.
×