Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group