Community Forums Archive

Go Back

Subject:How to assign single keys to shortcuts?
Posted by: Sound Samurai
Date:5/25/2005 2:37:40 AM

Hello (again)

How do i assign single keys to keyboard shortcuts? For example I dont need the J K L transport commands, I have removed them and would like L to insert sample loop. But just pressing L doesnt fill in "L" in the key window, nothing happens until i press a modifier, for example CTRL. Neither does any other single key, one must always hold a modifier.

And could it be possible to assign keyboard shortcuts to scripts? Press "J" to run "This script"

Thank you for a great program.

Subject:RE: How to assign single keys to shortcuts?
Reply by: _TJ
Date:5/25/2005 12:37:03 PM

You can' t assign single letters to the Global context. If we let you, for instance, assign L as a global binding, then you wouldn't be able to type any word containing an L in any edit box in the application. Global means GLOBAL.

However, we will let you assign L in the Data Window context, and you can assign it to the same function in Regions List, Playlist & Plug In Chainer, which will give you nearly global behavior without having the side effect of having L do something global when you are just trying to type.

sometimes an L is just an L.

tj

Subject:RE: How to assign single keys to shortcuts?
Reply by: MyST
Date:5/25/2005 1:24:32 PM

Did you ever check out the Contour Shuttles(Pro v2 and Express)?

www.contourdesign.com

Assignable keys, even single keystrokes.

Mario

Subject:RE: How to assign single keys to shortcuts?
Reply by: _TJ
Date:5/25/2005 7:45:08 PM

You can assign keyboard shortcuts to scripts that are in the Script Menu folder.
In theKeyboard preferences tab, Under Available Commands scroll down to commands that start with "Script."

If you don't see your script there, Try running the "Recan Script Menu Folder." option from the Tools->Scripting menu

tj

Subject:RE: How to assign single keys to shortcuts?
Reply by: porkjelly
Date:5/25/2005 10:46:58 PM

Under Keyboard Shortcuts, select something other than GLOBAL, then type the single letter to be assign in the box (be sure to remove any existing key associations) and then switch over to GLOBAL. The letter will remain in the box, allowing you to assign that key to a particular command. However, like SonyTJ says, any letter you assign under GLOBAL will not be allow to be entered as part of a title/text within the application.

Subject:RE: How to assign single keys to shortcuts?
Reply by: _TJ
Date:5/25/2005 11:29:51 PM

Ok, that's a bug.
tj

Subject:RE: How to assign single keys to shortcuts?
Reply by: porkjelly
Date:5/26/2005 12:44:02 AM

If it's a bug, then it's one that's come in very handy for me in Sound Forge. I can access often-used commands and effects with a single key stroke, making editing that much quicker.

Subject:RE: How to assign single keys to shortcuts?
Reply by: _TJ
Date:5/26/2005 10:50:43 AM

If it's a bug, then it's one that's come in very handy for me in Sound Forge. I can access often-used commands and effects with a single key stroke, making editing that much quicker.

No. Binding single alpha-numeric keys into the Data Window context makes editing easier. And that you can do without exploiting this bug.

But binding single alpha-numeric keys into the Global context is just going to come back and bite you.

Trust me on this, Just bind your keys to the Data Window context and start editing, You'll find that the keys always work when you want them to, but never jump in unexpectedly when your attention is somewhere else.

tj


Subject:RE: How to assign single keys to shortcuts?
Reply by: Angels
Date:6/2/2005 12:12:28 PM

I've assigned a keyboard shortcut to a script but it doesn't seem to work.

I assigned "Y" to it in the "Data Window" Context. "Y" appears next to the script's name in the menu listing, but it doesn't do anything.

TIA,

Angels

Subject:RE: How to assign single keys to shortcuts?
Reply by: Sound Samurai
Date:6/4/2005 11:18:05 AM

Sorry for the slow followup, I was busy scripting :)

Same for me, it just doesnt work.

With context Data Window I assign "E" to a script. Nothing happens when i press E. If I change it to "CTRL-J" (since CTRL-E is taken), it works fine.

The same with Process.Reverse, i have so far been unable to assign that one to any single letter. It only works when assigned to a CTRL-combination (currently CTRL-Q).

But InsertSampleLoop works with only "L" ...

I am a bit puzzled by this :)

Subject:RE: How to assign single keys to shortcuts?
Reply by: _TJ
Date:6/6/2005 5:44:16 PM

Boy is my face red. It turns out that Script commands and some other main menu commands were never hooked up properly in the Data Window context.

This has nothing particularly to do with single letter key bindings. When you bind a script command to in the Data Window context the routing of the key is complicated, and in the end, it doesn't ever make it to the right code. I'll put this in the bug list for the next update.

tj


Go Back