PDA

View Full Version : How can I add a new keyboard shortcut?


chinese_ys
August 19th, 2007, 12:14 AM
Hi, there

I just want to get a function that the current application can minimize when I press Ctrl+Tab to switch to another app? I checked the System->Preference->Keyboard Shortcut, but I did not find any corresponding one.

any advise will be appreciated!

aysiu
August 19th, 2007, 04:05 AM
I don't think you can have one keyboard shortcut execute two commands unless you create a shell script. Those are two separate events you're talking about (1. Switch applications 2. Minimize the other application).

Unfortunately, I don't know what the commands are for those events. Otherwise, I could help you create a shell script for the combined command.

chinese_ys
August 19th, 2007, 05:17 PM
I don't think you can have one keyboard shortcut execute two commands unless you create a shell script. Those are two separate events you're talking about (1. Switch applications 2. Minimize the other application).

Unfortunately, I don't know what the commands are for those events. Otherwise, I could help you create a shell script for the combined command.

Thanks, I do not know the commands for these two action to build the script either. So the advise from experienced geek is required here.