Scripting Syntax

From Audacity Wiki
Revision as of 13:02, 18 January 2018 by James (talk | contribs) (Updates.)
Jump to: navigation, search

{{ednote|1=

  • James: The content of this page has now been corrected, updated and transferred to the alphamanual.
  • I've implemented missing/incomplete commands.


Warning icon This page is work in progress. The commands here are currently only available in some alpha builds, and the documentation may not quite match the commands implemented. That is why this is in the wiki rather than in the alphamanual.
Warning icon When commands return a syntax error, the results may subsequently lag behind the requests, which can get confusing.

Overview

This page contains information about an expanded Syntax for GetTrackInfo and SetTrackInfo for the scripting feature in Audacity.


GetMenusPlus:

Gets a list of all the menu items in JSON format


Parameters:

Dummy: This parameter does not exist.


Examples:

Send Receive
GetMenusPlus GetMenuPlus finished: OK

GetBoxes:

Gets a list of all the toolbars and buttons in JSON format


Parameters:

Dummy: This parameter does not exist.


Examples:

Send Receive
GetBoxes GetBoxes finished: OK


GetClips:

Gets a list of all the clips in JSON format


Parameters:

Dummy: This parameter does not exist.


Examples:

Send Receive
GetClips GetClips finished: OK


GetLabels:

Gets a list of all the labels in JSON format


Parameters:

Dummy: This parameter does not exist.


Examples:

Send Receive
GetLabels GetLabels finished: OK