Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Internet links/URLs/browser activation from with an Mathematica notebook?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55916] Re: [mg55905] Internet links/URLs/browser activation from with an Mathematica notebook?
  • From: Christopher Purcell <christopherpurcell at mac.com>
  • Date: Sun, 10 Apr 2005 06:54:46 -0400 (EDT)
  • References: <200504090756.DAA12426@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

You don't need MathLink for this.
Type some text, giving the name of your button, and select it, and then 
invoke the menu item "Input, Create Hyperlink".
Put the URL of the web site you want to link to in the box provided, as 
http://the.address.of-the-site. This creates a cell with everything 
ready to go, such that when you click it, your browser will launch. The 
cell contents will be some variation on the following, which is a cell 
with "Wolfram Research" in it, and hyperlinked to the wri web site. You 
could also type this, (or copy and paste it) without the use of the 
Create Hyperlink menu.

Cell[BoxData[
     ButtonBox[
       RowBox[{"Wolfram", " ", "Research"}],
       ButtonData:>{
         URL[ "http://www.wri.com";], None},
       ButtonStyle->"Hyperlink"]], "Input"]

If you want info gathered from the web to appear in the notebook, 
rather than just launching a browser, you may want to look at the "Web 
Services Package".

Christopher Purcell
Sensors & Actuators Group
DRDC-Atlantic, 9 Grove St., PO Box 1012,
Dartmouth NS B2Y 3Z7 Canada
Work E-mail chris.purcell at drdc-rddc.gc.ca
Work Tel 902-426-3100 x389 Fax 902-426-9654
Home Tel 902-464-9248
Home E-mail christopherpurcell at mac.com
AIM/iChatAV:   cffrc

On Apr 9, 2005, at 4:56 AM, AES wrote:

> Possible to put an active (clickable) URL/Internet link within a
> Mathematica notebook?  Or at least have a cell open your browser and
> point it to a specified web site?
>
> Thanks for any info.  Don't find specific guidance on this in the
> Mathematica 5 Book or Help system, and haven't learned how to use
> MathLink well enough to figure out how to do this on my own.
>


  • Prev by Date: Re: Re: Recommendations for a programming book?
  • Next by Date: Re: Why are there no spaces in my title?
  • Previous by thread: Internet links/URLs/browser activation from with an Mathematica notebook?
  • Next by thread: Problems with Derivative, Piecewise, Assuming