How do I launch SharpCap and specify a startup python script

Somewhere to ask questions about the best way to use SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
Post Reply
clkotnik
Posts: 2
Joined: Tue Sep 03, 2019 3:41 pm

How do I launch SharpCap and specify a startup python script

#1

Post by clkotnik »

I want to control two cameras in an automated setup. I realize this will require two copies of SharpCap to be run. I can script the configuration for each camera. Is there a way to specify a different startup python script when I launch SharpCap from a windows batch file?

Thanks in advance for your advice,
Cliff
User avatar
admin
Site Admin
Posts: 13271
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: How do I launch SharpCap and specify a startup python script

#2

Post by admin »

Hi,

Yes, there is a way to do this. Just add these commandline arguments

Code: Select all

/runscript "c:\full\path\to\script.py"
Hope that helps, Robin
clkotnik
Posts: 2
Joined: Tue Sep 03, 2019 3:41 pm

Re: How do I launch SharpCap and specify a startup python script

#3

Post by clkotnik »

Thanks, I'll give it a try
Cliff
Post Reply