Hi,
Is it possible to pass the current file name (or at least the working directory) to a batch file as an argument?
Run '<Program to run>' with parameters '<Arguments>' and <Wait for command to exit?>
The argument should refer to the current set of images.
Or is there any way to signal that one sequence was ended?
Best regards,
Tamas
Run a .bat command with current file name as argument
- admin
- Site Admin
- Posts: 14257
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Run a .bat command with current file name as argument
Hi,
that can't be done with the sequencing engine, but may be possible with the Python scripting - for instance in scripting you can use
to see the last file saved by SharpCap - this may be sufficient to build what you need.
cheers,
Robin
that can't be done with the sequencing engine, but may be possible with the Python scripting - for instance in scripting you can use
Code: Select all
print (SharpCap.GetLastCaptureFilename())
cheers,
Robin
Re: Run a .bat command with current file name as argument
Thanks Robin! That helps.