Skip to content

Exporting functions for ReaScript #432

Description

@Jeff0S

From fingersmcgarnickle on December 14, 2011 13:17:09

I wrote a bit of throwaway code to test accessing ReaScript from reaper_sws.dll. Basically you export functions from the dll and then you can call them from ReaScript using the ctypes module.

This will enable users to edit MIDI events using ReaScript from the MIDI editor, without chunk editing. It also opens up new levels of customization capabilities, beyond this.

I am thinking I'll just export one function called ReaScriptImport which will return function pointers to functions from a table. The python import module could be generated from an action or shipped in the installer.

Does this sound okay to implement here or should I start a new project to do this. I think a fair few people would use this as Python is a pretty simple language to get your head around, given some examples.

Original issue: http://code.google.com/p/sws-extension/issues/detail?id=432

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions