Filetype registration on OS X - Mailing list pgadmin-hackers

From Dave Page
Subject Filetype registration on OS X
Date
Msg-id 4643429C.7020900@postgresql.org
Whole thread Raw
Responses Re: Filetype registration on OS X
List 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.

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Demo build for Windows
Next
From: "Florian G. Pflug"
Date:
Subject: Re: Filetype registration on OS X