mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 16:16:33 +01:00
Add AutomationCommands class
- AutomationCommands replaces GetAllMenuCommands, and can provide information about menus, buttons and toolbars to a script. - BatchCommands can now return textual results to a script. - There's a new GUID for mod-script-pipe and it is included in the .sln.
This commit is contained in:
@@ -27,8 +27,12 @@ def doCommand( command ) :
|
||||
print( "Rcvd: " + response )
|
||||
return response
|
||||
|
||||
def getStructure() :
|
||||
doCommand( 'GetAllMenuCommands:' )
|
||||
def do( command ) :
|
||||
doCommand( command )
|
||||
|
||||
def getStructure() :
|
||||
do( 'GetBoxes' )
|
||||
#doCommand( 'Screenshot: CaptureMode=menus' )
|
||||
do( 'GetMenusPlus' )
|
||||
|
||||
getStructure()
|
||||
|
||||
Reference in New Issue
Block a user