Filetype registration on OS X

From: Dave Page <dpage(at)postgresql(dot)org>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Filetype registration on OS X
Date: 2007-05-10 16:04:44
Message-ID: 4643429C.7020900@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Florian,

I've been trying to figure out how to register pgAdmin as a handler for
.sql files with Launch Services, however all the documentation I seem to
be finding is about using Launch Services to launch a file (as Finder
would), rather than registering as we need to.

Any ideas, or helpful URLs I've missed? I'm trying to basically do:

pgAdmin3.app/Contents/MacOS/pgAdmin3 -q -f $FILE.sql

whenever $FILE.sql is launched.

Regards, Dave.

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Florian G. Pflug 2007-05-10 19:53:46 Re: Filetype registration on OS X
Previous Message Dave Page 2007-05-10 15:48:14 Demo build for Windows