apptools.scripting.util module

Simple utility functions provided by the scripting API.

apptools.scripting.util.start_recording(object, ui=True, **kw)[source]

Convenience function to start recording. Returns the recorder.

Parameters
  • object (object to record.) –

  • ui (bool specifying if a UI is to be shown or not) –

  • kw (Keyword arguments to pass to the register function of the) –

  • recorder.

apptools.scripting.util.stop_recording(object, save=True)[source]

Stop recording the object. If save is True, this will pop up a UI to ask where to save the script.