First Ever Integration with Affinity Photo – Focus Merge, HDR Merge, Panorama, and Stack
I am happy to announce the first ever apps to seamlessly load selected files from Capture One into new Affinity Photo Focus Merge, HDR Merge, Panorama, and Stack documents. The purpose of these apps is to help you create Affinity Photo merge and stack documents directly from the Scripts menu in Capture One. See the video demonstrating how easily and fast these work.
This is for macOS only. One AppleScript creates four new items in the Scripts menu of Capture One on macOS.
- New Focus Merge
- New HDR Merge
- New Panorama
- New Stack
Each app creates a new document in Affinity Photo and adds the files you selected in Capture One to the new document's file list. The Affinity Photo merge and stacking documents have parameters you can configure before you execute the merge. For this reason these apps finish after populating the file list. At that point you must take over. You execute the merge, export the output, and import it back into Capture One.
- These apps do NOT pre-process your raw files into RGB before sending them to Affinity Photo.
- These apps do NOT bring the output files back into Capture One.
These apps took a considerable amount of time to research, test, and develop. I am not giving them away. I will share them to anyone willing to provide a $20 donation on my Buy Me A Coffee page.
-
Yes, this is macOS only. Capture One doesn't support scripting on Windows, and I have no clue if Windows offers UI scripting like macOS.
0 -
Looks interesting Walter have you tested on other keyboard layouts, I've found that gui scripts break pretty easily?
0 -
I have not, and you raise an interesting thought I had not considered. I identify some button and menu items based on English language. For example, File menu, and File Menu item New Panarama, and button Add or button Open. If the locale differs, these apps will fail. How do handle that? Hmmm.
0 -
I dont have affinity photo so cant help much but in the past using index numbers of the menu items has helped, but still subject to breaking with updates etc. Do you have UI browser?
0 -
I do not have UI browser. However, I've been quite successful using "entire contents of" and pilfering through the output, and narrowing things down.
0 -
I don’t have affinity photo 2, only the previous version. But this is great news, I will be having a closer at this.
Before I retired I tried this with Affinity 1 but didn’t get far.0 -
When I was researching UI scripting online I found lots of scripts that used click and keystroke to interact with the UI, and they all had "delay" after each one to permit the UI time to deal with it.
I went a more clever way with repeat loops with 0.1 sec delays that wait for specific UI conditions. This minimizes the delay while ensuring that the UI has gotten to a state where it's ready for the next interaction from the script.
I also added counters to these delay loops and set a condition that its waited too long if the counter gets above a certain number so that the script doesn't run away (infinite loop) if the UI condition never occurs.
click a UI element or send keystrokes to the UI
repeat until (some UI condition) or (waited too long)
add 1 to wait counter
delay 0.1
end repeat
if (waited too long) then
display an alert
return
end ifThis model lets me do something with the UI, then wait for the next required state to be ready before doing the next interaction with the UI of the app. It minimizes the delay between steps, but ensures the UI is always ready for that next step before taking it.
If one studies the UI element hierarchy of any app I believe this model would work for scripting it.
1 -
Hello, Walter. What version of Capture One is required to run these scripts? I'm on Capture One Pro 21. I checked your YouTube video and buymeacoffee pages but didn't see it. Thanks.
0 -
I think all versions from maybe CO 20 forward should be supported by the scripts since they don't do anything with specific tools that were added in later versions.
0
Post is closed for comments.
Comments
9 comments