Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-09

Creating crossplatform file association on the fly.

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Torsten Bonde Christiansen

Dear list.

Does Lazarus have some sort of cross-platform way of dynamically creating file associations for a program.

I know how to do it using the registry in Windows, but I have not clue how to do the same on Linux (in my case Ubunty) and Mac OS.

If anyone have tried this before I'd appriciate the help.

Kind regards,
Torsten Bonde Christiansen.

Reply by email

zeljko
to Torsten Bonde Christiansen
Torsten Bonde Christiansen wrote 9 lines
Dear list. Does Lazarus have some sort of cross-platform way of dynamically creating file associations for a program. I know how to do it using the registry in Windows, but I have not clue how to do the same on Linux (in my case Ubunty) and Mac OS. If anyone have tried this before I'd appriciate the help.

for Linux you have to read FreeDesktop specification about mime types, don't know link for mac.

Reply by email

Torsten Bonde Christiansen
to zeljko
Show quoted text 9 lines
> creating file associations for a program. > > I know how to do it using the registry in Windows, but I have not clue > how to do the same on Linux (in my case Ubunty) and Mac OS. > > If anyone have tried this before I'd appriciate the help. for Linux you have to read FreeDesktop specification about mime types, don't know link for mac.

I take that as a no... :)

Regards,
Torsten Bonde Christiansen.

Reply by email

Maik Wojcieszak
to Torsten Bonde Christiansen

Torsten,

look here

http://en.wikipedia.org/wiki/File_association

maybe this helps.

Maik

Show quoted text 22 lines
>> creating file associations for a program. >> >> I know how to do it using the registry in Windows, but I have not clue >> how to do the same on Linux (in my case Ubunty) and Mac OS. >> >> If anyone have tried this before I'd appriciate the help. > > for Linux you have to read FreeDesktop specification about mime > types, don't > know link for mac. I take that as a no... :) Regards, Torsten Bonde Christiansen. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email