AppleScript for setting Format of NextCaptureNaming

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

AppleScript for setting Format of NextCaptureNaming

Postby NN227160UL1 » Tue Dec 04, 2018 5:07 am

Have already set up format to "Name" "_" "4 Digit Counter" as UserPreset named "Default".
It seems, however, to be impossible to keep the default permanently.
Does anyone know how to set AppleScript to make the format to that default? or any other way??
Thanks.

Suguru
NN227160UL1
 
Posts: 2
Joined: Thu Nov 11, 2010 1:26 am

Re: AppleScript for setting Format of NextCaptureNaming

Postby Jim_DK » Tue Dec 04, 2018 4:16 pm

Next Capture naming is one extraneous element saved in the templates feature so you could just save the session/catalog as a template from the File menu and make all future documents from the template.

The same approach is possible from scripting as Next Capture Naming is a property of documents.
James
Phase One DK
Jim_DK
Crew
Crew
 
Posts: 641
Joined: Thu Dec 03, 2009 10:00 pm

Re: AppleScript for setting Format of NextCaptureNaming

Postby NN227160UL1 » Fri Dec 07, 2018 5:40 am

Thanks for the advice.
Default.cosessiontemplate is now saved into Templates folder.
What does come to "?????" below?

tell application "Capture One 11"
activate
set sessionName to the text returned of (display dialog "Enter Session Name please" default answer "")
set sessionPath to "/Users/USER NAME/Desktop/"
set sessionTemplate to ?????
end tell
tell application "Capture One 11"
set newDoc to make new document with properties {name:sessionName, path:sessionPath, template:sessionTemplate}
end tell
NN227160UL1
 
Posts: 2
Joined: Thu Nov 11, 2010 1:26 am


Return to Scripting



Who is online

Users browsing this forum: No registered users and 1 guest