Text::Autoformat been using that Perl module on Linux. Impressive. http://search.cpan.org/~dconway/Text-Autoformat- 1.13/lib/Text/Autoformat.pm There's a bit...
319
rpdooling
Sep 26, 2005 8:35 pm
Dear Alan: The text::autoformat works great, but it puts a hard return at the end of each line. Is there an option or something that can be set to avoid that?...
320
rpdooling
Sep 26, 2005 9:54 pm
Alan, ... hard paragraph breaks at the end of each line?<< Never mind. Sorry. Select All. Join lines. Duh. Thanks for the tip on autoformat.. Rick...
321
acummingsus
Sep 27, 2005 4:47 am
... (new clips are enclosed at bottom) Well, if you'd rather be lazy and have Perl do the work instead, I had also needed to add a modification anyways. So,...
322
rpdooling
Sep 27, 2005 1:47 pm
Well, I poked around and looked at the Template-Toolkit, but I can't find a win32 rendition which is where I do all of my work. If they ever port NoteTab or...
323
acummingsus
Sep 28, 2005 5:47 am
... I haven't tried the T-T module yet. But it appears it is avail for Win32 http://template-toolkit.org/download.html Win32 about half way down the page. ...
324
rpdooling
Sep 28, 2005 7:37 pm
Dear Alan: The template toolkit is WAY overkill for my needs. I looked at it last night, then uninstalled it. But I did play more with text::autoformat. Just...
325
Jason Morgan
jason@...
Sep 28, 2005 8:47 pm
Not sure if anyone is interested, but I've managed to create clips that will run Python code (which is what I mainly use). If anyone is interested, let me...
326
rpdooling
Sep 28, 2005 9:47 pm
Jason, Fire away. I'm just learning PERL and thinking about switching to Python instead because I forget everything in between immersions. I hear Python is...
327
Jason Morgan
jason@...
Sep 28, 2005 10:28 pm
Rick, From my point of view, Python is much easier to understand than Perl. If you have any experience with other Object Oriented languages, such as C/C++,...
328
rpdooling
Sep 28, 2005 11:26 pm
Alan, Damian Conway, the guy who wrote the autoformat module wrote me back. Just open the autoformat.pm module and change the line my $quotechar =...
329
acummingsus
Sep 29, 2005 1:04 am
Hi Rick, That's great to know! Thanks. I'd be interested your entire script unless there's nothing more that's new in it outside of what you've already...
330
rpdooling
Sep 29, 2005 1:05 am
Jason, Thank you. I'll get the Active State Python installed and get a book. Somebody else said just to try both, so I will. Thanks for showing us how to run...
331
rpdooling
Sep 29, 2005 2:24 am
Alan, Only thing I see in yours is that I seemed to get errors if I didn't put all of the options in one line, including the ignore one. ... #!perl -w use...
332
Jason Morgan
jason@...
Sep 29, 2005 3:24 pm
No problem. If you have any questions about anything I'll try and answer them. -- Jason Morgan Senior Programmer Decipher, Inc. p 800.923.5523...
333
rpdooling
Sep 29, 2005 9:40 pm
I'm sure this is something I should know, but I don't. When I run a Perl script in NoteTab, any script, even Numlines, as near as I can tell, I get a little...
334
acummingsus
Sep 30, 2005 1:57 am
if ($] > 5.006) { $badchar = chr(26); s/($badchar)$//; } That, by Sheri, rids it. (either called at end or used as very last part of your script) Grant...
335
rpdooling
Sep 30, 2005 2:19 am
Alan, Following those links of yours, she had another that just ran it on the last line: if (eof && $] > 5.006) { $badchar = chr(26); s/($badchar)$//; } Do the...
336
acummingsus
Sep 30, 2005 3:32 am
... (important stuff at/near bottom after Perl while loop stuff) Well, yes. But each iteration of a while loop works/processes one line of a ntb file (unless...
337
acummingsus
Sep 30, 2005 4:18 am
... wrote: [ snip ] ... OR (using Perl to rid char 26) H="clip" ^!RunPerl perl_para_moddr ^!clip_code_here_to_*select*_only the last several lines of doc ...
338
rpdooling
Sep 30, 2005 6:11 pm
Alan, I'm following and learning as I go, and have indeed put the Perl code in a couple of scripts. However, I have concluded that since it's a NoteTab...
339
Challenger1601@...
Oct 8, 2005 9:20 am
Am looking for a way to send html into an editor from within a program, and return any edits made back to the program for additional use. Is there an activeX...
340
rpdooling
Oct 9, 2005 12:08 pm
Dear Rick, I am no vba expert. It's hard enough calling one Office program from another. If I were doing what it sounds like you want to do. I would turn on...
341
acummingsus
Oct 9, 2005 7:06 pm
... program, and ... there an ... program? I'm not aware of any. Or is ... I saw the pasteboard idea from Rick. Also of note is that Notetab may be controlled...
342
rpdooling
Oct 18, 2005 5:09 pm
Jason, Any idea why I can't get something like this to work? It works fine from the command line no matter what directory I'm in. ^!Info ^$GetOutput("python...
343
rpdooling
Oct 20, 2005 12:44 am
Jason, For purposes of comparison, this DOES work: ^!Info ^$GetOutput(python -c "import sys;print sys.version")$ So I'm thinking it's some quirk in Python or...
344
acummingsus
Oct 20, 2005 4:47 am
Hi Rick, Have you tried ^$GetDosOutput("whatever command")$ sometimes GetDosOutput works other times GetOutput works Of the two, Perl generally seems to like...
345
rpdooling
Oct 20, 2005 2:17 pm
Thanks, Alan, Same result with GetDosOutput. I tried that before posting. It sends the version number to StdErr. The python path has no spaces. As for Python...
346
tuttle.grey
Aug 11, 2007 9:11 am
I copied the NoteTab Pro 5.3 directories to a USB flash drive. I want to run NoteTab Pro from that drive, along with my preferences (NotePro.ini) and my...
347
fw7oaks
Aug 11, 2007 8:28 pm
... [snip] ... Try moving the end parenthesis thus:- "E:\NoteTab Pro 5.3\NotePro.exe /USB"...