Opened 18 years ago

Closed 18 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 by Heiko, 18 years ago

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 by Chuck McKinnis <mckinnis@…>, 18 years ago

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 by Eugene Romanenko, 18 years ago

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.