Hello, I’m a web craftsman with a passion for the modern web. I build web applications and play with social services and communities.

March 29, 2010 at 11:22 pm

In Windows 7 (and maybe even older Windows versions) you have 3 ways of opening an image… Just double click it and it will open with the default application. right-click -> Open with… and choose an application yourself or right-click -> edit to open it in an default image editor. In Windows 7 the default applications for those menus are Image/Print Preview for opening and Paint for image editing. Now I wanted to stick with Preview for opening an image (because it’s quick) while changing the behaviour of the edit context menu to open up the file in Photoshop. There seems to be noway to do so in the usually so overloaded Windows GUI. But regedit comes in handy:

  1. Open up the registry editor: Start -> “regedit”
  2. HKEY_CLASSES_ROOT -> SystemFileAssociations -> image -> shell -> edit -> command
  3. On right hand side double click on Default and change path to “C:\Program Files\Adobe\Adobe Photoshop CS4\Photoshop.exe” “%1”