Skip to main content

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

Applescript Select Camera

Comments

4 comments

  • Cliff Cheney
    It took way too many tries… But, i seem to be partially there with the formatting.


    tell application "Capture One 8"
    activate
    tell document 1
    select camera name "Nikon D810"
    capture
    end tell
    end tell


    I am still unclear how the tell document should be formatted and if I run it twice it drops one of the cameras.
    0
  • Cliff Cheney
    I also need to populate a variable with all available cameras and then be able to select the correct camera.
    0
  • Cliff Cheney
    Making headway. I manually created an array. but, I will have problems if I use two of the same model… Unless C1 will give them unique names. This is why I need the list to be read from C1 itself.


    (choose from list {"Nikon D810", "Nikon D610"} with prompt "Select camera")
    set selCamera to result as text

    tell application "Capture One 8"
    activate
    tell document 0
    select camera name selCamera
    end tell
    end tell
    0
  • Cliff Cheney
    I've looked at the log files and I can't find a more unique way to describe the two cameras in an Applescript than using their model names. The camera switching works well using Aptivate to assign a key for each script. You can't switch them quickly. But, at a normal working pace it works.

    Does anyone know a way to uniquely describe two cameras of the same model?

    I may have to cheat and use D800 & D810s or D600 & D610s… Not ideal. But it may work until I get a better solution.
    0

Post is closed for comments.