Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Changeset 96 for trunk/lingosource


Ignore:
Timestamp:
12/13/07 09:14:28 (4 years ago)
Author:
alex
Message:

added custom utilities handler script

Location:
trunk/lingosource/castlib1
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib1/OSCmenu_Utilities.ls

    r85 r96  
    386386  li.add("Open containing folder in" && fnd) 
    387387  pLookUpCommandList.setaprop("Open containing folder in" && fnd, ["mOpenContainingFolder me", "alexUtilities"]) 
     388   
     389   
     390   
     391   
     392  -------------------------------------------------- 
     393  --------------------------------- 
     394  li.add("My own handlers") 
     395  subli = [] 
     396  li.add(subli) 
     397   
     398  menuString = "Do some custom stuff" 
     399  handlerNameWithParameters = "Add_Your_Own_Handler_Here me" 
     400  parentScriptName = "custom_Utilities" 
     401   
     402  subli.add(menuString) 
     403  pLookUpCommandList.setaprop(menuString, [handlerNameWithParameters, parentScriptName]) 
     404   
     405  -- USAGE NOTES: 
     406  -- <menuString> is what appear visible in th menu 
     407  -- <handlerNameWithParameters> is what is called in script <parentScriptName> 
     408  -- provide the required or optional paramters to <handlerNameWithParameters> 
     409  -- -- -- so the MUI dialog "knows" what to "ask" for 
     410  --------------------------------- 
     411  -------------------------------------------------- 
     412   
    388413   
    389414   
  • trunk/lingosource/castlib1/memberInfo.xml

    r81 r96  
    121121                <fName>svn_Utilities</fName> 
    122122        </svn_Utilities> 
     123        <custom_Utilities> 
     124                <scriptType>#parent</scriptType> 
     125                <comments>~/Documents/Scripts/lingo/commonMovieScript.ls</comments> 
     126                <memberName>custom_Utilities</memberName> 
     127                <fName>custom_Utilities</fName> 
     128        </custom_Utilities> 
    123129</Untitled> 
Note: See TracChangeset for help on using the changeset viewer.