... John, This should be your answer! In NoteTab Help... $GetPath(FileName)$ Returns the path segment of FileName (always ends with backslash). Since version...
21808
John Shotsky
shotsky1
Jun 13, 2011 12:08 pm
Yes, I saw that, but then I need a token for the filename, which is also unknown. I want to know the path for the current document, whatever its name might be....
21809
John Shotsky
shotsky1
Jun 13, 2011 1:33 pm
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...
21810
Eb
ebbtidalflats
Jun 14, 2011 2:41 pm
I've been asked for my workaround to using custom functions within a clipbar clip. The problem with UDFs (user defined functions, or custom functions) from the...
21811
Art Kocsis
artkns
Jun 15, 2011 9:37 am
Thanks Eb, BTW, I think you meant ^$GetClipBOARD$ not ^$GetClipBAR$ in your overview. This looks interesting but given the amount of coding required I am ...
21812
Eb
ebbtidalflats
Jun 15, 2011 2:15 pm
... Yes, I menat clipboard 8=D. ... You have a point. But I got to the workaround in a series of steps, from working clips, clipbars, and libraries, that...
21813
Alec Burgess
alecb3ca
Jun 19, 2011 11:14 am
Can anyone figure out a regular expression that when working on a <pathname>filename.ext (eg. C:\Program Files\name with spaces.txt) will remove the space from...
21814
flo.gehrke
Jun 19, 2011 2:30 pm
... Alec, Try this... ^!Replace "\x20(?=[^.\\]+92;.txt)" >> "" WARS It replaces any space '\x2039; at a position that is defined with the Lookahead Assertion...
21815
Alec Burgess
alecb3ca
Jun 19, 2011 8:23 pm
Flo: I posted your suggestion with slight modification on the thread: http://discuss.pcmag.com/forums/1004432073/ShowThread.aspx#1004432073 ... Thanks very...
21816
acmewebwerks
Jun 20, 2011 12:30 am
if I were going to build a clip to do this I would: 1. convert all complete names to a list - one per row 2. select from line end backwards to the first / 3....
21817
bruce.somers@...
bruce.somers
Jun 20, 2011 2:02 pm
Can NoteTab determine the path to a given file with the volume label 'prepended39;? When using removable media, the drive letter is not of great use in lists of...
21818
Eb
ebbtidalflats
Jun 22, 2011 4:57 pm
It's not real clear what you want from the volume label. It's not part of a file name or path. If you simply want to make sure you process the correct file, or...
21819
CR
csroberts
Jun 27, 2011 5:12 pm
Hi, I would like a clip library to change multiple lines of plain text, into a BBCode numbered list. Many forum softwares do not properly change selected lines...
21820
Don
dpasseng
Jun 27, 2011 5:38 pm
Just adapt the list from html ... I think insert text instead of inserthtml and hten change what is inserted. ^!If ^$GetSelSize$ > 0 FormatSelection ^!Set...
21821
diodeom
Jun 27, 2011 8:45 pm
... With your multiple lines selected, this should suffice: ^!Replace "^" >> "[*]" HARS ^!InsertText [list=1]^p^$GetSelection$^p[/list]...
21822
Don
dpasseng
Jun 27, 2011 8:50 pm
Wow! Do you need to turn off wordwrap for it to work?...
21823
diodeom
Jun 27, 2011 9:27 pm
... Regex properly recognizes lines regardless of how they are displayed for our convenience. BTW, here's a seed "library" of tiny clips for common BB...
21824
Axel Berger
absalom_nemini
Jun 28, 2011 12:53 am
... ^^ Slight error here. The newline is part of the last selected line, so this should be: ^!InsertText [list=1]^p^$GetSelection$[/list]^p (Tested, just to...
21825
diodeom
Jun 28, 2011 2:57 am
... It's no nonsense if the selection is stretched (for no good reason) to the beginning of the next line below (instead of stopping on the last character of...
21826
Axel Berger
absalom_nemini
Jun 28, 2011 4:32 am
... No good reason may be, but it's what usually happens. I select lines by placing the cursor at the left margin and selecting with <Shift><Down>. There may...
21827
acmewebwerks
Jun 28, 2011 6:43 am
if I were going to build a clip to do this I would: 1. convert all complete names to a list - one per row 2. select from line end backwards to the first / 3....
21828
cosmyah
Jun 28, 2011 6:43 am
... is: How can I use a Find/Replace operation to insert a filename (or better, the first n characters of a filename) into that same file? That is, I want to...
21829
Alec Burgess
alecb3ca
Jun 28, 2011 8:45 am
Axel: if I understand the "problem" here ... cursor winds up positioned at beginning of following line resulting in an unwanted \r\n and you don't want to use...
21830
diodeom
Jun 28, 2011 8:47 am
... I believe a sensible no-mouse approach could be to hit the <Left> key once just as soon as you exceede a proper selection after punching your last <Down>. ...
21831
diodeom
Jun 28, 2011 8:52 am
... Sure. Please define any unique characteristics of this "certain point" that consistently apply to all files in your target directory. This could determine...
21832
Axel Berger
absalom_nemini
Jun 28, 2011 12:05 pm
... It would, if it were a problem. For all practical putposes I just remember that selecting blocks of complete lines makes the newline at the end of the last...
21833
Axel Berger
absalom_nemini
Jun 28, 2011 12:09 pm
... Right you are. I had assumed my way of doing it was the "normal" or natural way. If it isn't then my remark won't make much sense to most people. Axel...
21834
flo.gehrke
Jun 28, 2011 3:41 pm
... Sorry, I'm unsure whether this a question or just a statement. Since the same message has already been posted on June 19 this might be a reminder of an...
21835
Alec Burgess
alecb3ca
Jun 28, 2011 5:00 pm
Hi Frank/Flo: Yes this was my original question. The requirement was a single regexp (find / replace pair) that could be used in another application - *NOT* in...
21836
Don
dpasseng
Jun 28, 2011 5:19 pm
... I can use a clip for this project, but I wonder if a regex could do it. I want to essentially ask for data that I do not want to find in a line and if that...