Ignore:
Timestamp:
Oct 11, 2006, 5:14:14 PM (15 years ago)
Author:
Eugene Romanenko
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/warpin/lucide_wpi.wis

    r110 r141  
    8787</REXX>
    8888<REXX NAME=prog>
    89 ans = WirexxShowMessage(WirexxGetEnv('title'),'Make Lucide the default program for PDF files?','0004'x)
     89ans = WirexxShowMessage(WirexxGetEnv('title'),'Make Lucide the default program for PDF files?',4)
    9090If ans = 6 Then Do
    9191 /* clear any previous associations */
     
    112112</REXX>
    113113<PCK INDEX=1
    114      PACKAGEID="netlabs.org\Lucide\Lucide core\0\9\3"
     114     PACKAGEID="netlabs.org\Lucide\Lucide core\0\9\4"
    115115     TARGET="$(WARPIN_DEFAULTAPPSPATH)\Lucide"
    116116     BASE
    117117     TITLE="=("title")"
    118      CREATEOBJECT="WPFolder|=("folder")|<WP_DESKTOP>|OBJECTID=<LUCIDEFOLDER>;ICONFILE=$(1)\lucide_fldr_1.ico;ICONNFILE=1,$(1)\lucide_fldr_2.ico;OPEN=DEFAULT;ALWAYSSORT=YES;"
    119      CREATEOBJECT="REPLACE WPProgram|=("prog")|<LUCIDEFOLDER>|EXENAME=$(1)\lucide.exe;OBJECTID=<LUCIDEFOLDER_LUCIDEEXE>;PROGTYPE=PM;STARTUPDIR=$(1);ASSOCFILTER=*.PDF,*.DJVU;ASSOCTYPE=Acrobat Document;"
    120      CREATEOBJECT="REPLACE WPProgram|=("readme")|<LUCIDEFOLDER>|EXENAME=e.exe;OBJECTID=<LUCIDEFOLDER_README>;PROGTYPE=PM;PARAMETERS="$(1)\readme";STARTUPDIR=$(1);"
    121      CREATEOBJECT="REPLACE WPProgram|=("change")|<LUCIDEFOLDER>|EXENAME=e.exe;OBJECTID=<LUCIDEFOLDER_CHANGELOG>;PROGTYPE=PM;PARAMETERS="$(1)\changelog";STARTUPDIR=$(1);"
     118     CREATEOBJECT='WPFolder|=("folder")|<WP_DESKTOP>|OBJECTID=<LUCIDEFOLDER>;ICONFILE=$(1)\lucide_fldr_1.ico;ICONNFILE=1,$(1)\lucide_fldr_2.ico;OPEN=DEFAULT;ALWAYSSORT=YES;'
     119     CREATEOBJECT='REPLACE WPProgram|=("prog")|<LUCIDEFOLDER>|EXENAME=$(1)\lucide.exe;OBJECTID=<LUCIDEFOLDER_LUCIDEEXE>;PROGTYPE=PM;STARTUPDIR=$(1);ASSOCFILTER=*.PDF,*.DJVU;ASSOCTYPE=Acrobat Document;'
     120     CREATEOBJECT='REPLACE WPProgram|=("readme")|<LUCIDEFOLDER>|EXENAME=e.exe;OBJECTID=<LUCIDEFOLDER_README>;PROGTYPE=PM;PARAMETERS=$(1)\readme;STARTUPDIR=$(1);'
     121     CREATEOBJECT='REPLACE WPProgram|=("change")|<LUCIDEFOLDER>|EXENAME=e.exe;OBJECTID=<LUCIDEFOLDER_CHANGELOG>;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
    122122     WRITEPROFILE="USER\Lucide\Path|$(1)"
    123123     CLEARPROFILE="USER\Lucide\Path"
     
    126126
    127127<PCK INDEX=2
    128      PACKAGEID="netlabs.org\Lucide\Lucide plugin PDF\0\9\3"
     128     PACKAGEID="netlabs.org\Lucide\Lucide plugin PDF\0\9\4"
    129129     TARGET="$(1)"
    130130     TITLE="=("plug_pdf")"
     
    134134
    135135<PCK INDEX=3
    136      PACKAGEID="netlabs.org\Lucide\Lucide plugin DJVU\0\9\3"
     136     PACKAGEID="netlabs.org\Lucide\Lucide plugin DJVU\0\9\4"
    137137     TARGET="$(1)"
    138138     TITLE="=("plug_djvu")"
     
    142142
    143143<PCK INDEX=4
    144      PACKAGEID="netlabs.org\Lucide\Lucide plugin JPEG\0\9\3"
     144     PACKAGEID="netlabs.org\Lucide\Lucide plugin JPEG\0\9\4"
    145145     TARGET="$(1)"
    146146     TITLE="=("plug_jpeg")"
Note: See TracChangeset for help on using the changeset viewer.