trigger my script on added new capture

Discussion regarding all scripting related questions
Please DO NOT post to this thread anything that is not directly related to scripting of Capture One.

trigger my script on added new capture

Postby NNN636795188989988796 » Tue Dec 11, 2018 3:42 pm

Hello Everyone,
I have question regarding C1 ver.12 scripting,
I want to trigger my apple script to run automatically on added (new capture) files
is this possible?
Regards,
NNN636795188989988796
 
Posts: 5
Joined: Tue Dec 04, 2018 12:14 pm

Re: trigger my script on added new capture

Postby Eric Nepean » Wed Dec 12, 2018 5:56 am

This is quite possible.
I think you need two scripts.
One script to execute wahtever you want
One very short script to set the first script as the "Capture Done Script"

I highly reccomend that you start Script Editor, from there open the Applescript Dictionary for Capture One, and read it carefully. You can search for "Capture Done" and you will find it is a property of the Capture One Application.

This useful document identifies the Applescript classes, properties and commands for Capture One.
Cheers, Eric
[late 2015 iMac, 4GHz i7, 24GB RAM, external SSDs. GX8, E-M1, GX7, GM5, GM1 ....]
Eric Nepean
 
Posts: 417
Joined: Sat Oct 25, 2014 8:02 am
Location: Ottawa

Re: trigger my script on added new capture

Postby NNN636795188989988796 » Thu Dec 13, 2018 6:03 pm

Great,
Thank you for your help, so does this means that all I need to do is to rename my script file with this name?
NNN636795188989988796
 
Posts: 5
Joined: Tue Dec 04, 2018 12:14 pm

Re: trigger my script on added new capture

Postby Eric Nepean » Thu Dec 13, 2018 11:26 pm

No, the opposite.

You keep the name of the script, and set the Capture Done property to the path and name of your script.

See this thread for some examples. https://forum.phaseone.com/En/viewtopic.php?f=70&t=28549
Cheers, Eric
[late 2015 iMac, 4GHz i7, 24GB RAM, external SSDs. GX8, E-M1, GX7, GM5, GM1 ....]
Eric Nepean
 
Posts: 417
Joined: Sat Oct 25, 2014 8:02 am
Location: Ottawa


Return to Scripting



Who is online

Users browsing this forum: No registered users and 1 guest