Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: Notebook Filename

  • To: mathgroup at
  • Subject: [mg30324] Re: [mg30312] Notebook Filename
  • From: BobHanlon at
  • Date: Sat, 11 Aug 2001 03:39:47 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

In a message dated 2001/8/8 1:38:39 AM, Pickering at writes:

>Is there a way to identify the filename of the notebook in use from within
>that notebook.
>For example, if I open the notebook   "testintegral.nb"   can I use a
>function to give me the string "testintegral.nb"  ?

    EvaluationNotebook[]], "", 
  {{1, 17}, {-3, -1}}]

Or in the above substitute either InputNotebook or SelectedNotebook for 
EvaluationNotebook.  If the evaluation was initiated by a button you can also 
use ButtonNotebook.

Bob Hanlon
Chantilly, VA  USA

  • Prev by Date: Expanding Trig Power Identities
  • Next by Date: Re: Notebook Filename
  • Previous by thread: Notebook Filename
  • Next by thread: Re: Notebook Filename