Changeset 319 for branches/guitools-2.0/shared/smbtree.vrs
- Timestamp:
- Aug 25, 2009, 9:17:41 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/guitools-2.0/shared/smbtree.vrs
r315 r319 11 11 UserCred = '-N' 12 12 end 13 14 if ShowHidden = 'SHOWHIDDEN' | ShowHidden = '' then ShowHidden = 1 15 13 16 say 'detach 'samba.!smbtreeexe' 'debuglevel' 'UserCred' >'samba.!msg 14 17 address cmd 'detach 'samba.!smbtreeexe' 'debuglevel' 'UserCred' >'samba.!msg … … 63 66 parent = smbtree.!machine 64 67 smbtree.!share = VRMethod( "CN_smbtree", "AddRecord",parent,, share||'0D0A'x||comment, res) 68 if pos("$", share) > 0 then ok = VRMethod( "CN_smbtree", "SetRecordAttr", smbtree.!share, "Visible", ShowHidden) 65 69 end 66 70 end … … 146 150 */ 147 151 _GuessIcon: procedure 148 text = arg(1)152 text = translate(arg(1)) 149 153 select /* Printer guessing */ 150 154 when pos('LJ',text) > 0 then res = '#65:PMWP.DLL' … … 158 162 when pos('LEXMARK',text) > 0 then res = '#65:PMWP.DLL' 159 163 when pos('IPC$',text) > 0 then res = '#59:PMWP.DLL' 164 when pos('GHOSTPDF',text)> 0 then res = '#65:PMWP.DLL' 165 when pos('PDF',text) > 0 & , 166 pos('WRI',text) > 0 then res = '#65:PMWP.DLL' 160 167 otherwise res = "#34:PMWP.DLL" 161 168 end
Note:
See TracChangeset
for help on using the changeset viewer.