Writting in the status bar

Discussions on extending SharpCap using the built in Python scripting functionality
Post Reply
JesusRL
Posts: 70
Joined: Wed Aug 05, 2020 4:36 pm
Location: Madrid

Writting in the status bar

#1

Post by JesusRL »

Hi Robin,

Is there a way to write something in the status bar?

Image

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

Re: Writting in the status bar

#2

Post by admin »

Hi,

no, sadly there's no way to access that from the scripting language - the closest you can get is to show a notification message at the top of the image

Code: Select all

from SharpCap.Base import NotificationStatus
SharpCap.ShowNotification("hello", NotificationStatus.Warning)
cheers,

Robin
JesusRL
Posts: 70
Joined: Wed Aug 05, 2020 4:36 pm
Location: Madrid

Re: Writting in the status bar

#3

Post by JesusRL »

Thank you Robin,

I already use notifications, but they are overwritten sometines faster than expected by new ones.

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

Re: Writting in the status bar

#4

Post by admin »

Hi,

yes, I do have on my to-do list the idea of being able to scroll back through recent notifications if they come in too fast. Anyway, that's no help to you now. The only other thing I can suggest right now is that you can use SharpCap.LogMessage to write to the log or display your own UI window from Python.

I will investigate how easy it might be to add something like 'SharpCap.SetStatus('text')' - if it is just a few lines then I will try to do it, but if it requires big changes to the code then it will have to wait.

cheers,

Robin
Post Reply