Disable menu item

Charles Szasz cszasz at mac.com
Wed Mar 28 15:24:34 EDT 2007


I want to enable a menu item "Export" except when the user  is on a  
specific card.

I have tried this and  other scripts:

if card of group "menubar 1 of stack "x" = the name of card "index"
     then
       send mouseUp to button "export" of card "index"
end if

But I keep getting bad expression messages.  I have searched the  
archives for an example but I cannot find one to enable a menu item  
when on a specific card.

Charles Szasz
cszasz at mac.com






More information about the use-livecode mailing list