🌱 Capture One Session Creation

Scripting Session creation

http://macscripter.net/viewtopic.php?id=43999

http://macosxautomation.com/applescript/firsttutorial/11.html

http://stackoverflow.com/questions/8424930/how-can-i-launch-an-applescript-scpt-file-from-the-terminal-and-pass-terms-var

session.scpt

on run arg
	set sessionName to arg
	set sessionPath to "/Users/bstephens/Dropbox/Projects/Generation Tux/Design Team Projects/photos/170331-visualizer-ties/"

	tell application "Capture One 10"
		set newDoc to make new document with properties {name:sessionName, path:sessionPath}
	end tell
end run

From shell

while read p; do osascript session.scpt $p; done < tie-shotlist-2017-03-31.txt
Made by Brandon . If you find this project useful you can donate.