Resource icon

Rediflow

New Member
is there a way to Start / Stop the script with a Hotkey? If needed temporally during a Live-Session, to go to the OBS Menue → scripts → obs cursor skin → [Start] / [Stop] Button is very inefficent. With a Hotkey, it could be controlled with Touch Portal or Stream Decks (make cursor visible + activate script)... Maybe give an option in the menu to create a custom Hotkey, so that it would be possible to run multiple instances with different cursor styles (Chose one at will)
 

upgradeQ

Member
is there a way to Start / Stop the script with a Hotkey? If needed temporally during a Live-Session, to go to the OBS Menue → scripts → obs cursor skin → [Start] / [Stop] Button is very inefficent. With a Hotkey, it could be controlled with Touch Portal or Stream Decks (make cursor visible + activate script)... Maybe give an option in the menu to create a custom Hotkey, so that it would be possible to run multiple instances with different cursor styles (Chose one at will)
There are no hotkey bindings for script provided, but you can create and set group as cursor, disable all other "cursors" in that group & select cursor you need. What is your typical live session activation point for cursor, because it can track mouse trasnparently with very low CPU usage, if say you activate it after 5-15 minutes.

The on/off hotkey can be added, but you should clarify your second suggestion, I don't quite understand what you mean by "multiple instances with different cursor styles".
 

Rediflow

New Member
What is your typical live session activation point for cursor, because it can track mouse trasnparently with very low CPU usage, if say you activate it after 5-15 minutes.

I use OBS for Business meetings and online Presentations.
In Most cases the Picture / Screen shown speaks for them self, but every other meeting, you need a cursor to point at the fings you like to lay attention on.

The on/off hotkey can be added, but you should clarify your second suggestion, I don't quite understand what you mean by "multiple instances with different cursor styles".
I have different cursor styles for different purposes. I have an arrow to point at specific places, I have the often seen filled, semi-transparent circle to point attention to a general area and I have Circle outline, to circle e.g. a special area at my USB Microscope without concerning visibility through semi transparent overlays by the a cursor.

The "multiple instances" would mean to Import the script multiple times (e.g. with slightly different names - already did that for a different script) and have that customizable on/off hotkey to choose and activate the cursor needed for the occasion
 

upgradeQ

Member
The "multiple instances" would mean to Import the script multiple times (e.g. with slightly different names - already did that for a different script) and have that customizable on/off hotkey to choose and activate the cursor needed for the occasion
The on/off hotkey has been added. You should try out the "multiple instances" scenario with it and report any bugs you find if there are any.
 

Rediflow

New Member
The on/off hotkey has been added. You should try out the "multiple instances" scenario with it and report any bugs you find if there are any.
The Hotkeys are working. Also the Multiple instances. I have to take care witch one is which, als all Hotkeys have the same Name from your, given by your script. For multiple instances I have to rename the .py file maybe the hotkey name could include that that filename?

An now I struggle with my Touch Portal Realisation to make it happen as 4way button (*click* no cursor - *click* Cursor skin 1 - *click* cursor skin 2 - *click* cursor skin 3 - *click* no cursor...) - but those struggles have nothing to do with your script :-)
 

Rediflow

New Member
The Hotkeys are working. Also the Multiple instances. I have to take care witch one is which, als all Hotkeys have the same Name from your, given by your script. For multiple instances I have to rename the .py file maybe the hotkey name could include that that filename?

An now I struggle with my Touch Portal Realisation to make it happen as 4way button (*click* no cursor - *click* Cursor skin 1 - *click* cursor skin 2 - *click* cursor skin 3 - *click* no cursor...) - but those struggles have nothing to do with your script :-)
Just found another "nice to have"
I've made my Pointers as an extra Scene and tried to implement this scene as "nested" scene into any scene that will need mouse cursor skins, as I only know how make elemtents visible / invisble in Touch Portal with reference to the scene for those elements...
your script does seem to not work "global", but just for the scene those elements are in and only if that scene is active. If I use the nested scene as described above, the cursors won't move, as long as I am not in my "NS-Pointer" Scene, that contains the cursor skins.

I can go around that restriction by adding those skins to every scene an define the hide / visible state for the skins for every scene - a lot of work but it will be worth it, as I don't know if you can fix that issue. (Fortunately, I use "just" 9 Scenes, with 8 of them in need for the cursor skins *fg*)
 

upgradeQ

