Jump to content
You must now use your email address to sign in [click for more info] ×

spinhead

Members
  • Posts

    252
  • Joined

  • Last visited

1 Follower

Contact Methods

  • Website URL
    https://JoelDCanfield.com

Profile Information

  • Gender
    Male
  • Location
    PHX Valley
  • Interests
    singer/songwriter, mystery author, food eater

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I often write myself task scripts in VSCode based on the layers I've created in a Photo image. Problem is that when Photo is not the selected app, the task panels disappear, leaving only the document window. Is there a way to make the workspace persist even when another app is in use? Mac Monterey, Photo v1 in separated mode
  2. VSCode has been around for 8 years and still doesn't have an AppleScript library. Affinity has discussed this possibility for even longer than that. If scripting these tools matters to you, find another way (like mentioned above.) It's not happening soon if it happens at all.
  3. refining a search for something I don't need? I've found the perfect tool. Swift is in the past. it serves no purpose for me now; it's big, complicated, hard to learn, and has no value to me. automator and AppleScript are PERFECT—except Affinity tools aren't exposed to AppleScript, so that's not terribly helpful. I'm no longer sure if you're trying to help me with scripting or sharing information for others in this thread.
  4. 1. all the usual rabbit holes I went down long ago (third link clearly says "this is NOT for moving windows in other apps" which essentially makes it the opposite of my needs) without success 2. yes, Hammerspoon is AppleScript but without needing the target app (Photo, VSCode, etc) to supply the dictionary. In other words, exactly what I was looking for.
  5. I spent months trying to get my head around Swift and never figured out how to move a window. Spent 20 minutes with Hammerspoon and had a working prototype for my needs. Perhaps I missed something important, but Swift feels like buying Russia because I want a bottle of vodka.
  6. heh. no worries. (you know who you don't want saying "oops"? surgeons. also airline pilots.)
  7. What does that have to do with the ability to script Affinity Photo actions?
  8. I recently discovered Hammerspoon, which allows me to script (albeit inelegantly) actions with Affinity tools. Hammerspoon uses the Lua language and lets me simulate mouse clicks and text input, besides OS operations, which lets me, for instance, rotate an image one degree, export it with a unique name include the rotation angle, and repeat for the desired number of times. The advantage of Hammerspoon is that as I use more and more apps (VSCode, Affinity) that will never add an AppleScript library, I still have scripting options. I'll never be able to upgrade my Affinity tools since they stopped supporting Separated Mode for a 2-monitor Mac setup, so an external scripting tool like Hammerspoon is my best option. Infinitely simpler than learning Swift from the ground up.
  9. I recently discovered Hammerspoon, which allows me to script (albeit inelegantly) actions with Affinity tools. Hammerspoon uses the Lua language and lets me simulate mouse clicks and text input, besides OS operations, which lets me, for instance, rotate an image one degree, export it with a unique name include the rotation angle, and repeat for the desired number of times. The advantage of Hammerspoon is that as I use more and more apps (VSCode, Affinity) that will never add an AppleScript library, I still have scripting options. It's not perfect, but then, waiting 5 years with no progress isn't perfect either.
  10. Less tedious than the manual option within Photo, this works: create an image using squares of each color in the swatch panel export as swatchname.jpg using the command line tool Imagemagick: magick identify -verbose swatchname.jpg will list each color in the image. with more work, a command could be munged together to extract just the color codes from the command line. not elegant, but far less tedious than clicking "edit" for each swatch or item, copy hex code, paste to my list, lather, rinse, repeat.
  11. I have finally created a solution to the problem in v1 where new documents open behind the tools. If you're interested in what I describe below, holler and I'll go into detail. Installed a Mac automation tool called Hammerspoon. Solid, dependable, free, tiny. Then created a function [open/focus Photo, create a new document, and then move it to the correct monitor and adjust screen settings] and gave it a hotkey. A few little kinks to work out for edge cases, but overall, works as I hoped and solves this problem for me. Now if I could just fix the broken tab order in the Transform dialog . . .
  12. Edge case: I don't actually *need* any symbols, I use them in my digital art and having a big pile to choose from makes it easy. Grabbing them ad hoc would be like downloading only the letters I needed for this message.
  13. Unless there's a better current method, if you explain how you did this I might get around to making asset files for the other versions.
  14. 4 steps with 2 mouse clicks instead of 1 step, a single click. Select layer with existing 3D <click>, copy, select target layer <click> —then paste. With the panel already open, as I have it, one click, done.
×
×
  • 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.