MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: hyperlink problem in a ActionMenu

  • To: mathgroup at
  • Subject: [mg98681] Re: hyperlink problem in a ActionMenu
  • From: ragfield <ragfield at>
  • Date: Thu, 16 Apr 2009 04:14:07 -0400 (EDT)
  • References: <gs47n0$7qm$>

On Apr 15, 4:00 am, meitnik <meit... at> wrote:
> hi,
> Way does this ActionMenu fail to work:
> ActionMenu["help",
> {"Plotwww" :>  Hyperlink[ "
> ref/Hyperlink.html"],
>   "PlotLocal" :> Hyperlink["paclet:ref/Plot"]}]
> Nothing happens when I select the menuitems. What is missing in my
> code to get it to work?? Thanks.

When the action menu item is selected that item's action is
performed.  Hyperlink[] does not itself open the hyperlink.  Hyperlink
evaluates to an expression which, when typset in the Mathematica user
interface, gives the visual appearance of a hyperlink and which, when
clicked, performs the action of opening the hyperlink.  What you're
looking for is the code which Hyperlink[] uses to perform its action.
Try this instead:

ActionMenu["help", {"Plotwww" :>
  "PlotLocal" :> Documentation`HelpLookup["paclet:ref/Plot"]}]


  • Prev by Date: Re: Plotting a x,y,z function
  • Next by Date: Strange Output!!!Please help me thank you.
  • Previous by thread: Re: hyperlink problem in a ActionMenu
  • Next by thread: Simplify