Sharpcap (not capture) profiles

Got an idea for something that SharpCap should do? Share it here.
Forum rules
'+1' posts are welcome in this area of the forums to indicate your support for a particular feature suggestion. Suggestions that get the most +1's will be seriously considered for inclusion in future versions of SharpCap.
Post Reply
zerolatitude
Posts: 156
Joined: Mon Mar 01, 2021 5:24 am

Sharpcap (not capture) profiles

#1

Post by zerolatitude »

This would be a different profile for a mount/telescope/guider/ livestack options combo etc. Basically, a profile based on Sharpcap global settings rather than just Capture profiles.

Is this possible?
User avatar
admin
Site Admin
Posts: 13173
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Sharpcap (not capture) profiles

#2

Post by admin »

Hi,

I think the '/instance <number>' command line parameter is what you need

https://docs.sharpcap.co.uk/4.0/#Comman ... 0Arguments

cheers,

Robin
zerolatitude
Posts: 156
Joined: Mon Mar 01, 2021 5:24 am

Re: Sharpcap (not capture) profiles

#3

Post by zerolatitude »

Yes, perfect. Never thought of the CLI :-)

Thanks as always
zerolatitude
Posts: 156
Joined: Mon Mar 01, 2021 5:24 am

Re: Sharpcap (not capture) profiles

#4

Post by zerolatitude »

Okay got multiple instances.

How do I copy the current settings from one instance to another?
User avatar
admin
Site Admin
Posts: 13173
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Sharpcap (not capture) profiles

#5

Post by admin »

Hi,

when you create a new instance, it automatically copies the settings from the default instance. After that they are completely separate. You *could* (in theory) copy the settings across with some registry editing - not sure that I would advise it unless you are familiar with that sort of stuff.

cheers,

Robin
zerolatitude
Posts: 156
Joined: Mon Mar 01, 2021 5:24 am

Re: Sharpcap (not capture) profiles

#6

Post by zerolatitude »

Thats what I expected.

But the new instance started with the default SC settings, not the settings from the default instance.

I'm okay with registry editing. Took a look, I presume its the misc key under the instance key?
User avatar
admin
Site Admin
Posts: 13173
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Sharpcap (not capture) profiles

#7

Post by admin »

Hi,
Capture.JPG
Capture.JPG (18.07 KiB) Viewed 814 times
4.0_2 is the settings for instance 2, 4.0 is for the default settings. If you copy everything from 4.0 (including values and sub keys) into 4.0_2 then that should do the trick. The easiest way to do this might be as follows

* Export the 4.0 key to a reg file
* Delete the 4.0_2 key
* Rename the 4.0 key to 4.0_2
* Bring the 4.0 key (default instance) back by importing the reg file that you saved at the beginning.

I must check that the copy code looks right...

cheers,

Robin
zerolatitude
Posts: 156
Joined: Mon Mar 01, 2021 5:24 am

Re: Sharpcap (not capture) profiles

#8

Post by zerolatitude »

I did a slightly different approach. Export 4.0 key, rename to 4.0-2 in the reg file, then import. Working well.

I reproduced the same.behaviour with another instance, so the code does need a relook.

Thanks
User avatar
admin
Site Admin
Posts: 13173
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Sharpcap (not capture) profiles

#9

Post by admin »

I had a look and I think I found the problem - if you had not had a previous version of SharpCap installed (ie 3.2) then the code to copy the settings could get bypassed. That was because I hijacked the code to do the upgrade from a previous version to also do the copy of settings to the new instance!

I have a fix, will be in the next update.

cheers,

Robin
zerolatitude
Posts: 156
Joined: Mon Mar 01, 2021 5:24 am

Re: Sharpcap (not capture) profiles

#10

Post by zerolatitude »

Thanks
Post Reply