0.1.0 • Published 8 years ago

proInterface v0.1.0

Weekly downloads
5
License
-
Repository
-
Last release
8 years ago

ProInterface

Use Javascript to interact with ProPresenter.

Tested with ProPresenter 6.

To initialise:

var pro = proInterface('127.0.0.1', 50001, 'control');

proInterface needs a network address (use 127.0.0.1 for the current machine), a port number (ProPresenter's default is 50001) and a password. It'll then handle opening and authorising the connection.

pro.on('authReceived', function (error, controlStatus) {
  pro.on('newSlide', function (slideDetails) {
    ...
  });
  proInterface.getStageDisplayLayouts(function (layouts, current) {
    ...
  });
  pro.setStageDisplayLayout('Default');
});