Send Menupick?
Dan Shafer
revolutionary.dan at gmail.com
Fri Jan 27 00:33:35 EST 2006
Sivakatirswami....
try
send "menuPick" && pItem to button "Help". Quick testing here seems to
work. You're trying to execute a function with a parameter but
menuPick isn't a function and you can't "send" a function.
HTH
On 1/23/06, Sivakatirswami <katir at hindu.org> wrote:
> I would like to have a script in one menu button on one card (A),
> take the user to another card (b) and trigger a menu choice on a
> button on Card B
>
> This seemed to be obvious enough:
>
> --> pull down menu on Card A
> on menuPick pitem
> switch pItem
> case "User Guide"
> go to card "User Guide" # Card B
> send menupick ("Working Guide") to btn "Help" # a tabbed menu on
> card B
> break
> end switch
> end menuPick
>
>
> but I get an error for this line:
>
> send menupick ("Working Guide") to btn "Help"
>
> and the script error is saying it thinks this is a function call and
> not an attempt to send a msg?
>
> Send MouseUp works, but send Menupick doesn't? (of course it
> probably does, I'm just doing something wrong...
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
>From http://www.shafermediastore.com/tech_main.html
More information about the use-livecode
mailing list