Changeset 653
- Timestamp:
- May 2, 2007, 3:11:12 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/warpin/fm2Utils.wis (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/warpin/fm2Utils.wis
r649 r653 2 2 3 3 <HEAD> 4 <REXX NAME=FindFM2> 5 call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs' 6 call SysLoadFuncs 7 warpin_path = strip(SysIni(, 'WarpIN', 'Path'), 'T', '00'x) 8 database_file = warpin_path || '\DATBAS_' || left(SysBootDrive(), 1) || '.INI' 9 call SysIni database_file, 'ALL:', 'apps.' 10 fm2_app_prefix = 'Netlabs\FM2\Base\' 11 fm2_app_prefix_len = length(fm2_app_prefix) 12 do a = 1 to apps.0 13 if left(apps.a, fm2_app_prefix_len) = fm2_app_prefix then 14 leave 15 end 16 if a > apps.0 then 17 target_path = WirexxGetEnv('WARPIN_DEFAULTTOOLSPATH') 18 else 19 target_path = strip(SysIni(database_file, apps.a, 'TargetPath'), 'T', '00'x) || '\Utils' 20 return target_path 21 </REXX> 4 22 5 23 <PCK INDEX=7 6 24 PACKAGEID="Netlabs\FM2 Utilities\FM2Utils\1\0\0" 7 25 TITLE="FM/2 Utilities" 8 TARGET=" $(WARPIN_DEFAULTTOOLSPATH)"26 TARGET="=("FindFM2")" 9 27 SELECT 10 28 CREATEOBJECT="WPFolder|FM/2 Utilities|<WP_DESKTOP>|OBJECTID=<FM2_Utilities>;"
Note:
See TracChangeset
for help on using the changeset viewer.
