How to tell C1 programmatically to open a folder
I'd like to start C1 from another app to process files put in a specific folder. I just want C1 to start up and open the relevant folder automatically.
Unfortunately, C1 does not take command line arguments.
I've tried using the vbscript interface but it looks like it is designed for tethered operation, not opening files or folders. The following creates a new capture collection in my folder but I can't see the files already there ☹️ :
Apart from programmatically hacking the \"folderlost.fld\" parameter file 🤓 , is there any hope? ❓
Unfortunately, C1 does not take command line arguments.
I've tried using the vbscript interface but it looks like it is designed for tethered operation, not opening files or folders. The following creates a new capture collection in my folder but I can't see the files already there ☹️ :
Set objCaptureOne = WScript.CreateObject("CaptureOne.Camera")'
status = objCaptureOne.SetCaptureDirectory("C:\\temp", "Temp" )Apart from programmatically hacking the \"folderlost.fld\" parameter file 🤓 , is there any hope? ❓
0
-
Note we normally do not provide support for this, but here we go 😉
What you have done is to tell appliaction to create a new Capture object, this is all fine and the application is ready to shoot to this folder, if you are opening a existing collection you will also need to refresh collection:Dim WidthEvents collection as CaptureOne.CaptureCollection
Set collection = New CaptureOne.CaptureCollection
Methods
StartRefresh
Syntax
object.StartRefresh
Description
This method initiates a search for captures in the active capture folder. This enables the application to ‘discover’ captures transferred to the capture folder from an outside source.
StopRefresh
Syntax
object.StopRefresh
Description
This method cancels any ongoing search for captures.0
投稿コメントは受け付けていません。
コメント
1件のコメント