Resource icon

Zoom and Follow 0.1.0

Reaperz

New Member
so I have the zoom and follow script enabled and working fantastically on one of my monitors. The issue is that even if I duplicate and rename the script for other sources the second script will just give me a script log pop up and tell me syntax error. Is there something I am missing?
 

Geefbird

New Member
I have an issue where I have everything installed correctly but when I try to start OBS it says "Script Error Log" Zoom_and_Follow.py module not found"

and zoom and follow therefore has no settings, hotkeys, and does not function.
 

wgp123

Member
Unfortunately not errors I’ve seen and I dont know enough about them to try and resolve. The dev is pretty good at helping out, as are some others, so hopefully they might be of more help to you shortly.
 

Geefbird

New Member
I have an issue where I have everything installed correctly but when I try to start OBS it says "Script Error Log" Zoom_and_Follow.py module not found"

and zoom and follow therefore has no settings, hotkeys, and does not function.
1662469127307.png
just to give the exact error
 

Geefbird

New Member
I got my issue resolved, but now it only zooms and does not follow. Going to look around and see if I can find a fix
 

Gitago

New Member
I tried lots of things and it just keeps minimizing the obs source to nothing instead of zooming it in..
Then when I adjust set manual override on monitor and the zoom width/height to be more than the size of the monitor it starts glitching out.

This one "works" if i set the zoom width/height less than the actual window size but the result is less than appealing with half the screen being uncovered due to it lowering the size of the source and no real 'zooming' is happening at this point but the it does follow my mouse
1662823195356.png
 

Geefbird

New Member
I tried lots of things and it just keeps minimizing the obs source to nothing instead of zooming it in..
Then when I adjust set manual override on monitor and the zoom width/height to be more than the size of the monitor it starts glitching out.

This one "works" if i set the zoom width/height less than the actual window size but the result is less than appealing with half the screen being uncovered due to it lowering the size of the source and no real 'zooming' is happening at this point but the it does follow my mouse
View attachment 86466
When it minimizes the source you are zooming on, right click the minimized box, go to transform, and fit to screen. That is what I did and it has worked ever since.
 

Alex_S

New Member
Hello To the Forum,

I am new and not very good in IT or programming things.

But I have an issue as well with the script of the mouse zoom and following.

I have installed python. It is on version 3.6.8
For that I did first: python -m pip install pynput
Worked well no errors.
Then I did: python -m pip install screeninfo
Work well too. No errors.

I downloaded the zip file from github and extracted it to my C: folder.
I opened OBS went to scripts. I added "mouse zoom and follow".
When I do that I get a message:


[zoom_and_follow_mouse.py] Source update
[zoom_and_follow_mouse.py] Source Name: Bildschirmaufnahme
[zoom_and_follow_mouse.py] Traceback (most recent call last):
[zoom_and_follow_mouse.py] File "C:/Program Files/obs-zoom-and-follow-master\zoom_and_follow_mouse.py", line 797, in script_save
[zoom_and_follow_mouse.py] hotkey_save_array = obs.obs_hotkey_save(zoom_id_tog)
[zoom_and_follow_mouse.py] TypeError: in method 'obs_hotkey_save', argument 1 of type 'obs_hotkey_id'
[zoom_and_follow_mouse.py] Traceback (most recent call last):
[zoom_and_follow_mouse.py] File "C:/Program Files/obs-zoom-and-follow-master\zoom_and_follow_mouse.py", line 770, in script_load
[zoom_and_follow_mouse.py] [source, source_type] = load_settings['source'].split("||")
[zoom_and_follow_mouse.py] KeyError: 'source'
[zoom_and_follow_mouse.py] Updating Source List
[zoom_and_follow_mouse.py] New source: True
[zoom_and_follow_mouse.py] Updating Monitor List
[zoom_and_follow_mouse.py] Monitor override list updated
[zoom_and_follow_mouse.py] Updating Source List
[zoom_and_follow_mouse.py] New source: True
[zoom_and_follow_mouse.py] Updating Monitor List
[zoom_and_follow_mouse.py] Monitor override list updated
To me it looks good so far.

But when I go to the settings and Hotkeys, I cannot find anything related to the script.
But instead I get an error message and now I don't know what to do:

[zoom_and_follow_mouse.py] Traceback (most recent call last):
[zoom_and_follow_mouse.py] File "C:/Program Files/obs-zoom-and-follow-master\zoom_and_follow_mouse.py", line 797, in script_save
[zoom_and_follow_mouse.py] hotkey_save_array = obs.obs_hotkey_save(zoom_id_tog)
[zoom_and_follow_mouse.py] TypeError: in method 'obs_hotkey_save', argument 1 of type 'obs_hotkey_id'

If it helps, I work with OBS 27.2.4 (64-bit, windows)

When I close OBS it crashes and gives the error message enclosed in the png.

Does anyone knows what I can do to fix this?

Thank you so much for your help.
 

Attachments

  • 1663409212123.png
    1663409212123.png
    7.1 KB · Views: 2
I’ve asked before — still hoping to see a way set up maybe 2 or 3 zoom “levels”, and be able use a hotkey to switch from to another, as opposed to a simple toggle of “zoom in/zoom out”.

Case Scenario:

Hotkey1:
Zoom from 100% to Level1 (say, = to 150%)

Hotkey1 pressed again:
Zoom from 150% to Level2 (say, = to 175%)

Hotkey1 pressed again:
Zoom from 175% to Level3 (say, = to 200%)

Hotkey1 + CTRL:
Zoom out one level from current level.

The point is to be able to zoom in, in steps, using the same hotkey, and zoom out, in steps, using the same hotkey w/modifier.

Also, with pan/folllow on, teach level should still “follow” the mouse cursor position.

Make sense?

Doable?

Can I help?
 
Top