ImportLabels script command not working?

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
bullyellis
Posts: 8
Joined: Tue Apr 10, 2012 5:50 pm
Operating System: Please select

ImportLabels script command not working?

Post by bullyellis » Wed May 02, 2012 6:29 pm

Hello again,

Using name pipes and scripting I entered the following command:
GetAllMenuCommands: ShowStatus=true

This worked as desired and I received a list of all menu commands and their current status.
The command I am interested in is : "ImportLabels: ENABLED"

I am trying to import some labels, C:abc.txt, it is formatted correctly as I can import it using the mouse, but am having trouble getting it to work over named pipes and a script.

I have tried the following
MenuCommand: ImportLabels=C:abc.txt
ImportLabels=C:abc.txt

and a bunch of other derivations. Does anyone know the script command for importing a label over named pipes? Is this possible ?

billw58
Forum Staff
Posts: 5565
Joined: Wed Aug 12, 2009 2:10 am
Operating System: macOS 10.15 Catalina or later

Re: ImportLabels script command not working?

Post by billw58 » Wed May 02, 2012 6:46 pm

I''ve never used mod-script-pipe and only know what is on this page: http://manual.audacityteam.org/man/Scripting

From that documentation it seems you cannot pass a parameter with MenuCommand.

Since you have compiled Audacity with mod-script-pipe, perhaps you'd be interested in extending it? If so, you might want to ask on the Audacity Developers list.
Go to https://lists.sourceforge.net/lists/lis ... city-devel to sign up for that list.

-- Bill

Post Reply