Must Be Art > Software > New C1 PRO Session
Capture One PRO from Phase One is a workflow-oriented program used to convert digital photographs from the camera's "raw" format to a standard image format. Its workflow assumes that you will start by setting up a session and its associated folders, and then capture images into the session (either directly from a tethered camera or from a memory card reader). My preference is to shoot untethered and copy my files into a folder of my own. Later, if I decide to use Capture One PRO to do the conversions, I need to create a session to organize the work.
This program is a short AppleScript droplet to automate that procedure on Mac OS X. Compile the script as an application to create the droplet. Then drag a directory full of images onto the droplet to create a session around the existing folder.
You'll need Capture One PRO on a Mac OS X system to use this script as is. Other versions of the Capture One software will probably work with just a change to the application's name inside the script. I've tested with version 3.5.2 and 3.6.1 of Capture One PRO and under version 10.3.7 of Mac OS X.
Does not work under Mac OS X 10.4. See below under Known Bugs.
Initial release, January 8, 2005. Worked for me, but see below under Known Bugs. Minimal testing.
Doesn't work under Mac OS X 10.4.3 or 10.4.4 or 10.4.7 (and possibly other 10.4 versions).
Reason unknown. The command to make new session fails. With C1 PRO 3.6 it says
"Need folder path and name to make new session." With Capture One PRO
3.7.3 (with the corresponding change in the tell line) it says
"Can't make or move that element into that container." Same with
Capture One PRO 3.7.4.
There are a handful of sample Applescripts in the program distribution,
but none of them use the make new session command. None of them
has been updated since May 2004.
Phase One's so-called technical support tells me "We do not normally support scripting debugging projects" and when I asked them for a relevant working example, they were silent for 12 days and then closed the case without offering any comments.
Unless somebody provides me with some more information on Applescripting the Capture One PRO program, this script is likely to stay broken indefinitely.
You may use or distribute this script freely for any purpose.
Here it is.
(* Applescript Droplet to create a new C1 PRO session around a folder *)
(* Assumes parent folder has the descriptive name of the project *)
(* Copyright 2004 Paul Williamson paul@mustbeart.com *)
(* Nov 11, 2004 *)
on open names
if length of names is not equal to 1 then
display dialog "Sorry, drop only one item."
return
end if
set imgFolderName to first item of names
tell application "Finder"
set imgFolder to folder imgFolderName
set imgFolderName to name of imgFolder
set projFolder to container of imgFolder
set projFolderName to name of projFolder
set projFolderPathName to projFolder as text
set projFolderPath to POSIX path of projFolderPathName
end tell
do shell script "cd " & quoted form of projFolderPath & "; /bin/ln -s " & quoted form of imgFolderName & " Captures"
tell application "C1 PRO"
set sessinfo to {name:projFolderName, folder path:projFolderPath}
set newsess to make new session with properties sessinfo
activate newsess
activate (* C1 PRO 3.5.2 doesn't obey this command *)
end tell
end open
This is it.
Copy the script above and paste it into Apple's Script Editor. Then compile and save as an Application.
Copyright 2005-2006 Paul Williamson. Comments to kb5mu@amsat.org