add keyboard shortcuts NOT in the xml file

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
Locked
sagetyrtle
Posts: 56
Joined: Sat Aug 16, 2008 5:21 pm
Operating System: Please select

add keyboard shortcuts NOT in the xml file

Post by sagetyrtle » Thu Sep 30, 2010 8:35 am

I'm using Audacity 1.3.12 under Ubuntu.

I'd really like to add keyboard shortcuts that are NOT already in the xml file. Currently, in order to move a track from the bottom to the top, I have to select the menu on the track (which I've set to Control+M) move down to "Move Track Up", and the track goes up one. I have to repeat that until it' s at the top.

When I was using Audacity in Windows XP, I just used AutoHotKey to get around this problem, and that worked wonders, but isn't an option under Ubuntu.

Does anybody have any good ideas of how I can create keyboard shortcuts from outside Audacity, the way I was able to in Windows XP?

Thanks so much,
-Sage

sagetyrtle
Posts: 56
Joined: Sat Aug 16, 2008 5:21 pm
Operating System: Please select

Re: add keyboard shortcuts NOT in the xml file

Post by sagetyrtle » Thu Sep 30, 2010 9:27 am

Wow! Okay - a possible work-around...

http://ubuntuforums.org/showthread.php? ... ost9907106

sagetyrtle
Posts: 56
Joined: Sat Aug 16, 2008 5:21 pm
Operating System: Please select

Re: add keyboard shortcuts NOT in the xml file

Post by sagetyrtle » Sun Oct 03, 2010 11:13 am

And here's one that DEFINITELY works:

1) Make sure you've installed Autokey, and that it's running.

2) Go into Configuration.

3) Create a new script.

4) Record a macro. Keyboard only. For example: in order to easily Fade In, I just recorded the steps (beginning of course with Alt+c).

5) Press stop when you've come to the end.

6) Assign whatever hotkey you want (though BE SURE it's not already used in Audacity).

7) After that, as long as Autokey is running, you'll be able to use that hotkey within Audacity.

(I haven't played around with it, but there's also a Window Filter option, so it looks like it'd be very easy to tell Autokey that this particular hotkey should only work if you're ALREADY inside Audacity.)

Locked