Bit of a request. Could somebody explain to me how to create a script that will allow me to, via a push of a button, launch a sound recorder (audacity in my case).
Also, is there a way that using scripting, you can get it so that on the push of a button on the keyboard, audacity will load and start recording instantly.
Would really appreciate any help into how i can get this to work as i have no idea about scripting.
Let me begin by saying that the following advice is off the top of my head :).
The first thing you need to find out is the command line to start Audacity in Record mode.
opt rant y q
I confess I loathe Audacity: I am a SoundForge and/or CoolEdit person and I just cannot get my head around Audacity’s peculiar (to me) way of working, nor its apparent need to have 1001 add-ins to do anything beyond Very Basic Editing. OK, so that is probably just the way my mind works, and nothing to do with Audacity which is of course popular because it’s free ;).
opt rant n q
The command you need will look something vaguely like:audacity.exe -r RecordFileName.wav
but no doubt an Audacity expert can correct this and/or tell you whether it’s possible or not. You can test the final command line by opening a Command Prompt window and typing in the command.
When you’re happy that it works correctly …
It’s very easy to instruct mAirList to run ANY other program: you write a script which includes a SHELL statement. I seem to remember writing something about this in the Wiki, so please Search that and come back here if that info. isn’t there. So what you need is to write a simple mAirList script which ‘runs’ Audacity using your command line.
Once that’s written and working, again it should be easy to assign that ‘run Audacity recording’ script to a mAirList hotkey.
Sorry again to be so vague but it definitely sounds possible. Your only problem as I see it would be stopping the Audacity recording, which you would have to do manually in the Audacity window (unless anyone knows differently?).