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

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

addded custom handlers script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/castlib1/OSCmenu_Utilities.ls

    r93 r98  
    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   
Note: See TracChangeset for help on using the changeset viewer.