I loaded all the cards of a stack into a menu button, that worked fine - for the menuPick handler, I simply put
Code: Select all
on menuPick pWhich
-- put menuItem pWhich
go to card pWhich of stack "LcTips"
end menuPick
I have tried so far :
putting pWhich in ( )
putting 'quote & pWhich & quote' (Was thinking of something Klaus told me before)
Code: Select all
if (quote & pWhich & quote) is among the lines of the cardNames of stack "LcTips" then
go to card (quote & pWhich & quote) of stack "LcTips" // "revLcTips"
end if // skips straight to end if

If I copy the text from pWhich, though, and put it into this command in the message box -
Code: Select all
put the number of card "Contextual menus" of stack "LcTips"