Opened 18 years ago

Closed 17 years ago

#74 closed enhancement (fixed)

PDF default association

Reported by: ktk Owned by: Eugene Romanenko
Priority: minor Milestone: Beta 4
Component: Lucide Core Version: 1.0 Beta 3
Keywords: PDF association Cc:

Description

So far we just create an icon & folders for Lucide, it would be nice if it would associate Acrobat Documents as well with the program object. Also, there should be an optional question if one wants to have Lucide as default PDF viewer. That should be an option, not a default however :-)

Change History (3)

comment:1 Changed 18 years ago by Heiko

The association is already done by the current WarpIN package.

Have a look at the .wis script I provided earlier and search for *.pdf. It should be in one of the lines starting with CREATEOBJECT. So far PDF and DJVU files are associated to Lucide, but not as default application. You can simply add other extensions.

The supported keywords for the program object creation are described in the "Workplace Shell Programming Reference" part of the OS/2 Warp 4.5x toolkit. Lookup Worplace Shell Object class WPProgram, then scroll down to the table of supported parameters. You can also use the parameters of all base classes (e.g. WPObject). Though there seems to be not parameter to define an app as default app for certain extension. I don't know how this can be changed, probably somehow via OS2.INI key modification.

comment:2 Changed 18 years ago by Chuck McKinnis <mckinnis@…>

I am working on the OS2.INI file update.

See my WarpIN lucide.wis. I added another parm to the object setup.

ASSOCTYPE=Acrobat Document;

comment:3 Changed 17 years ago by Eugene Romanenko

Resolution: fixed
Status: newclosed

(In [141]) Warpin script fixed and works now, default associations works also (closes #74, #79)

Note: See TracTickets for help on using tickets.