Changeset 35 for trunk/lingosource
- Timestamp:
- 09/17/07 18:56:23 (5 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib1/alexUtilities.ls (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib1/alexUtilities.ls
r33 r35 4048 4048 if fname <> "castlib" & the number of castlib cl then 4049 4049 4050 newPath = thePath & "castlib" & the number of castlib cl 4050 newPath = thePath & "castlib" & the number of castlib cl & the last char of the applicationpath 4051 4051 4052 4052 if baFolderExists(newPath) = 0 then … … 4083 4083 if ilk(infolist) <> #proplist then 4084 4084 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." 4086 4086 return 0 4087 4087 … … 4089 4089 4090 4090 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 4091 4100 4092 4101 cl = the activecastlib … … 4094 4103 anz = sel.count 4095 4104 cnt = count(infolist) 4105 4106 -- put "mUpdateSelectedScriptsFromFolder: infolist = " & infolist 4107 4096 4108 repeat with n = 1 to anz 4097 4109 repeat with m = sel[n][1] to sel[n][2] … … 4100 4112 if dertyp = #script then 4101 4113 4114 found = 0 4102 4115 repeat with l = 1 to cnt 4103 4116 li = infolist[l] … … 4108 4121 fpath = thePath & fname & ".ls" 4109 4122 4123 found = 1 4124 4110 4125 if baFileExists(fpath) then 4111 4126 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 4112 4133 end if 4113 4134 4114 4135 end if 4115 4136 end repeat 4137 4138 4139 if found = 0 then 4140 put "Info for member" && memref && "was not found in memberinfo.xml" 4141 end if 4116 4142 4117 4143 end if
Note: See TracChangeset
for help on using the changeset viewer.
