Changeset 215 for trunk/lingosource/castlib1/bbedit_Utilities.ls
- Timestamp:
- 12/15/08 13:00:15 (3 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib1/bbedit_Utilities.ls (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib1/bbedit_Utilities.ls
r182 r215 1 -- bbedit_Utilities 2 ----------------------------------- 3 -- PROPERTIES: 4 --!memberProperties: [#name: "bbedit_Utilities", #scripttype: #parent, #scriptSyntax: #lingo, #comments: "~/Documents/Scripts/lingo/commonMovieScript.ls"] 5 -- 6 -- DESCRIPTION: 7 -- This script externalizes all functions which are related to the use of an external editor for script editing 8 -- It started as interface to BBEdit, hence the name, later I added support for arbitrary editors 9 -- as there is not BBEdit for windows. I tested with UltraEdit and Tortoise SVN for the merge/diff functionality 10 -- I'd appreciate any enhencements made for other external editors, but the above are the ones I use 11 -- and therefore I haven't tested against others 12 -- 13 -- REQUIRES: 14 -- script "alexUtilities" -> ancestor -> basic function provider 15 -- most functionality is provided through the shell xtra and buddyApi xtra 16 -- although it should fail gracefully, if those are not present 17 -- not much will work without them 18 -- 19 -- USAGE: 20 -- This script is instantiated and used in the "tell the stage" block and one of the functions 21 -- which are defined in script "OSCmenu_Utilities" and which was selected by the user 22 -- will be executed in "stage scope". That means, that references are made form within the stage context 23 -- e.g. member("foo") will refer to a member in one of the stages castlibs 24 -- sprite(x) will refere to sprite(x) in the stages score and so on 25 -- 26 -- Please see the descriptions of many of those handlers at: http://www.farbflash.org/trac/HandlerMenu/wiki/utilityHandlers 27 ----------------------------------- 28 1 29 property ancestor 2 30 … … 1486 1514 1487 1515 mn = the moviename 1488 offs = offset(".", mn) 1489 if offs > 0 then mn = mn.char[1 .. offs-1] 1490 1491 mSaveToTextFile me, str, "", "Save list of used linked scripts", mn & "_linkedScripts_List.txt" 1492 1493 end 1494 1516 -- offs = offset(".", mn) 1517 -- if offs > 0 then mn = mn.char[1 .. offs-1] 1518 1519 spl = mSplitPath(me, mn) 1520 1521 mSaveToTextFile me, str, "", "Save list of used linked scripts", spl[#basename] & "_linkedScripts_List.txt" 1522 1523 end 1524
Note: See TracChangeset
for help on using the changeset viewer.
