Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Changeset 35 for trunk/lingosource


Ignore:
Timestamp:
09/17/07 18:56:23 (5 years ago)
Author:
alex
Message:

now with dcr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib1/alexUtilities.ls

    r33 r35  
    40484048  if fname <> "castlib" & the number of castlib cl then 
    40494049     
    4050     newPath = thePath & "castlib" & the number of castlib cl 
     4050    newPath = thePath & "castlib" & the number of castlib cl & the last char of the applicationpath 
    40514051     
    40524052    if baFolderExists(newPath) = 0 then 
     
    40834083    if ilk(infolist) <> #proplist then 
    40844084       
    4085       alert "The specified folder doesn't seem to contain info for this castlib: file memberInfo.xml missing." 
     4085      alert "The specified folder (" & infolistPath & ") doesn't seem to contain info for this castlib: file memberInfo.xml missing." 
    40864086      return 0 
    40874087       
     
    40894089     
    40904090  end if 
     4091   
     4092   
     4093  if count(infolist) < 1 then 
     4094     
     4095    alert "The specified folder (" & infolistPath & ") doesn't seem to contain info for this castlib: file memberInfo.xml missing." 
     4096    return 0 
     4097     
     4098  end if 
     4099   
    40914100   
    40924101  cl = the activecastlib 
     
    40944103  anz = sel.count 
    40954104  cnt = count(infolist) 
     4105   
     4106  --  put "mUpdateSelectedScriptsFromFolder: infolist = " & infolist 
     4107   
    40964108  repeat with n = 1 to anz 
    40974109    repeat with m = sel[n][1] to sel[n][2] 
     
    41004112      if dertyp = #script then 
    41014113         
     4114        found = 0 
    41024115        repeat with l = 1 to cnt 
    41034116          li = infolist[l] 
     
    41084121            fpath = thePath & fname & ".ls" 
    41094122             
     4123            found = 1 
     4124             
    41104125            if baFileExists(fpath) then 
    41114126              mImportScriptWithThumbnail me, fpath, the number of castlib cl, 1, li 
     4127               
     4128              put "mUpdateSelectedScriptsFromFolder: imported scripttext of" && memref && "from" && fpath 
     4129               
     4130            else 
     4131              put "mUpdateSelectedScriptsFromFolder: file doesn't exist ?? fpath = " & fpath 
     4132               
    41124133            end if 
    41134134             
    41144135          end if 
    41154136        end repeat 
     4137         
     4138         
     4139        if found = 0 then 
     4140          put "Info for member" && memref && "was not found in memberinfo.xml" 
     4141        end if 
    41164142         
    41174143      end if 
Note: See TracChangeset for help on using the changeset viewer.