Member
The Hotkeys are working. Also the Multiple instances. I have to take care witch one is which, als all Hotkeys have the same Name from your, given by your script. For multiple instances I have to rename the .py file maybe the hotkey name could include that that filename?
There is a line which is responsible for hotkey names:
You could repropgram the script and change this line to something like this
Python:
print(f"my name is{__file__[-8:-3]} ")
or just write custom name for each one of instances you have. The code above will show the last 4 characters of the absolute path without the extension. Support for multiple instances is under consideration and may be implemented later.
Just found another "nice to have"
I've made my Pointers as an extra Scene and tried to implement this scene as "nested" scene into any scene that will need mouse cursor skins, as I only know how make elemtents visible / invisble in Touch Portal with reference to the scene for those elements...
your script does seem to not work "global", but just for the scene those elements are in and only if that scene is active. If I use the nested scene as described above, the cursors won't move, as long as I am not in my "NS-Pointer" Scene, that contains the cursor skins.
There was support for a similar feature ( Spotlight ) I did this via nested scenes and blending via chromakey. The script is now updated to version 2.3.0 and you can use nested scenes.
 

Rediflow

New Member
There was support for a similar feature ( Spotlight ) I did this via nested scenes and blending via chromakey. The script is now updated to version 2.3.0 and you can use nested scenes.
You are awesome, man :-)
Works perfectly fine with the multiple instances and the nested scenes...
 

upgradeQ

Member
upgradeQ updated OBS Studio mouse cursor skin with a new update entry:

Add xmas edition of trail shader

Changes in 2.4.2 version :
- Add trail shader to releases.
- Add xmas edition of trail shader. Warning, computationally expensive, takes 20-30% of GPU 3D load on my machine, disable preview to avoid rendering twice.
Comes without a properties window, make changes in either the .lua or .hlsl file, then reload the script for your changes to take effect.

Read the rest of this update entry...
 
Hi, Thanks for creating this plugin, but I had some issues with it. My whole screen collection went blank. I uninstalled it as a script and all was good. I am using an intel Mac OS Ventura. Sorry, after I deleted it and restarted I went back to find the log file and couldn't find the time stamp that indicates which one was the log that included it. Will try again another time! Thanks......found it!
 

Attachments

  • 2025-01-12 16-32-15.txt
    307.5 KB · Views: 7
Last edited:

upgradeQ

Member
Hi, Thanks for creating this plugin, but I had some issues with it. My whole screen collection went blank. I uninstalled it as a script and all was good. I am using an intel Mac OS Ventura. Sorry, after I deleted it and restarted I went back to find the log file and couldn't find the time stamp that indicates which one was the log that included it. Will try again another time! Thanks......found it!
Thanks for the report. Some Lua scripts use the DirectX API which does not exist in MacOS, others use the Windows specific API. This is noted in README.md. Try using the cross-platform Python version.
Also, when making a log, please only include the script you have a problem with, unload all that are not relevant.
 
Thanks for the report. Some Lua scripts use the DirectX API which does not exist in MacOS, others use the Windows specific API. This is noted in README.md. Try using the cross-platform Python version.
Also, when making a log, please only include the script you have a problem with, unload all that are not relevant.
Thanks for your quick reply. Unfortunately, I'm not good with Python, but I'll try!
 

graynoise

New Member
Hello! Firstly, Thank you!

I am searching for answers and am curious if you can help me. I want to create a blurred area around my cursor so that I am able to move around my cursor and "block" certain areas of a video that is playing. The video shows the back panel of a phone but there is a sticker on the back panel with the IMEI number. So, I want that blurred out. I'd appreciate your assistance/brain storming.
 

upgradeQ

Member
Hello! Firstly, Thank you!

I am searching for answers and am curious if you can help me. I want to create a blurred area around my cursor so that I am able to move around my cursor and "block" certain areas of a video that is playing. The video shows the back panel of a phone but there is a sticker on the back panel with the IMEI number. So, I want that blurred out. I'd appreciate your assistance/brain storming.
If you have managed to get a blurred rectangle composited over your scene, let me know how you did it.
First of all, you can get a good blur with this plugin:
https://obsproject.com/forum/resources/composite-blur.1780/
There are settings you can access to change the position of a blur. You can add support to this script - to send mouse values and control where the blur is. It is possible. Pull requests are welcome!
So, is it common in your workflow to have to manually blur something? Personally, I think black bars are sufficient for this.
 

graynoise

New Member
If you have managed to get a blurred rectangle composited over your scene, let me know how you did it.
First of all, you can get a good blur with this plugin:
https://obsproject.com/forum/resources/composite-blur.1780/
There are settings you can access to change the position of a blur. You can add support to this script - to send mouse values and control where the blur is. It is possible. Pull requests are welcome!
So, is it common in your workflow to have to manually blur something? Personally, I think black bars are sufficient for this.
Hello! This is for a random use case that someone brought up on reddit. I decided I wanted to try to find a solution and this plugin seemed like a good start. The idea you suggest about using composite blur to move around the position based on mouse values is probably the best way. Thank you for the suggestion. Unfortunately, I don't know how to do that. But I guess I can try to learn.

I was initially thinking it could somehow be done using CSS. Using backdrop-filter. Something like:

.blur-bar {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
}
 
Top