Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.