Changeset 215 for trunk/lingosource/castlib1/custom_Utilities.ls
- Timestamp:
- 12/15/08 13:00:15 (3 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib1/custom_Utilities.ls (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib1/custom_Utilities.ls
r180 r215 1 -- custom_Utilities 2 ----------------------------------- 3 -- PROPERTIES: 4 --!memberProperties: [#name: "custom_Utilities", #scripttype: #parent, #scriptSyntax: #lingo, #comments: "~/Documents/Scripts/lingo/commonMovieScript.ls"] 5 -- 6 -- DESCRIPTION: 7 -- you can use the utility handlers from script alexUtilities in this script, as it uses it as ancestor. 8 -- 9 -- REQUIRES: 10 -- script "alexUtilities" -> ancestor -> basic function provider 11 -- 12 -- USAGE: 13 -- define the handlers, which are provided in the Utilities menu and defined in script "OSCmenu_Utilities" 14 -- 15 -- 16 -- if you want to display a status for long calls (like my svn utilities do) 17 -- use: 18 -- me.mSwitchToStatusMode(1) -- to switch it on 19 -- me.mSwitchToStatusMode(0) -- to switch it off 20 -- and: 21 -- me.mDisplayWaitStatusText(aString) -- to display a status message 22 -- 23 -- 24 -- WARNINGS: 25 -- keep in mind, that you are in the scope of the stage, when these hadlers here are called! 26 -- so calling a script of this movie "Handlermenu" here is only possible, if you use a "tell" statement 27 -- use it like so: tell window(me.pHandlerMenuWindowName) to doSomething 28 ----------------------------------- 29 1 30 property ancestor 2 31 … … 5 34 return me 6 35 end 7 8 -- you can use the utility handlers from script alexUtilities in this script, as it uses it as ancestor.9 10 -- keep in mind, that you are in the scope of the stage, when these hadlers here are called!11 -- so calling a script of this movie "Handlermenu" here is only possible, if you use a "tell" statement12 -- use it like so: tell window(me.pHandlerMenuWindowName) to doSomething13 14 ----------------------------------------------15 -- if you ant to display a status for long calls (like my svn utilities do)16 -- use:17 -- me.mSwitchToStatusMode(1) -- to switch it on18 -- me.mSwitchToStatusMode(0) -- to switch it off19 -- and:20 -- me.mDisplayWaitStatusText(aString) -- to display a status message21 ----------------------------------------------22 36 23 37 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Note: See TracChangeset
for help on using the changeset viewer.
