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 ?
ImportLabels script command not working?
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
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
-
bullyellis
- Posts: 8
- Joined: Tue Apr 10, 2012 5:50 pm
- Operating System: Please select
-
billw58
- Forum Staff
- Posts: 5600
- Joined: Wed Aug 12, 2009 2:10 am
- Operating System: macOS 10.15 Catalina or later
Re: ImportLabels script command not working?
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
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