I figured it out, it just wasn't clear to me how to do it. The help is of very little value in understanding how GetDocName is supposed to function .
To get the path without the file name, you use:
] On Behalf Of hsavage
Sent: Sunday, June 12, 2011 22:37
Subject: Re: [Clip] What's the path?
John Shotsky wrote:
> This should be simple, but I can't find a straightforward way to do > it in the help files.
> I want the path only from the active document. There is a command to > get the active doc, but then I have to trim off the document name to > be left with the path. Is there a way to simply get the path of the > active document? The reason for this requirement is that other files > are expected to exist in the same folder, so the clips need to > identify the path and append the other file names for specific > purposes. I know I can dig it out and store it to a variable, I was > just wondering if there's a way to simply get the path in any clip.
This should be your answer!
In NoteTab Help...
Returns the path segment of FileName (always ends with backslash).
Since version 4.8, this function works both on Windows file names and URLs.
¤• JD#...164 - ¤• SL...1305 - 11.06.13~00.32.34
• The Sooner You Fall Behind
• The More Time You'll Have To Catch Up.
€ hrs € hsavage € pobox € com~
Fookes Software: http://www.fookes.com/
NoteTab website: http://www.notetab.com/
NoteTab Discussion Lists: http://www.notetab.com/groups.php
Yahoo! Groups Links