scripting

  1. wackazong

    Trigger hotkey events from python

    I compiled the motion-effect plugin on Mac and now I want to start the effect from a python script. The filter that I use exposes a hotkey that can be called to start the filter's effect. How can I start the effect from python? Can I trigger hotkey events from python? Or can I register a method...
  2. A

    Question / Help Create callback in python script to use in "obs_source_enum_filters"

    Hi I'm trying to list filters on a source in a python script I'm working on, but i can't figure out how to get the callback working in: obs_source_enum_filters(obs_source_t *source, obs_source_enum_proc_t callback, void *param) I get this error: TypeError: in method 'obs_source_enum_filters'...
  3. Korwin

    Python script and vec2 struct

    Hello, I'm tring to write python script that would move one of the sources somehow. For this I'm tring to utilize obs.obs_sceneitem_set_pos The problem is that it require "const struct vec2 *pos " as a second parameter. I tried to pass tuples, arrays, classes and always get: --------------...
  4. A

    Bug Report Python scripting don't work on OBS 22.0.3

    Is python scripts currently supported in the latest version of OBS (22.0.3) on macOS? I'm trying to load a script, but unable to get any output in console. I've tried setting python path to /usr/local/Cellar/python/3.6.5 but nothing have changed, still no output.
Top