Disable menu item
Jim Ault
JimAultWins at yahoo.com
Wed Mar 28 15:48:41 EDT 2007
> if card of group "menubar 1 of stack "x" = the name of card "index"
I am not sure what this is testing.
What are you trying to do here, because ...
---> card of group "menubar 1 of stack "x" <--
does not make any sense
--wrong number of quote characters
--bad card reference
--is there a stack named "x" ?
card 'what' of group "menubar1 ????
this ??
card 1 ??
Do you want (the short name of card "index"), which is "index"
Jim Ault
Las Vegas
On 3/28/07 12:24 PM, "Charles Szasz" <cszasz at mac.com> wrote:
> 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.
More information about the use-livecode
mailing list