Resource icon

OBS Python Powerpoint slide window navigation using OBS hotkey 1.0

Claetze

New Member
I have had great help using ppt_slide.py on Windows PC but now I would need to the same kind of script on a Mac. Is it possible to create? I.e. is there anything similar to win32com in Python on Mac to be able to control other programs?
 

永远还在

New Member
按照步骤安装这些,但我在热键中看不到该功能
1671258652033.png
1671258667948.png
1671258673433.png
 

t1m0thyj

New Member
Thanks for providing this script, it does exactly what I needed.

I noticed that if PowerPoint is closed and relaunched, then the script may fail with an error "The RPC server is unavailable." I worked around this by replacing line 76 (ssw = powerpoint.SlideShowWindows) with the following:
Python:
    try:
        ssw = powerpoint.SlideShowWindows
    except Exception as exc:
        if 'The RPC server is unavailable' in str(exc):
            powerpoint = None
            return get_slideshow_view()
        else:
            raise
 
Top