Ticket #74 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

PDF default association

Reported by: ktk Owned by: eros2
Priority: minor Milestone: Beta 4
Component: Lucide Core Version: 1.0 Beta 3
Keywords: PDF association Cc:
Blocking: Blocked By:

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

Changed 2 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.

Changed 2 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;

Changed 2 years ago by eros2

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.