Changeset 136 for trunk/lingosource
- Timestamp:
- 02/14/08 11:34:24 (4 years ago)
- Location:
- trunk/lingosource
- Files:
-
- 7 edited
-
castlib1/OSCmenu_Handlers.ls (modified) (4 diffs)
-
castlib1/OSCmenu_Utilities.ls (modified) (3 diffs)
-
castlib1/alexUtilities.ls (modified) (1 diff)
-
castlib1/memberInfo.xml (modified) (21 diffs)
-
castlib1/svn_Utilities.ls (modified) (2 diffs)
-
castlib1/thisMoviesScript.ls (modified) (5 diffs)
-
castlib2/memberInfo.xml (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib1/OSCmenu_Handlers.ls
r63 r136 192 192 scrtype = listref.getaprop(#scripttype) 193 193 if ilk(scrtype) = #symbol then 194 if ((the optiondown + the commanddown ) > 0) and not(the shiftdown) then194 if ((the optiondown + the commanddown + the controldown) > 0) and not(the shiftdown) then 195 195 196 196 tell the stage … … 220 220 glob[#theParams] = [:] 221 221 glob[#theTargetInstance] = 0 222 glob[#copy2ClipBoard] = the shiftdown + the optiondown222 glob[#copy2ClipBoard] = the shiftdown + (the optiondown or the controldown) 223 223 224 224 if cmdli.word.count then … … 235 235 if integerP(spnum) then glob[#spritenum] = spnum 236 236 glob[#theTargetInstance] = 0 237 glob[#copy2ClipBoard] = the shiftdown + the optiondown237 glob[#copy2ClipBoard] = the shiftdown + (the optiondown or the controldown) 238 238 glob[#isBehavior] = 1 239 239 … … 272 272 glob[#theParams] = [:] 273 273 274 glob[#copy2ClipBoard] = the shiftdown + the optiondown274 glob[#copy2ClipBoard] = the shiftdown + (the optiondown or the controldown) 275 275 276 276 tell the stage -
trunk/lingosource/castlib1/OSCmenu_Utilities.ls
r129 r136 419 419 420 420 421 if sprite(me.spritenum).member.type = #OSmenu then421 if sprite(me.spritenum).member.type = #OSmenu and not(the shiftdown) then 422 422 423 423 mConvertToOSC li … … 467 467 cmdli = pLookUpCommandList.getaprop(theName) 468 468 if not(listP(cmdli)) then 469 cmdli = [theName, "alexUtilities"]469 cmdli = [theName, "alexUtilities"] 470 470 else 471 if count(cmdli) < 1 then exit472 if count(cmdli) < 2 then cmdli.add("alexUtilities")473 theName = string(cmdli[1])471 if count(cmdli) < 1 then exit 472 if count(cmdli) < 2 then cmdli.add("alexUtilities") 473 theName = string(cmdli[1]) 474 474 end if 475 475 … … 486 486 else 487 487 488 put cmdli 489 488 490 cmdStr = cmdli[1] 489 491 targetScriptName = cmdli[2] -
trunk/lingosource/castlib1/alexUtilities.ls
r131 r136 1966 1966 -- tempTextmember.alignment = #center 1967 1967 1968 if the optionDown then1968 if the optionDown or the controldown or the shiftdown or the commanddown then 1969 1969 tempTextmember.fontStyle = [#bold] 1970 1970 else -
trunk/lingosource/castlib1/memberInfo.xml
r113 r136 5 5 <comments></comments> 6 6 <memberName>doCommandMovieScript</memberName> 7 <f Name>doCommandMovieScript</fName>7 <fname>doCommandMovieScript</fname> 8 8 </doCommandMovieScript> 9 9 <thisMoviesScript> … … 11 11 <comments></comments> 12 12 <memberName>thisMoviesScript</memberName> 13 <f Name>thisMoviesScript</fName>13 <fname>thisMoviesScript</fname> 14 14 </thisMoviesScript> 15 15 <keyboardNavigation_FrameLoop> … … 17 17 <comments></comments> 18 18 <memberName>keyboardNavigation_FrameLoop</memberName> 19 <f Name>keyboardNavigation_FrameLoop</fName>19 <fname>keyboardNavigation_FrameLoop</fname> 20 20 </keyboardNavigation_FrameLoop> 21 21 <menu1_button> … … 23 23 <comments></comments> 24 24 <memberName>menu1_button</memberName> 25 <f Name>menu1_button</fName>25 <fname>menu1_button</fname> 26 26 </menu1_button> 27 27 <menu2_button> … … 29 29 <comments></comments> 30 30 <memberName>menu2_button</memberName> 31 <f Name>menu2_button</fName>31 <fname>menu2_button</fname> 32 32 </menu2_button> 33 33 <simpleBMMenu> … … 35 35 <comments></comments> 36 36 <memberName>simpleBMMenu</memberName> 37 <f Name>simpleBMMenu</fName>37 <fname>simpleBMMenu</fname> 38 38 </simpleBMMenu> 39 39 <OSCmenu_Utilities> … … 41 41 <comments></comments> 42 42 <memberName>OSCmenu_Utilities</memberName> 43 <f Name>OSCmenu_Utilities</fName>43 <fname>OSCmenu_Utilities</fname> 44 44 </OSCmenu_Utilities> 45 45 <alexUtilities> … … 47 47 <comments>~/Documents/Scripts/lingo/commonMovieScript.ls</comments> 48 48 <memberName>alexUtilities</memberName> 49 <f Name>alexUtilities</fName>49 <fname>alexUtilities</fname> 50 50 </alexUtilities> 51 51 <convert_Lingo_2_CSS_Html> … … 53 53 <comments>~/Documents/Scripts/lingo/convert_Lingo_2_CSS_Html.ls</comments> 54 54 <memberName>convert_Lingo_2_CSS_Html</memberName> 55 <f Name>convert_Lingo_2_CSS_Html</fName>55 <fname>convert_Lingo_2_CSS_Html</fname> 56 56 </convert_Lingo_2_CSS_Html> 57 57 <OSCmenu_Handlers> … … 59 59 <comments></comments> 60 60 <memberName>OSCmenu_Handlers</memberName> 61 <f Name>OSCmenu_Handlers</fName>61 <fname>OSCmenu_Handlers</fname> 62 62 </OSCmenu_Handlers> 63 63 <pastefeld> … … 65 65 <comments></comments> 66 66 <memberName>pastefeld</memberName> 67 <f Name>pastefeld</fName>67 <fname>pastefeld</fname> 68 68 </pastefeld> 69 69 <oldclipboard> … … 71 71 <comments></comments> 72 72 <memberName>oldclipboard</memberName> 73 <f Name>oldclipboard</fName>73 <fname>oldclipboard</fname> 74 74 </oldclipboard> 75 75 <searchword> … … 77 77 <comments></comments> 78 78 <memberName>searchword</memberName> 79 <f Name>searchword</fName>79 <fname>searchword</fname> 80 80 </searchword> 81 81 <resizewindowfs> … … 83 83 <comments></comments> 84 84 <memberName>resizewindowfs</memberName> 85 <f Name>resizewindowfs</fName>85 <fname>resizewindowfs</fname> 86 86 </resizewindowfs> 87 87 <showHideHelp> … … 89 89 <comments></comments> 90 90 <memberName>showHideHelp</memberName> 91 <f Name>showHideHelp</fName>91 <fname>showHideHelp</fname> 92 92 </showHideHelp> 93 93 <helptext> … … 98 98 rtf</comments> 99 99 <memberName>helptext</memberName> 100 <f Name>helptext</fName>100 <fname>helptext</fname> 101 101 </helptext> 102 102 <texthyperlinkBehavior> … … 104 104 <comments>/Users/alex/Documents/ALIEN/myLinkedScripts/texthyperlinkBehavior.ls</comments> 105 105 <memberName>texthyperlinkBehavior</memberName> 106 <f Name>texthyperlinkBehavior</fName>106 <fname>texthyperlinkBehavior</fname> 107 107 </texthyperlinkBehavior> 108 108 <statusOutput> … … 113 113 rtf</comments> 114 114 <memberName>statusOutput</memberName> 115 <f Name>statusOutput</fName>115 <fname>statusOutput</fname> 116 116 </statusOutput> 117 117 <bbedit_Utilities> … … 119 119 <comments>~/Documents/Scripts/lingo/commonMovieScript.ls</comments> 120 120 <memberName>bbedit_Utilities</memberName> 121 <f Name>bbedit_Utilities</fName>121 <fname>bbedit_Utilities</fname> 122 122 </bbedit_Utilities> 123 123 <svn_Utilities> … … 125 125 <comments>~/Documents/Scripts/lingo/commonMovieScript.ls</comments> 126 126 <memberName>svn_Utilities</memberName> 127 <f Name>svn_Utilities</fName>127 <fname>svn_Utilities</fname> 128 128 </svn_Utilities> 129 129 <custom_Utilities> … … 131 131 <comments>~/Documents/Scripts/lingo/commonMovieScript.ls</comments> 132 132 <memberName>custom_Utilities</memberName> 133 <f Name>custom_Utilities</fName>133 <fname>custom_Utilities</fname> 134 134 </custom_Utilities> 135 135 </Untitled> -
trunk/lingosource/castlib1/svn_Utilities.ls
r133 r136 100 100 tempSrcHFSPath = mConvertUnix2Hfs(me, tempSrcPath) 101 101 102 103 104 ------------------------------------------ trac subversion support works better with unix linebreaks...105 if voidP(convertLineBreaksToUnix) then convertLineBreaksToUnix = 1106 if convertLineBreaksToUnix = "" then convertLineBreaksToUnix = 1107 108 if convertLineBreaksToUnix = 1 then109 110 if mCheckForXtra(me, "Pregex") = 1 then111 112 scrTextLi = [st]113 pregex_replace(scrTextLi, "\x0D\x0A?", "g", "\x0A")114 st = scrTextLi[1]115 116 else117 118 fndStr = numToChar(13) & numToChar(10)119 offs = offset(fndStr, st)120 repeat while offs > 0121 delete char offs of st122 offs = offset(fndStr, st)123 end repeat124 125 fndStr = numToChar(13)126 offs = offset(fndStr, st)127 repeat while offs > 0128 put numToChar(10) into char offs of st129 offs = offset(fndStr, st)130 end repeat131 132 end if133 end if134 -----------------------------------------135 136 137 102 else 138 103 … … 142 107 end if 143 108 109 110 ------------------------------------------ trac subversion support works better with unix linebreaks... 111 if voidP(convertLineBreaksToUnix) then convertLineBreaksToUnix = 1 112 if convertLineBreaksToUnix = "" then convertLineBreaksToUnix = 1 113 114 if convertLineBreaksToUnix = 1 then 115 116 if mCheckForXtra(me, "Pregex") = 1 then 117 118 scrTextLi = [st] 119 pregex_replace(scrTextLi, "\x0D\x0A?", "g", "\x0A") 120 st = scrTextLi[1] 121 122 else 123 124 fndStr = numToChar(13) & numToChar(10) 125 offs = offset(fndStr, st) 126 repeat while offs > 0 127 delete char offs of st 128 offs = offset(fndStr, st) 129 end repeat 130 131 fndStr = numToChar(13) 132 offs = offset(fndStr, st) 133 repeat while offs > 0 134 put numToChar(10) into char offs of st 135 offs = offset(fndStr, st) 136 end repeat 137 138 end if 139 end if 140 ----------------------------------------- 144 141 145 142 -
trunk/lingosource/castlib1/thisMoviesScript.ls
r113 r136 131 131 currMScripts = [] 132 132 -- mscr.add([#title:"Castlib" && n &":", #items:currMScripts, #type:#divider]) 133 mscr.add([#title:"Castlib" && n & ":", #items:currMScripts, #name:"Castlib"&n])133 mscr.add([#title:"Castlib" && n && QUOTE & the name of castlib n & QUOTE & ":", #items:currMScripts, #name:"Castlib"&n]) 134 134 135 135 end if … … 144 144 currPScripts = [] 145 145 -- pscr.add([#title:"Castlib" && n &":", #items:currPScripts, #type:#divider]) 146 pscr.add([#title:"Castlib" && n & ":", #items:currPScripts, #name:"Castlib"&n])146 pscr.add([#title:"Castlib" && n && QUOTE & the name of castlib n & QUOTE & ":", #items:currPScripts, #name:"Castlib"&n]) 147 147 end if 148 148 ---------------- // menu divider … … 156 156 currBScripts = [] 157 157 -- bscr.add([#title:"Castlib" && n &":", #items:currBScripts, #type:#divider]) 158 bscr.add([#title:"Castlib" && n & ":", #items:currBScripts, #name:"Castlib"&n])158 bscr.add([#title:"Castlib" && n && QUOTE & the name of castlib n & QUOTE & ":", #items:currBScripts, #name:"Castlib"&n]) 159 159 end if 160 160 ---------------- // menu divider … … 172 172 end repeat 173 173 174 -- quick and dirty way to check for D10 in order to check for sprite names 175 dummyMem = member("nonexistingmember" & the milliseconds) 174 176 175 177 anz = the lastchannel … … 191 193 end repeat 192 194 if count(thisSil) > 0 then 193 silscr.add([#title:"sprite(" & n & ")", #items: thisSil]) 195 196 if voidP(dummyMem) then 197 spritename = sprite(n).name 198 else 199 spritename = "" 200 end if 201 if length(spritename) < 1 then spritename = string(sendSprite(n, #mGetMyKanalName)) 202 silscr.add([#title:"sprite(" & n & ")" && spritename, #items: thisSil, #name:"sprite(" & n & ")"]) 194 203 end if 195 204 end if -
trunk/lingosource/castlib2/memberInfo.xml
r82 r136 5 5 <comments>~/Documents/Scripts/lingo/commonMovieScript.ls</comments> 6 6 <memberName>commonMovieScript</memberName> 7 <f Name>commonMovieScript</fName>7 <fname>commonMovieScript</fname> 8 8 </commonmoviescript> 9 9 <FileIOFunktionen> … … 11 11 <comments>~/Documents/Scripts/lingo/FileIOFunktionen.ls</comments> 12 12 <memberName>FileIOFunktionen</memberName> 13 <f Name>FileIOFunktionen</fName>13 <fname>FileIOFunktionen</fname> 14 14 </FileIOFunktionen> 15 15 <GetSetPrefs> … … 17 17 <comments>~/Documents/Scripts/lingo/GetSetPrefs.ls</comments> 18 18 <memberName>GetSetPrefs</memberName> 19 <f Name>GetSetPrefs</fName>19 <fname>GetSetPrefs</fname> 20 20 </GetSetPrefs> 21 21 <aleXtrasMovieScript> … … 23 23 <comments>~/Documents/Scripts/lingo/aleXtrasMovieScript.ls</comments> 24 24 <memberName>aleXtrasMovieScript</memberName> 25 <f Name>aleXtrasMovieScript</fName>25 <fname>aleXtrasMovieScript</fname> 26 26 </aleXtrasMovieScript> 27 27 <PseudoXMLPS> … … 29 29 <comments>~/Documents/Scripts/lingo/PseudoXMLPS.ls</comments> 30 30 <memberName>PseudoXMLPS</memberName> 31 <f Name>PseudoXMLPS</fName>31 <fname>PseudoXMLPS</fname> 32 32 </PseudoXMLPS> 33 33 <simpleGoToAction> … … 35 35 <comments>/Users/alex/Documents/ALIEN/myLinkedScripts/simpleGoToAction.ls</comments> 36 36 <memberName>simpleGoToAction</memberName> 37 <f Name>simpleGoToAction</fName>37 <fname>simpleGoToAction</fname> 38 38 </simpleGoToAction> 39 39 <SpriteNameBeaver> … … 41 41 <comments>~/Documents/Scripts/lingo/SpriteNameBeaver.ls</comments> 42 42 <memberName>SpriteNameBeaver</memberName> 43 <f Name>SpriteNameBeaver</fName>43 <fname>SpriteNameBeaver</fname> 44 44 </SpriteNameBeaver> 45 45 </Untitled>
Note: See TracChangeset
for help on using the changeset viewer.
