Step 3: Create and Run a Script

Now it is time to create your first script. The example script will create a dynamic movie template, which renders a video with a background video fetched from the internet and a layer on top with dynamic text.

When you create a new script, the Console will automatically add a few lines to the code. These commands will fix the API version of the SDK, set the region, create an instance of the SDL Service and create an instance of the FX.Project service already bound to your current project.

Also, you do not need to set API keys, because the Console provides the neccessary authorization internally.

To create the script
  1. In the Project Management Console select the project you just created.
  2. On the left-hand menu, click codeScripts
  3. Click addNew Script
  4. Enter a name for the script and click Create
  5. Copy and paste the following code:
  6. Click saveSave
  7. Click play_arrowRun

Terms of Use | © 2017, Impossible Software, or its affiliates. All rights reserved.