Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Open programs:

  • Chrome
  • Dreamweaver
  • Photoshop

Requirements:

  • Ctrl+C or Alt+C - Focus Chrome window

  • Ctrl+D or Alt+D - Focus Dreamweaver window

  • Ctrl+P or Alt+P - Focus Photoshop window

I need a solution for this...

share|improve this question
    
what should happen to key-strokes/shortcuts that already use those combinations? eg Ctrl-P is 'Print' mostly, and Ctrl-C for Chrome will break more than it fixes. Alt-<key> keystrokes get used by menus and widgets on screen. Alt-tab (and Alt-Shift-Tab) is the easiest way to do this stuff. – mcalex Feb 10 '13 at 10:34
    
I want to go directly to a specific program :/ – misima Feb 10 '13 at 10:36
    
Which version of Windows? – Dennis Feb 10 '13 at 12:30
    
I'm useing Windows 8 – misima Feb 10 '13 at 16:30
    
AutoHotkey is prefect for me... Thenk you Karan :)... if do u you want add as answer. – misima Feb 11 '13 at 23:45
up vote 1 down vote accepted

Use an AutoHotkey script that employs WinActivate:

!c::
SetTitleMatchMode, 2
IfWinExist, Chrome 
{
    WinActivate 
    return
}
!d::
SetTitleMatchMode, 2
IfWinExist, Dreamweaver 
{
    WinActivate 
    return
}
!p::
SetTitleMatchMode, 2
IfWinExist, Photoshop 
{
    WinActivate 
    return
}
share|improve this answer
1  
Good answer. In addition you have the option of adding an else statement to each IF statement to open the program if it isn't open already. – David Feb 12 '13 at 14:31
1  
@Jikag: Yes, if that's required then Run can be used with an ELSE added to each IF. Of course, besides the above just as in Win7 in Win8 too Windows Key+Number Key (1-9) will switch to desktop mode and make the Nth application on the taskbar active (where 1 is the leftmost). Obviously different apps will occupy different slots each time based on their order of execution though, whereas the script above won't be affected by this. – Karan Feb 12 '13 at 14:37
    
Another good point, though if you want to make the programs occupy the same position every time, you can open a program, right click on it and choose "pin to taskbar" – David Feb 12 '13 at 15:03
    
@Jikag: Ah yes, forgot about pinned shortcuts retaining their positions! – Karan Feb 12 '13 at 15:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .