MathGroup Archive 2005

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

Search the Archive

Re: How can get the Path of current Notebook ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58711] Re: How can get the Path of current Notebook ?
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 15 Jul 2005 14:13:54 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <db7nen$mn4$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

GetNotebookDirectory[nb_NotebookObject] /; 
$Notebooks :=
  Module[{fname},
    fname = "FileName" /.
            NotebookInformation[nb] /.
            FrontEnd`FileName[dir_, ___] :>
              ToFileName[ dir];
    If["FileName" == fname,
      fname = Directory[] <> $PathnameSeparator
     ];
    fname
   ]

Regards
  Jens

<quzhi at quzhi.net> schrieb im Newsbeitrag 
news:db7nen$mn4$1 at smc.vnet.net...
|
| How can get  the Path of current Notebook ?
|
| --
| http://www.quzhi.net
| quzhi at quzhi.net
|
| 



  • Prev by Date: Re: How do I add a secondary y-axis to MultipleListPlot
  • Next by Date: Re: How do I add a secondary y-axis to MultipleListPlot
  • Previous by thread: Re: How can get the Path of current Notebook ?
  • Next by thread: Re: How can get the Path of current Notebook ?