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

I am running PSPad (a Windows programming editor) on Mac OS X (Snow Leopard) using Wine 1.1.35.

I want to associate various file extensions (.php, .js, .html) with PSPad.exe.

Finder does not allow this association. I can only associate file types with $.app items in Applications.

How do I get Mac OS X to pass a file to Wine/PSPad when I double click it in Finder?

share|improve this question

You need to create an AppleScript (or other Mac executable) that wraps PSPad.exe and Wine, which you can then associate in the Finder with those file types. See for some instructions on doing that.

share|improve this answer
Thanks Jon -- tried this and while it does create an app which can be associated with file types, it fails to open a file (filename.php) in the editor when double clicking on filename.php. I've given up trying to get this to work and switched to jEdit. – Damion Hankejh Apr 6 '10 at 17:32

I am not sure if it would work, but you could create a symbolic link called and have that link to the PSPad.exe file.

share|improve this answer

You must log in to answer this question.

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