- Timestamp:
- 12/09/07 10:41:06 (4 years ago)
- Location:
- branches/beta
- Files:
-
- 10 edited
-
HandlerMenu_OSC.dcr (modified) (previous)
-
HandlerMenu_OSC.dir (modified) (previous)
-
castlib1/OSCmenu_Utilities.ls (modified) (2 diffs)
-
castlib1/alexUtilities.ls (modified) (2 diffs)
-
castlib1/bbedit_Utilities.ls (modified) (12 diffs)
-
castlib1/memberInfo.xml (modified) (4 diffs)
-
castlib1/svn_Utilities.ls (modified) (3 diffs)
-
castlib2/FileIOFunktionen.ls (modified) (2 diffs)
-
castlib2/PseudoXMLPS.ls (modified) (4 diffs)
-
castlib2/aleXtrasMovieScript.ls (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/beta/castlib1/OSCmenu_Utilities.ls
r80 r84 52 52 subli.add("Batch compare selected scripts") 53 53 pLookUpCommandList.setaprop("Batch compare selected scripts", ["mCompareSelectedScriptmembersBatch me", "bbedit_Utilities"]) 54 54 55 55 56 end if … … 353 354 pLookUpCommandList.setaprop("Fix colors in scriptlists (SES 10 -> SES 9)", ["Authoring_ExchangeScriptListColorsToRGBs me", "alexUtilities"]) 354 355 356 357 if isMac = 1 then 358 --------------------------------------------------- 359 li.add("Unix path") 360 subli = [] 361 li.add(subli) 362 363 subli.add("Convert path from HFS to UNIX") 364 pLookUpCommandList.setaprop("Convert path from HFS to UNIX", ["mConvertHFS2Unix me", "alexUtilities"]) 365 subli.add("Convert path from UNIX to HFS") 366 pLookUpCommandList.setaprop("Convert path from UNIX to HFS", ["mConvertUnix2HFS me", "alexUtilities"]) 367 368 end if 355 369 356 370 li.add("") -
branches/beta/castlib1/alexUtilities.ls
r80 r84 2255 2255 end 2256 2256 2257 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2258 2259 on mConvertHFS2Unix me, fname 2260 2261 if not(the platform) contains "mac" then return fname 2262 2263 if mCheckForXtra(me, "budapi") = 0 then 2264 offs = offset(":", fname) 2265 repeat while offs 2266 put "/" into char offs of fname 2267 offs = offset(":", fname) 2268 end repeat 2269 put "/Volumes/" before fname 2270 else 2271 return baUnixName(fname) 2272 end if 2273 2274 return fname 2275 2276 end 2277 2278 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2279 2280 on mConvertUnix2Hfs me, fname 2281 if not(the platform) contains "mac" then return fname 2282 2283 if mCheckForXtra(me, "budapi") = 0 then 2284 offs = offset("/", fname) 2285 repeat while offs 2286 put ":" into char offs of fname 2287 offs = offset("/", fname) 2288 end repeat 2289 osDir = getOsDirectory() 2290 olddelim = the itemdelimiter 2291 the itemdelimiter = ":" 2292 put item 1 of osDir before fname 2293 the itemdelimiter = olddelim 2294 else 2295 return baHFSName(fname) 2296 end if 2297 2298 return fname 2299 2300 end 2257 2301 2258 2302 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx … … 2536 2580 2537 2581 on mGetFloatVersionNumber me, prodVers 2538 offs = offset(".", prodVers)2539 if offs > 0 then2540 intVers = char 1 to offs of prodVers2541 delete char 1 to offs of prodVers2542 else2543 intVers = ""2544 end if2545 cnt = length(prodVers)2546 repeat with n = 1 to cnt2547 c = prodVers.char[n]2548 if integerP(integer(c)) then2549 put c after intVers2550 else if c <> "." then2551 exit repeat2552 end if2553 end repeat2554 2582 offs = offset(".", prodVers) 2583 if offs > 0 then 2584 intVers = char 1 to offs of prodVers 2585 delete char 1 to offs of prodVers 2586 else 2587 intVers = "" 2588 end if 2589 cnt = length(prodVers) 2590 repeat with n = 1 to cnt 2591 c = prodVers.char[n] 2592 if integerP(integer(c)) then 2593 put c after intVers 2594 else if c <> "." then 2595 exit repeat 2596 end if 2597 end repeat 2598 2555 2599 return value(intVers) 2556 2600 end -
branches/beta/castlib1/bbedit_Utilities.ls
r80 r84 37 37 if fname.length then 38 38 39 ppath = mDoShellCmd(me, "osascript -e " & QUOTE & "return POSIX path of \" & QUOTE & fname & "\" & QUOTE & QUOTE) 39 ppath = mConvertHFS2Unix(me, fname) 40 -- ppath = mDoShellCmd(me, "osascript -e " & QUOTE & "return POSIX path of \" & QUOTE & fname & "\" & QUOTE & QUOTE) 40 41 41 42 if charToNum(the last char of ppath) = 10 then delete the last char of ppath … … 101 102 -- tempSrcPath = tempSrcPath[1] 102 103 tempSrcPath = "/tmp/temp_BBEdit_file.ls" 103 tempSrcHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath & "\" & QUOTE & " as string" & QUOTE, 1) 104 tempSrcHFSPath = tempSrcHFSPath[1] 104 105 -- tempSrcHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath & "\" & QUOTE & " as string" & QUOTE, 1) 106 -- tempSrcHFSPath = tempSrcHFSPath[1] 107 tempSrcHFSPath = mConvertUnix2Hfs(me, tempSrcPath) 108 109 105 110 theResult = mSaveTextToTempFile(me, theText, tempSrcHFSPath) 106 111 --------------------- … … 128 133 -- create a temporary file from scripttext: 129 134 tempSrcPath = "/tmp/" & theName & ".ls" 130 tempSrcHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath & "\" & QUOTE & " as string" & QUOTE, 1) 131 tempSrcHFSPath = tempSrcHFSPath[1] 135 136 -- tempSrcHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath & "\" & QUOTE & " as string" & QUOTE, 1) 137 -- tempSrcHFSPath = tempSrcHFSPath[1] 138 tempSrcHFSPath = mConvertUnix2Hfs(me, tempSrcPath) 139 140 132 141 theResult = mSaveTextToTempFile(me, theText, tempSrcHFSPath) 133 142 --------------------- … … 337 346 if doit = 0 then 338 347 339 tempSrcPath = mDoShellCmd(me, "mktemp -d -t temp_BBDiff_folder1", 1) 340 tempSrcPath = tempSrcPath[1] & "/" 341 tempSrcHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath & "\" & QUOTE & " as string" & QUOTE, 1) 342 tempSrcHFSPath = tempSrcHFSPath[1] 343 344 345 tempTgtPath = mDoShellCmd(me, "mktemp -d -t temp_BBDiff_folder2", 1) 346 tempTgtPath = tempTgtPath[1] & "/" 347 tempTgtHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempTgtPath & "\" & QUOTE & " as string" & QUOTE, 1) 348 tempTgtHFSPath = tempTgtHFSPath[1] 349 348 -- tempSrcPath = mDoShellCmd(me, "mktemp -d -t temp_BBDiff_folder1", 1) 349 -- tempSrcPath = tempSrcPath[1] & "/" 350 351 tempSrcPath = "/tmp/temp_BBDiff_folder1/" 352 353 mDoShellCmd(me, "mkdir -p " & tempSrcPath) 354 mDoShellCmd(me, "rm -r " & tempSrcPath) 355 356 -- tempSrcHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath & "\" & QUOTE & " as string" & QUOTE, 1) 357 -- tempSrcHFSPath = tempSrcHFSPath[1] 358 tempSrcHFSPath = mConvertUnix2Hfs(me, tempSrcPath) 359 360 361 -- tempTgtPath = mDoShellCmd(me, "mktemp -d -t temp_BBDiff_folder2", 1) 362 -- tempTgtPath = tempTgtPath[1] & "/" 363 364 tempTgtPath = "/tmp/temp_BBDiff_folder2/" 365 366 mDoShellCmd(me, "mkdir -p " & tempTgtPath) 367 mDoShellCmd(me, "rm -r " & tempTgtPath) 368 369 --tempTgtHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempTgtPath & "\" & QUOTE & " as string" & QUOTE, 1) 370 --tempTgtHFSPath = tempTgtHFSPath[1] 371 tempTgtHFSPath = mConvertUnix2Hfs(me, tempTgtPath) 350 372 351 373 doit = 1 … … 431 453 -- tempSrcPath = tempSrcPath[1] 432 454 tempSrcPath = "/tmp/temp_BBDiff_file1.ls" 433 tempSrcHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath & "\" & QUOTE & " as string" & QUOTE, 1) 434 tempSrcHFSPath = tempSrcHFSPath[1] 455 456 -- tempSrcHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath & "\" & QUOTE & " as string" & QUOTE, 1) 457 -- tempSrcHFSPath = tempSrcHFSPath[1] 458 tempSrcHFSPath = mConvertUnix2Hfs(me, tempSrcPath) 435 459 436 460 st1 = memref1.scripttext … … 457 481 -- tempSrcPath2 = tempSrcPath2[1] 458 482 tempSrcPath2 = "/tmp/temp_BBDiff_file2.ls" 459 tempSrcHFSPath2 = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath2 & "\" & QUOTE & " as string" & QUOTE, 1) 460 tempSrcHFSPath2 = tempSrcHFSPath2[1] 483 484 -- tempSrcHFSPath2 = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath2 & "\" & QUOTE & " as string" & QUOTE, 1) 485 -- tempSrcHFSPath2 = tempSrcHFSPath2[1] 486 tempSrcHFSPath2 = mConvertUnix2Hfs(me, tempSrcPath2) 487 461 488 comm = tempSrcPath2 462 489 … … 617 644 memref.filename = memref.filename 618 645 else 619 if memref.type = #script then 620 aPath = mGetFilePathFromMemberComments(me, memref, isMac, CurrentOSXUserName) 621 if length(aPath) > 0 then 622 dertext = mGetTextFromFile(me, aPath) 623 if length(dertext) > 0 then 624 put "updating scripttext of member:" memref.name && "(" & memref & ")" 625 memref.scripttext = dertext 646 if memref.type = #script then 647 aPath = mGetFilePathFromMemberComments(me, memref, isMac, CurrentOSXUserName) 648 if length(aPath) > 0 then 649 dertext = mGetTextFromFile(me, aPath) 650 if length(dertext) > 0 then 651 put "updating scripttext of member:" memref.name && "(" & memref & ")" 652 memref.scripttext = dertext 653 end if 626 654 end if 627 655 end if 628 end if629 656 end if 630 657 end repeat … … 989 1016 comm = memref.comments 990 1017 if comm.length then 991 1018 992 1019 aPath = mGetFilePathFromMemberComments(me, memref, isMac, CurrentOSXUserName) 993 1020 994 1021 if length(aPath) > 0 then 995 996 fio = (xtra "fileio").new() 997 if objectP(fio) then 998 fio.openFile(aPath, 0) 999 if fio.status() = 0 then 1000 vergText = fio.readFile() 1001 fio.closeFile() 1002 memscr = memref.scripttext 1003 if vergText <> memscr then 1004 1005 isEqual = 0 1006 if mCheckForXtra(me, "Pregex") = 1 then 1022 1023 fio = (xtra "fileio").new() 1024 if objectP(fio) then 1025 fio.openFile(aPath, 0) 1026 if fio.status() = 0 then 1027 vergText = fio.readFile() 1028 fio.closeFile() 1029 memscr = memref.scripttext 1030 if vergText <> memscr then 1007 1031 1008 memscrLi = [memscr] 1009 pregex_replace(memscrLi, "\s", "ig", "") 1010 memscrLi = memscrLi[1] 1032 isEqual = 0 1033 if mCheckForXtra(me, "Pregex") = 1 then 1034 1035 memscrLi = [memscr] 1036 pregex_replace(memscrLi, "\s", "ig", "") 1037 memscrLi = memscrLi[1] 1038 1039 vergTextLi = [vergText] 1040 pregex_replace(vergTextLi, "\s", "ig", "") 1041 vergTextLi = vergTextLi[1] 1042 1043 isEqual = (memscrLi = vergTextLi) 1044 end if 1011 1045 1012 vergTextLi = [vergText] 1013 pregex_replace(vergTextLi, "\s", "ig", "") 1014 vergTextLi = vergTextLi[1] 1015 1016 isEqual = (memscrLi = vergTextLi) 1017 end if 1018 1019 if isEqual = 0 then 1020 1021 if length(bbdiffpath) < 1 then 1046 if isEqual = 0 then 1022 1047 1023 1024 if not(the platform contains "mac") then 1025 put "-------------------------------------------------------" 1026 put RETURN&"neuer = new(#field)"&RETURN&"neuer.text = "&memref&".scripttext"&RETURN&"neuer.copyToClipBoard()"&RETURN&"neuer.erase()"&RETURN 1027 put RETURN&"shell_cmd(""E&"PBPaste | BBedit ; BBedit "&memref.comments"E&")"&RETURN 1028 else 1048 if length(bbdiffpath) < 1 then 1029 1049 1050 1051 if not(the platform contains "mac") then 1052 put "-------------------------------------------------------" 1053 put RETURN&"neuer = new(#field)"&RETURN&"neuer.text = "&memref&".scripttext"&RETURN&"neuer.copyToClipBoard()"&RETURN&"neuer.erase()"&RETURN 1054 put RETURN&"shell_cmd(""E&"PBPaste | BBedit ; BBedit "&memref.comments"E&")"&RETURN 1055 else 1030 1056 1031 1057 if (mCheckForXtra(me, "Shell") + mCheckForXtra(me, "ff_shell")) = 0 then … … 1040 1066 neuer.copyToClipBoard() 1041 1067 neuer.erase() 1042 mDoShellCmd(me, "PBPaste | BBedit ; BBedit "&memref.comments) 1068 1069 comm = memref.comments 1070 if char 1 of comm = "~" then put "$HOME" into char 1 of comm 1071 1072 mDoShellCmd(me, "PBPaste | BBedit ; BBedit " & comm) 1043 1073 1044 1074 end if … … 1046 1076 end if 1047 1077 1048 1049 else 1050 1051 1052 tempSrcPath = mDoShellCmd(me, "mktemp -t temp_BBDiff_file1", 1) 1053 tempSrcPath = tempSrcPath[1] 1054 tempSrcHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath & "\" & QUOTE & " as string" & QUOTE, 1) 1055 tempSrcHFSPath = tempSrcHFSPath[1] 1056 1057 mSaveTextToTempFile(me, memref.scripttext, tempSrcHFSPath) 1058 1059 -- comm = memref.comments 1060 -- if comm.length then 1061 -- if char 1 of comm = "~" then 1062 -- put shell_Cmd("echo -n $HOME") into char 1 of comm 1063 -- end if 1064 -- end if 1065 1066 mDoShellCmd(me, bbdiffpath & " --ignore-curly-quotes --ignore-spaces --wait --resume " "E& tempSrcPath "E&"E& comm "E) 1067 1068 memref.scripttext = mGetTextFromFile(me, tempSrcHFSPath) 1078 else 1079 1080 1081 -- tempSrcPath = mDoShellCmd(me, "mktemp -t temp_BBDiff_file1.ls", 1) 1082 -- tempSrcPath = tempSrcPath[1] 1083 tempSrcPath = "/tmp/temp_BBEdit_file.ls" 1084 1085 -- tempSrcHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath & "\" & QUOTE & " as string" & QUOTE, 1) 1086 -- tempSrcHFSPath = tempSrcHFSPath[1] 1087 tempSrcHFSPath = mConvertUnix2Hfs(me, tempSrcPath) 1088 1089 mSaveTextToTempFile(me, memref.scripttext, tempSrcHFSPath) 1090 1091 -- comm = memref.comments 1092 -- if comm.length then 1093 -- if char 1 of comm = "~" then 1094 -- put shell_Cmd("echo -n $HOME") into char 1 of comm 1095 -- end if 1096 -- end if 1097 1098 1099 if char 1 of comm = "~" then put "$HOME" into char 1 of comm 1100 1101 mDoShellCmd(me, bbdiffpath & " --ignore-curly-quotes --ignore-spaces --wait --resume " "E& tempSrcPath "E&"E& comm "E) 1102 1103 memref.scripttext = mGetTextFromFile(me, tempSrcHFSPath) 1104 1105 end if 1069 1106 1070 1107 end if 1071 1108 1109 1072 1110 end if 1073 1111 1074 1075 1112 end if 1076 1113 1077 1114 end if 1078 1079 end if1080 1115 end if 1081 1116 end if … … 1115 1150 clistr = "bbedit" 1116 1151 1117 home = mDoShellCmd(me, "echo -n $HOME")1152 -- home = mDoShellCmd(me, "echo -n $HOME") 1118 1153 1119 1154 repeat with sub in sel … … 1125 1160 if comm.length then 1126 1161 if char 1 of comm = "~" then 1127 put home into char 1 of comm 1162 -- put home into char 1 of comm 1163 put "$HOME" into char 1 of comm 1128 1164 end if 1129 1165 put " "&comm after clistr -
branches/beta/castlib1/memberInfo.xml
r70 r84 31 31 <fName>simpleBMMenu</fName> 32 32 </simpleBMMenu> 33 <myNewFieldMember>34 <scriptType>#field</scriptType>35 <comments></comments>36 <memberName>myNewFieldMember</memberName>37 <fName>myNewFieldMember</fName>38 </myNewFieldMember>39 33 <OSCmenu_Utilities> 40 34 <scriptType>#score</scriptType> … … 45 39 <alexUtilities> 46 40 <scriptType>#parent</scriptType> 47 <comments> </comments>41 <comments>~/Documents/Scripts/lingo/commonMovieScript.ls</comments> 48 42 <memberName>alexUtilities</memberName> 49 43 <fName>alexUtilities</fName> 50 44 </alexUtilities> 51 <svn_Utilities>52 <scriptType>#parent</scriptType>53 <comments></comments>54 <memberName>svn_Utilities</memberName>55 <fName>svn_Utilities</fName>56 </svn_Utilities>57 <bbedit_Utilities>58 <scriptType>#parent</scriptType>59 <comments></comments>60 <memberName>bbedit_Utilities</memberName>61 <fName>bbedit_Utilities</fName>62 </bbedit_Utilities>63 45 <convert_Lingo_2_CSS_Html> 64 46 <scriptType>#movie</scriptType> … … 118 100 <fName>texthyperlinkBehavior</fName> 119 101 </texthyperlinkBehavior> 120 <bbdiff>121 <scriptType>#movie</scriptType>122 <comments></comments>123 <memberName>bbdiff</memberName>124 <fName>bbdiff</fName>125 </bbdiff>126 102 <statusOutput> 127 103 <scriptType>#text</scriptType> … … 133 109 <fName>statusOutput</fName> 134 110 </statusOutput> 111 <bbedit_Utilities> 112 <scriptType>#parent</scriptType> 113 <comments>~/Documents/Scripts/lingo/commonMovieScript.ls</comments> 114 <memberName>bbedit_Utilities</memberName> 115 <fName>bbedit_Utilities</fName> 116 </bbedit_Utilities> 117 <svn_Utilities> 118 <scriptType>#parent</scriptType> 119 <comments>~/Documents/Scripts/lingo/commonMovieScript.ls</comments> 120 <memberName>svn_Utilities</memberName> 121 <fName>svn_Utilities</fName> 122 </svn_Utilities> 135 123 </Untitled> -
branches/beta/castlib1/svn_Utilities.ls
r72 r84 2 2 3 3 on new me 4 ancestor = new(script "alexUtilities")5 return me4 ancestor = new(script "alexUtilities") 5 return me 6 6 end 7 7 … … 84 84 --------------------- 85 85 -- create a temporary file from scripttext: 86 tempSrcPath = mDoShellCmd(me, "mktemp -t temp_BBDiff_file1", 1) 87 tempSrcPath = tempSrcPath[1] 88 89 if mCheckForXtra(me, "budapi") = 0 then 90 tempSrcHFSPath = mDoShellCmd(me, "osascript -e" && QUOTE & "return POSIX file \" & QUOTE & tempSrcPath & "\" & QUOTE & " as string" & QUOTE, 1) 91 tempSrcHFSPath = tempSrcHFSPath[1] 92 else 93 tempSrcHFSPath = baHFSName(tempSrcPath) 94 end if 86 -- tempSrcPath = mDoShellCmd(me, "mktemp -t temp_BBDiff_file1", 1) 87 -- tempSrcPath = tempSrcPath[1] 88 tempSrcPath = "/tmp/temp_BBEdit_file1.ls" 89 90 tempSrcHFSPath = mConvertUnix2Hfs(me, tempSrcPath) 95 91 96 92 … … 134 130 135 131 136 137 if mCheckForXtra(me, "budapi") = 0 then 138 comm = thePath 139 offs = offset(":", comm) 140 repeat while offs 141 put "/" into char offs of comm 142 offs = offset(":", comm) 143 end repeat 144 put "/Volumes/" before comm 145 else 146 comm = baUnixName(thePath) 147 end if 132 comm = mConvertHFS2Unix(me, thePath) 133 148 134 149 135 theResult = mDoShellCmd(me, bbdiffpath & " --ignore-curly-quotes --ignore-spaces --wait --resume " "E& tempSrcPath "E&"E& comm "E && "2>&1", 1) -
branches/beta/castlib2/FileIOFunktionen.ls
r80 r84 1 -- FileIO Handlers -- ©03 Alex da Franca -- alex@farbflash.de1 -- FileIO Handlers -- ©03 Alex da Franca -- alex@farbflash.de 2 2 --------------------------------------------------------------------- 3 3 … … 606 606 607 607 on interface me 608 str = "FileIO Scripts by alex da franca ©2003 -- alex@farbflash.de -- all rigths reserved"608 str = "FileIO Scripts by alex da franca ©2003 -- alex@farbflash.de -- all rigths reserved" 609 609 610 610 put RETURN & "-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" after str -
branches/beta/castlib2/PseudoXMLPS.ls
r72 r84 1 -- Pseudo XML by Alex da Franca ©20031 -- Pseudo XML by Alex da Franca ©2003 2 2 -- Convert a lingo list to a XML like string and back 3 3 … … 60 60 61 61 on interface me 62 str = "Pseudo XML Script by alex da franca ©2003 -- alex@farbflash.de -- all rigths reserved"62 str = "Pseudo XML Script by alex da franca ©2003 -- alex@farbflash.de -- all rigths reserved" 63 63 put RETURN & "version 1" after str 64 64 … … 860 860 if count(val) then 861 861 if ilk(retlist) = #proplist then 862 retlist.addProp(symbol(inputlist[n].getaprop(#name)), mConvertXMLPropList(me, val, convertValues))863 else862 retlist.addProp(symbol(inputlist[n].getaprop(#name)), mConvertXMLPropList(me, val, convertValues)) 863 else 864 864 retlist.add(mConvertXMLPropList(me, val, convertValues)) 865 865 end if … … 939 939 940 940 if ilk(retlist) = #proplist then 941 retlist.addProp(symbol(inputlist[n].getaprop(#name)), val)941 retlist.addProp(symbol(inputlist[n].getaprop(#name)), val) 942 942 else 943 943 retlist.add(val) -
branches/beta/castlib2/aleXtrasMovieScript.ls
r72 r84 1 -- LDM Xtras Moviescript -- ©05 Alex da Franca -- alex@farbflash.de1 -- LDM Xtras Moviescript -- ©05 Alex da Franca -- alex@farbflash.de 2 2 --------------------------------------------------------------------- 3 3 … … 54 54 on mCallDestroy 55 55 call(#mCallDestroy, mGetXScript()) 56 -- call(#mDestroy, the actorlist)56 -- call(#mDestroy, the actorlist) 57 57 end 58 58
Note: See TracChangeset
for help on using the changeset viewer.
