... I agree with you, Don. When running... ^!Replace "(\w)(\w)(\w)(\w)(92;w)(\w)(\w)(\w)(\w)(92;w)(\w)(\w)(\w)(\w)(92;w)\K(\w)" >> "$16\0" WRS against... ...
22386
Art Kocsis
artkns
Jan 5, 2012 11:33 pm
^!Select Lines seems to have a bug. The first repeated invocation extends the selection to the beginning and end of the partially selected line(s). However,...
22387
Art Kocsis
artkns
Jan 5, 2012 11:34 pm
^!Select Lines seems to have a bug. The first repeated invocation extends the selection to the beginning and end of the partially selected line(s). However,...
22388
bozlawless
Jan 6, 2012 1:36 am
I am trying to make a clip to extract the latitude and longitude # and remove everything else.I looked at the clipclass.pdf but still do not understand any...
22389
Don
dpasseng
Jan 6, 2012 2:27 am
^!Set %Variable_One%="^$GetDocMatchAll("(Latitude = .*)";1)$" ^!Select All ^%Variable_One%...
This works but it puts everything on one long line can you kinda break this down so i can get a idea whats going on? I think I need a carriage return @ the ";1...
22392
Don
dpasseng
Jan 6, 2012 3:22 am
just add a replace at the end and replace all ; with ^P if you want Or use this: ;put a carraige return between each found item ^!SetListDelimiter ^P ;find all...
22393
John Shotsky
shotsky1
Jan 6, 2012 3:29 am
The best way to get help is to post part of the input, and the exact output you are looking for. Often, you will get what you ask for, rather than what you...
22394
bozlawless
Jan 6, 2012 3:47 am
Don it worked great thank you with you laying it out for me I have a better idea whats going on Thanks again...
22395
bozlawless
Jan 6, 2012 3:48 am
John thank you for the tip I hate that i ask for so much help but someday I may understand better...
22396
Don
dpasseng
Jan 6, 2012 3:56 am
... We all started somewhere. If you learn and study as you go, then you learn from others and we learn from others as we offer suggestions as well. So it's...
22397
Don
dpasseng
Jan 6, 2012 3:58 am
One other point, put setdebug at the top and turn it on ... go through it a step at a time and you will see better what is happening. ^!SetDebug On...
22398
John Shotsky
shotsky1
Jan 6, 2012 4:12 am
The best way to learn is to take a clip and play with it. Find something that is close and try to tailor it to your needs. You'll have to start simple, but you...
22399
John Shotsky
shotsky1
Jan 8, 2012 1:28 pm
There must be an easier way to do this, but I haven't found a way yet. I have an open document, and some test tells me it needs to be cloned, and further...
22400
John Shotsky
shotsky1
Jan 8, 2012 1:58 pm
I found a solution that seems to work. Not sure if it's the most straightforward way to do it, but it works. In case anyone else needs something like that: ...
22401
Axel Berger
absalom_nemini
Jan 8, 2012 8:45 pm
I'm having serious trouble with the so-called UTF-8 capabilities of NoteTab, so bad, I might even have to go back to version 5.8. I've got a working clip to...
22402
John Shotsky
shotsky1
Jan 8, 2012 9:01 pm
I think if you copy your modified doc and paste it into a new doc and save, all will be fine (Assuming you have new docs set for DOS Ascii.). Save, and Save As...
22403
Art Kocsis
artkns
Jan 8, 2012 9:25 pm
John, I think you are having a senior moment here. As written your code just overwrites the original doc. Don't you want to append your "-1" to the file name...
22404
John Shotsky
shotsky1
Jan 8, 2012 9:35 pm
Nope, it appends .txt to the doc, so its name is name.txt.txt, and that's fine for what I need. It is a throwaway file anyway, ultimately. Not that I don't...
22405
Art Kocsis
artkns
Jan 8, 2012 9:43 pm
Axel, A couple of suggestions: You could create you own alert box. Insert a test line at the beginning of the document and then check for error condition or...
22406
bruce.somers@...
bruce.somers
Jan 8, 2012 10:20 pm
... Is NoteTab now orphaned software? Is it still being maintained? Sad, if it is not. Bruce...
22407
Pete Turner
turnerpgeac
Jan 9, 2012 4:27 am
Just to revisit this (sorry, I've been away from a computer for three weeks - it was wonderful!!) Don's original example:- ^!Set %testvar%="one|_two|three" ...
22408
Axel Berger
absalom_nemini
Jan 9, 2012 7:56 am
... Exactly. I have just used this in a wizard: ^!Set %vBox%=^?[(T=L,H=7)Welche Box?=_mbox^=\mbox{^&}|makebox^=\makebox[^%vWid%][^%vPos%]{^&}]; ...
22409
Axel Berger
absalom_nemini
Jan 9, 2012 8:28 am
... Thanks! I had looked in vain for just that all over the place and failed to find it. Failing to be able to turn read-only off I had to resort to ...
22410
Eb
ebbtidalflats
Jan 9, 2012 8:59 pm
Your solution is brief, but it changes the cursor position, if that is important. Theoretically (I havn't tested this), you could use: ^!CopyFile...
22411
John Shotsky
shotsky1
Jan 9, 2012 9:25 pm
Thanks, Eb, that looks good too. I'd add a save first, in case it was modified beforehand. I like the idea of .tmp too. Regards, John RecipeTools Web Site:...
22412
Axel Berger
absalom_nemini
Jan 9, 2012 9:50 pm
... I like using the standard Temp-folder too: ^$ExpandEnv("%temp%")$92;^$GetName(^$GetDocName$)$.tmp Note the backslash: While NotTab paths always end in a...
22413
Axel Berger
absalom_nemini
Jan 9, 2012 9:53 pm
... You could top that by closing and ^!OpenReadOnly Open the old file first and the new one last, so the new, temporary one is in focus. Axel -- Dipl.-Ing. F....
22414
loro
yastupidhoo
Jan 11, 2012 7:06 pm
... You can turn it off in Options, the General tab ... Protect Unicode Files: When NoteTab opens Unicode files, it has to convert them to the ANSI character...