Disable menu item
Devin Asay
devin_asay at byu.edu
Wed Mar 28 19:11:34 EDT 2007
On Mar 28, 2007, at 5:04 PM, Charles Szasz wrote:
> Jim,
>
> I forgot to include my latest script:
> case "Export..."
> if field "vmiFld" of card index > "" or field "nvmiFld" of card
> index > "" \
> or field "cmiFld" of card index > "" or field "vdriFld" of
> card index > "" \
> or field "aciFld" of card index > "" or field "sriFld" of
> card index > "" \
> or field "friFld" of card index > "" or field "ariFld" of
> card index > "" \
> or field "liFld" of card index > "" and name of card = card
> "index"
> then
> enable line 2 of button "file"
> send mouseUp to button "export" of card "index"
> else
> answer information "You must have some results before you can
> export."
> end if
> break
> The script works except for the last part ----name of card = card
> "index"
Try:
the short name of this cd = "index" then ...
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
More information about the use-livecode
mailing list