Zum Hauptinhalt gehen

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Capture One's "kind" is broken in Applications

Kommentare

4 Kommentare

  • Eric Valk
    Note that this item is also broken in Capture One 12. I have raiseda ticket for it.
    The workaround in my first post works.
    0
  • Eric Valk
    In response to the ticket that this is broken I got the usual message for AppleScript users.

    [quote="Phase OneSupport" wrote:

    Hi Eric,
    We do not provide support with scripting
    Kind regards,
    Phase One Technical Support
    0
  • Jewpacabra
    Hi Eric,

    This issue is more likely a framework problem, not unique to Capture One as I've seen similar things happen in e.g iTunes where the script runs fine from the editor (or indeed any other context), but chokes when invoked from the app.

    Example:

    tell application "iTunes"
    display dialog "iTunes shuffle mode: " & (shuffle mode as text) buttons {"OK"}
    end tell

    When run from Script Editor will show “songsâ€, but when put into ~/Library/iTunes/Scripts and invoked from iTunes’ scripts menu, will display “â€Â«constant ****kShS»â€

    Only thing I can think of you could try (I used it before to get around Excel's lack of app script folder) is maybe pipe the script through Automator and run the whole thing as a service. This snippet above returns "songs" when run in this way, but I admit to not testing this theory harder with Capture One.
    0
  • Eric Valk
    Hi Ernesto
    Thanks for the useful comment, you are the first to give some insight into what’s happening.

    Rather than Automater a simple workaround is the handler I show in my first post, I’m using it today on Capture One 12 scripts. It covers all the possible values of Kind for different classes and the additional execution time seems insignificant.
    0

Post ist für Kommentare geschlossen.