Thursday, July 9, 2020

#1 2020-06-30 05:23:23 am

Jamiebunce
Member
Registered: 2020-06-28
Posts: 5

Capture One Recipes - Scaling Method

There seems to be a bug in the list of options for the "scaling method" property of "recipe"

I am able to set the value of "scaling method" to every option apart from "Height" and "Width" an error is generated if I try and Script Editor and Script Debugger don't recognise them as part of the enum list of options for "scaling method"

Has anyone else come across this? Am I missing a workaround? Is this not a bug and I'm just being dumb?

Working with latest version of Capture.

Here is the simplified code I am using:

Applescript:

use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions

tell application "Capture One 20 2"
   tell current document
       tell recipe "MOODBOARD"
           set scaling method to height
       end tell
   end tell
end tell

Model: Macbook Pro late 2015
AppleScript: 2.4
Browser: Safari 605.1.15
Operating System: macOS 10.14

Offline

 

#2 2020-06-30 05:55:26 am

Yvan Koenig
Member
Registered: 2006-09-14
Posts: 4544

Re: Capture One Recipes - Scaling Method

Just a guess: are you facing a case problem ?
In the AppleScript dictionary, the feature is spelled "Height".

Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) mardi 30 juin 2020 13:54:56

Offline

 

#3 2020-06-30 06:11:20 am

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 6397

Re: Capture One Recipes - Scaling Method

It looks like a bug to me. Capture One also defines height and width properties, and AppleScript won't allow two terms to differ only by case. I can't see any workaround, unfortunately.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/
latenightsw.com

Offline

 

#4 2020-06-30 06:29:16 am

Jamiebunce
Member
Registered: 2020-06-28
Posts: 5

Re: Capture One Recipes - Scaling Method

A bug is what I was afraid of.

Initially, I thought it might be a case problem, as when I code I have it capitalised, then when it compiles it removes the capitalisation. Also, when compiled it does not recognise it as part of an enumeration.

Last edited by Jamiebunce (2020-06-30 06:30:17 am)

Offline

 

#5 2020-06-30 06:39:08 am

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 6397

Re: Capture One Recipes - Scaling Method

You can often get round terminology clashes by defining a variable outside the app tell block, like this:

Applescript:

set heightConst to «class Rsht»

and then using the variable. But because of the case issue, that doesn't seem to work here.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/
latenightsw.com

Offline

 

#6 2020-06-30 06:41:45 am

Jamiebunce
Member
Registered: 2020-06-28
Posts: 5

Re: Capture One Recipes - Scaling Method

I've submitted a support ticket to Phase One, hopefully they can change something.

Offline

 

#7 2020-06-30 06:43:52 am

Jamiebunce
Member
Registered: 2020-06-28
Posts: 5

Re: Capture One Recipes - Scaling Method

Thanks for the suggestions Shane, also just started using Script Debugger, lovely application!

Offline

 

#8 2020-07-01 06:08:21 am

Jamiebunce
Member
Registered: 2020-06-28
Posts: 5

Re: Capture One Recipes - Scaling Method

Just for completeness, here is the response from Phase One:


I'll be sure to pass this information on to R&D and the Product Management team. I've made a bug report and linked your support request to it.

I've also forwarded on your test script so that we can easily reproduce this issue.

Unfortunately, there is no workaround to this issue.

I'll mark this request as Solved, but we will continue to look into the issue and hope to address it in a future release.

Offline

 

#9 2020-07-01 06:44:15 am

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 6397

Re: Capture One Recipes - Scaling Method

That's a good response. And it's very simple for them to fix.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/
latenightsw.com

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)