Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ntb-clips · The NoteTab Clips List

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 23642 - 23671 of 23887   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#23642 From: "Dave" <dmc43959@...>
Date: Mon Feb 4, 2013 12:32 pm
Subject: Re: [Clip] Rearrange Tracklist
david_99_au
Send Email Send Email
 
Hi
try this it works on your example
H="reverse title\artist"
^!Replace "(.*)\s\-\s(.*)" >> "$2 - $1" AIRS
     THANKYOU DAVE M

----- Original Message -----
From: "aleksat1" <rpg.oneword@...>
To: <ntb-clips@yahoogroups.com>
Sent: Monday, February 04, 2013 9:25 AM
Subject: [Clip] Rearrange Tracklist


> Hello everybody,
>
> is it possible to change a list with syntax
>
> Title - Artist
>
> into
>
> Artist - Title
>
> within NoteTab using Regular Expressions?
>
> Could this also work, if there are brackets like
>
> Title (Remix) - Artist
>
> Best regards,
> Alex
>
>
>
>
> ------------------------------------
>
> Fookes Software: http://www.fookes.com/
> NoteTab website: http://www.notetab.com/
> NoteTab Discussion Lists: http://www.notetab.com/groups.php
>
> ***
> Yahoo! Groups Links
>
>
>

#23643 From: Jean-François Colas <jfcolas@...>
Date: Mon Feb 4, 2013 1:19 pm
Subject: Text selection boundaries
jf_colas
Send Email Send Email
 
Hello list,

Maybe I missed something obvious... Is there any way to determine the
coordinates (at least the row number) of the starting and ending points
of a selection?

Thaks,
J.-F.

#23644 From: Don <don@...>
Date: Mon Feb 4, 2013 4:02 pm
Subject: Re: [Clip] Text selection boundaries
dpasseng
Send Email Send Email
 
I use getrow and getcol and then select or maybe jump select start and
repeat and store in variables as I recall ... not an easy way that I
know of, but there is a simple and effective way.

On 2/4/2013 8:19 AM, Jean-François Colas wrote:
> Hello list,
>
> Maybe I missed something obvious... Is there any way to determine the
> coordinates (at least the row number) of the starting and ending points
> of a selection?
>
> Thaks,
> J.-F.

#23645 From: Don <don@...>
Date: Mon Feb 4, 2013 4:14 pm
Subject: Re: [Clip] Text selection boundaries
dpasseng
Send Email Send Email
 
On 2/4/2013 8:19 AM, Jean-François Colas wrote:
> Hello list,
>
> Maybe I missed something obvious... Is there any way to determine the
> coordinates (at least the row number) of the starting and ending points
> of a selection?
>
> Thaks,
> J.-F.

Fascinating!  If you find the cursor blinks after the last character of
the selection on my screen, but if you use getrow and getcol it marks
the first character of the selection (not where the cursor is blinking).
  I then jump selection end and capture it.

There are several other ways I can think of to do this, but this worked
just fine:
^!SetDebug On
^!SetWordWrap Off
;FILL IN YOUR OWN SEARCH TERM
^!Find "SEARCH TERM" CIWS
^!Set %selection_start_row%="^$GetRow$"
^!Set %selection_start_col%="^$GetCol$"
^!Jump Select_End
^!Set %selection_end_row%="^$GetRow$"
^!Set %selection_end_col%="^$GetCol$"
;LONG LINE FOLLOWS
^!Info [C]Selection Start (row:col):
^%selection_start_row%:^%selection_start_col%^PSelection Stop (row:col):
^%selection_end_row%:^%selection_end_col%
;END OF LONG LINE
^!SelectTo ^%selection_start_row%:^%selection_start_col%

#23646 From: Jean-François Colas <jfcolas@...>
Date: Mon Feb 4, 2013 4:53 pm
Subject: Re: [Clip] Text selection boundaries
jf_colas
Send Email Send Email
 
Le 04/02/2013 17:14, Don a écrit :
> On 2/4/2013 8:19 AM, Jean-François Colas wrote:
>> Hello list,
>>
>> Maybe I missed something obvious... Is there any way to determine the
>> coordinates (at least the row number) of the starting and ending points
>> of a selection?
>>
>> Thaks,
>> J.-F.
>
> Fascinating!  If you find the cursor blinks after the last character of
> the selection on my screen, but if you use getrow and getcol it marks
> the first character of the selection (not where the cursor is blinking).
>   I then jump selection end and capture it.

Thanks, fine! My impaired vision can't actually let me see the cursor
blinking when selecting text. But it seems to work the same in whichever
direction we select. Cool.

J.-F.

#23647 From: "aleksat1" <rpg.oneword@...>
Date: Mon Feb 4, 2013 7:02 pm
Subject: Re: [Clip] Rearrange Tracklist
aleksat1
Send Email Send Email
 
Hello Dave,

thank you for your help. It works just fine.

Alex

--- In ntb-clips@yahoogroups.com, "Dave"  wrote:
>
> Hi
> try this it works on your example
> H="reverse title\artist"
> ^!Replace "(.*)\s\-\s(.*)" >> "$2 - $1" AIRS
>     THANKYOU DAVE M

#23648 From: "joy8388608" <mycroftj@...>
Date: Tue Feb 5, 2013 8:02 pm
Subject: Re: Text selection boundaries
joy8388608
Send Email Send Email
 
--- In ntb-clips@yahoogroups.com, Jean-François Colas  wrote:
>
> Hello list,
>
> Maybe I missed something obvious... Is there any way to determine the
> coordinates (at least the row number) of the starting and ending points
> of a selection?
>
> Thaks,
> J.-F.
>

Are these functions what you are looking for?

^!Prompt Getrowstart is ^$GetRowStart$ and getrowend is ^$GetRowEnd$
^%NL%Getcolstart is ^$GetColStart$ and getcolend is ^$GetColEnd$

Joy

#23649 From: Mike Breiding - Morgantown WV <mike@...>
Date: Sat Feb 9, 2013 4:54 pm
Subject: Sorting map coordinates in reverse order
wv.mike
Send Email Send Email
 
Greetings Clipsters!
I have about a thousand coordinates I would like to sort in reverse order.
How would you suggest I go about that?

Sample:
-79.7962560949221,39.5034318624616,0
-79.7963859014283,39.5034814389697,0
-79.7970197879323,39.5037059595619,0
-79.7979009449095,39.5040388009614,0
-79.7984644303751,39.5042449905803,0
-79.7989934019142,39.5044450976328,0

Thanks,
WV-Mike

#23650 From: "John Shotsky" <jshotsky@...>
Date: Sat Feb 9, 2013 5:14 pm
Subject: RE: [Clip] Sorting map coordinates in reverse order
shotsky1
Send Email Send Email
 
Select all, choose Modify, Lines, Sort, Descending.

Regards,
John
RecipeTools Web Site:  <http://recipetools.gotdns.com/>
http://recipetools.gotdns.com/
John's Mags Yahoo Group:   <http://groups.yahoo.com/group/johnsmags/>
http://groups.yahoo.com/group/johnsmags/

From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of
Mike Breiding - Morgantown WV
Sent: Saturday, February 09, 2013 08:55
To: NoteTab Clips
Subject: [Clip] Sorting map coordinates in reverse order



Greetings Clipsters!
I have about a thousand coordinates I would like to sort in reverse order.
How would you suggest I go about that?

Sample:
-79.7962560949221,39.5034318624616,0
-79.7963859014283,39.5034814389697,0
-79.7970197879323,39.5037059595619,0
-79.7979009449095,39.5040388009614,0
-79.7984644303751,39.5042449905803,0
-79.7989934019142,39.5044450976328,0

Thanks,
WV-Mike



[Non-text portions of this message have been removed]

#23651 From: Mike Breiding - Morgantown WV <mike@...>
Date: Sun Feb 10, 2013 12:52 pm
Subject: Re: Sorting map coordinates in reverse order
wv.mike
Send Email Send Email
 
On 2/9/2013 8:02 PM, ntb-clips@yahoogroups.com wrote:

Greetings Clipsters!
I have about a thousand coordinates I would like to sort in reverse order.
How would you suggest I go about that?

Sample:
-79.7962560949221,39.5034318624616,0
-79.7963859014283,39.5034814389697,0
-79.7970197879323,39.5037059595619,0
-79.7979009449095,39.5040388009614,0
-79.7984644303751,39.5042449905803,0
-79.7989934019142,39.5044450976328,0

Thanks,
WV-Mike
<mailto:mike@...?subject=Re%3A%20Sorting%20map%20coordinates%20in\
%20reverse%20order>==============
>
> Re: Sorting map coordinates in reverse order
> Sat Feb 9, 2013 9:14 am (PST) . Posted by:
> "John Shotsky" shotsky1
>
> Select all, choose Modify, Lines, Sort, Descending.
>
> Regards, John

Hi John,
I tried that, but it groups all the zeros together.
Thanks,
-Mike

#23652 From: Axel Berger <Axel-Berger@...>
Date: Sun Feb 10, 2013 4:30 pm
Subject: Re: [Clip] Re: Sorting map coordinates in reverse order
absalom_nemini
Send Email Send Email
 
Mike Breiding - Morgantown WV wrote:
> Sample:
> -79.7962560949221,39.5034318624616,0
> -79.7963859014283,39.5034814389697,0
> -79.7970197879323,39.5037059595619,0
> -79.7979009449095,39.5040388009614,0
> -79.7984644303751,39.5042449905803,0
> -79.7989934019142,39.5044450976328,0
>
> I tried that, but it groups all the zeros together.

I don't understand. If you sample is representative of your real lines,
then John's solution ought to work. If there are problem lines, that
aren't sorted right, please include them.

Axel

#23653 From: Don <don@...>
Date: Mon Feb 11, 2013 12:43 am
Subject: Re: [Clip] Re: Sorting map coordinates in reverse order
dpasseng
Send Email Send Email
 
I don't understand.  Give me before and after please.  Are you using the
first or second coordinate?  Do you mean descending or reverse the
entire string?

Unclear to me sorry.

On 2/10/2013 7:52 AM, Mike Breiding - Morgantown WV wrote:
>
> On 2/9/2013 8:02 PM, ntb-clips@yahoogroups.com wrote:
>
> Greetings Clipsters!
> I have about a thousand coordinates I would like to sort in reverse order.
> How would you suggest I go about that?
>
> Sample:
> -79.7962560949221,39.5034318624616,0
> -79.7963859014283,39.5034814389697,0
> -79.7970197879323,39.5037059595619,0
> -79.7979009449095,39.5040388009614,0
> -79.7984644303751,39.5042449905803,0
> -79.7989934019142,39.5044450976328,0

#23654 From: "codge34" <codge34@...>
Date: Wed Feb 13, 2013 7:54 am
Subject: Image archive
codge34
Send Email Send Email
 
I may be better off in NoteTab general, please let me know.
I was given an archive of over 2000 photos which I have just started to put on
the Net (about 200 so far). NotePad says I can create pages for an image
collection.  I want to find out how.
I have some knowledge of HTML, a little of CSS.  It appears I need to start by
creating a Clipbook.  I have once created an external style sheet for a few HTML
pages but that is all. Where do I look to get going?
My NotePad Pro is new so I am a bit overwhelmed by detail.

#23655 From: Axel Berger <Axel-Berger@...>
Date: Wed Feb 13, 2013 1:03 pm
Subject: Re: [Clip] Image archive
absalom_nemini
Send Email Send Email
 
codge34 wrote:
> pages for an image collection.  I want to find out how.
> I have some knowledge of HTML, a little of CSS.

Take a look at Irfanview, which does quite a good job of doing it on its
own. I have some clips for modifying the results. If you like, take a
look at
http://familie.berger-odenthal.de/Tews/AlbumMuttiStudiumBeige/Bilder/
and vary the window width. Making images flow like text instead of
enforcing a fixed width is easy, doing the same for images with captions
gets a bit more tricky.

By the way all the captions are included into the full size high quality
images as Jpeg-commentaries. That way I can generate all smaller size
images and all captions automatically.

Axel

#23656 From: Art Kocsis <artkns@...>
Date: Thu Feb 14, 2013 6:35 am
Subject: Re: [Clip] Image archive
artkns
Send Email Send Email
 
At 02-13-2013 05:03, Axel wrote:
>Take a look at Irfanview, which does quite a good job of doing it on its
>own. I have some clips for modifying the results. If you like, take a
>look at
><http://familie.berger-odenthal.de/Tews/AlbumMuttiStudiumBeige/Bilder/>http://f\
amilie.berger-odenthal.de/Tews/AlbumMuttiStudiumBeige/Bilder/
>and vary the window width. Making images flow like text instead of
>enforcing a fixed width is easy, doing the same for images with captions
>gets a bit more tricky.
>
>By the way all the captions are included into the full size high quality
>images as Jpeg-commentaries. That way I can generate all smaller size
>images and all captions automatically.

Axel,

Did you enter all of the image comments manually or is there a way to use
Irfanview to do enter them?

I haven't used Irfanview in over four years (I use Xnview), so I haven't kept up
with any changes. Reading through the Irfanview help file I see where it has
quite an extensive command line functionality. I have no need for that but I can
see where it would be very useful feature for clips. XNview OTOH has a much
better GUI. It features an integrated browser with both tree view and thumbnails
plus tabs for multiple full image views. This is more effective for interactive
usage. The actual image format support, viewing, processing, converting, etc are
pretty much the same in both apps. Since they are both free for home use I will
leave both installed.

In further perusing of their help files I was surprised by the differences in
the metadata content (and lack thereof), of the various image file formats.
Especially among the main ones: png, jpg, gif, tif & bmp. Irfanview gives
detailed definitions of the individual metadata parameters, XNview covers a
broader viewpoint with a bit of history thrown in. For example, I had assumed
that the EXIF format was an industry standard. It is .... sorta. It was created
by a Japanese association in the 90s and was last revised in 2002. However, it
is no longer being maintained by anyone but only going on by inertia.

Art

#23657 From: Axel Berger <Axel-Berger@...>
Date: Thu Feb 14, 2013 1:37 pm
Subject: Re: [Clip] Image archive
absalom_nemini
Send Email Send Email
 
Art Kocsis wrote:
> Did you enter all of the image comments manually or is there a
> way to use Irfanview to do enter them?

Both. Naturally I had to write them all, but Irfanview helps:
<I><C> opens the comment entry and <Alt><W> writes it. <Space> goes to
the next image.

> an extensive command line functionality. I have no need for that
> but I can see where it would be very useful feature for clips.

Just an example: As a LaTeX user I'm deeply convinced, that my results
are vastly superiour to anybody else's. Thus it pained me that my
presentations and to a lesser amouts theses were giant files. Microsoft
can scale down included images, LaTeX can't. I slighly changed the log
file format to not only name inserted images but give their final size
(in pt, equivalent to inches). From that I let clips automatically
generate a batch file. When run that uses Irfanview to resize all images
to the required size for a given resolution in dpi, Jpeg to 95 %, Pings
to 256 colours. It then compares the resized image to the original and
if not smaller, the former is deleted. (Happens with low quality Jpegs
and line drawings.)

Few clicks, all automatic, nice result.

Axel

#23658 From: loro <tabbie@...>
Date: Fri Feb 15, 2013 10:31 pm
Subject: Re: [Clip] Image archive
yastupidhoo
Send Email Send Email
 
codge34 wrote:
>NotePad says I can create pages for an image collection.  I want to
>find out how

I know you have gotten other answers already, but that probably
refers to a clip called Images to HTML that's found the Utilities
library that ships with Notetab. The result isn't very intriguing
though, but that's a matter of basic and old style HTML. It's meant
to demonstrate the Notetab bit, how to get all the file names and so
on, the look of the page can be changed.

Lotta

#23659 From: "joy8388608" <mycroftj@...>
Date: Mon Feb 18, 2013 8:03 pm
Subject: I uploaded a clip "Remember Place in Outline" some might find useful
joy8388608
Send Email Send Email
 
I just uploaded a clip I wrote to what seems to be the Notetab file sharing area
http://tech.groups.yahoo.com/group/ntb-clips/files/. I never tried this before
so please let me know if I did it incorrectly, there is a better way, etc.

There were recently questions on how to have NT remember cursor positions in
outline topics that have been visited and some simple solutions were given. It
sounded like a problem in need of a solution so I wrote a clip to do just that.

If you use the clip to switch from topic to topic, the cursor will be where you
left it when going back to a previously visited topic. It works for multiple
outlines at a time and remembers until changing libraries which clears
variables.

Slight modifications are needed if you don't have version 7.0 or above since I
used the new syntax of StrReplace.

Here is what I think is the direct link and also the name of the file if you
can't get the link to work.

Remember Place in Outline.txt

http://f1.grp.yahoofs.com/v1/6IUiUcEJq3sTOhrECJqPwIxhFuMSRVXdzo4g9rVzF0TeIBwRpX0\
ka73RTf99AVn_2IeamC-C4N2Q4yLfhz8-200vGbm7Tydr/Remember%20Place%20in%20Outline.tx\
t

Joy

#23660 From: Alec Burgess <buralex@...>
Date: Mon Feb 18, 2013 10:04 pm
Subject: Re: [Clip] I uploaded a clip "Remember Place in Outline" some might find useful
alecb3ca
Send Email Send Email
 
Hi Joy: just FYI for future uploads to files section of the group.
The link you gave is specific to you or others using the same yahoo
server. In general it won't work for others and might not work for you
in the future.

To construct a link usable by anyone join the files section URL (or
files section/subfolder URL) with the file name.
Hence: http://tech.groups.yahoo.com/group/ntb-clips/files/ +
Remember%20Place%20in%20Outline.txt  =
http://tech.groups.yahoo.com/group/ntb-clips/files/Remember%20Place%20in%20Outli\
ne.txt


Also, avoiding spaces which get replaced by %20 in file names is a good
thing (tm). I normally use camel case:
RememberPlaceInOutline.txt or underscores.

On 2013-02-18 15:03, joy8388608 wrote:
> Here is what I think is the direct link and also the name of the file
> if you can't get the link to work.
>
> Remember Place in Outline.txt
>
>
http://f1.grp.yahoofs.com/v1/6IUiUcEJq3sTOhrECJqPwIxhFuMSRVXdzo4g9rVzF0TeIBwRpX0\
ka73RTf99AVn_2IeamC-C4N2Q4yLfhz8-200vGbm7Tydr/Remember%20Place%20in%20Outline.tx\
t

--
Regards ... Alec (buralex@gmail & WinLiveMess - alec.m.burgess@skype)

#23661 From: bruce.somers@...
Date: Mon Feb 18, 2013 11:44 pm
Subject: Trivial clip
bruce.somers
Send Email Send Email
 
Greetinge!

I have a very simple problem that certainly should be solvable with the help of
NoteTab Clips. I haven't been successful in extracting information from the Help
facility. As usual, those who know what to look for, need no help!
 
I want simply to select the entire text of each line of an open file, and append
that text to that same line, that is, I want to tranform 

This is line one
This one is line two
This is line three

into

This is line one This is line one
This one is line two This one is line two
This is line three This is line three

If some kind soul will show me how to do that, I'll try to develop from there.

Many thanks for any assistance.

Bruce

#23662 From: "John Shotsky" <jshotsky@...>
Date: Mon Feb 18, 2013 11:55 pm
Subject: RE: [Clip] Trivial clip
shotsky1
Send Email Send Email
 
The following should do what you request:
^!Replace "^(.+)\K$" >> "\x20$1" ARSW

Regards,
John
RecipeTools Web Site:  <http://recipetools.gotdns.com/>
http://recipetools.gotdns.com/
John's Mags Yahoo Group:   <http://groups.yahoo.com/group/johnsmags/>
http://groups.yahoo.com/group/johnsmags/

From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of
bruce.somers@...
Sent: Monday, February 18, 2013 15:45
To: ntb-clips@yahoogroups.com
Subject: [Clip] Trivial clip



Greetinge!

I have a very simple problem that certainly should be solvable with the help of
NoteTab Clips. I haven't been successful in extracting information from the Help
facility. As usual, those who know what to look for, need no help!

I want simply to select the entire text of each line of an open file, and append
that text to that same line, that is, I want to tranform

This is line one
This one is line two
This is line three

into

This is line one This is line one
This one is line two This one is line two
This is line three This is line three

If some kind soul will show me how to do that, I'll try to develop from there.

Many thanks for any assistance.

Bruce



[Non-text portions of this message have been removed]

#23663 From: "joy8388608" <mycroftj@...>
Date: Tue Feb 19, 2013 12:59 am
Subject: Re: [Clip] I uploaded a clip "Remember Place in Outline" some might find useful
joy8388608
Send Email Send Email
 
Thank you, Alec. I appreciate you telling me (us) and it's good advice about the
spaces.

While we're on the subject, are there any rules or standards as to what
could\should be uploaded to this place and what format (.txt, .zip, etc) and
name it should have?

Joy


--- In ntb-clips@yahoogroups.com, Alec Burgess <buralex@...> wrote:
>
> Hi Joy: just FYI for future uploads to files section of the group.
> The link you gave is specific to you or others using the same yahoo
> server. In general it won't work for others and might not work for you
> in the future.
>
> To construct a link usable by anyone join the files section URL (or
> files section/subfolder URL) with the file name.
> Hence: http://tech.groups.yahoo.com/group/ntb-clips/files/ +
> Remember%20Place%20in%20Outline.txt  =
>
http://tech.groups.yahoo.com/group/ntb-clips/files/Remember%20Place%20in%20Outli\
ne.txt
>
>
> Also, avoiding spaces which get replaced by %20 in file names is a good
> thing (tm). I normally use camel case:
> RememberPlaceInOutline.txt or underscores.
>
> On 2013-02-18 15:03, joy8388608 wrote:
> > Here is what I think is the direct link and also the name of the file
> > if you can't get the link to work.
> >
> > Remember Place in Outline.txt
> >
> >
http://f1.grp.yahoofs.com/v1/6IUiUcEJq3sTOhrECJqPwIxhFuMSRVXdzo4g9rVzF0TeIBwRpX0\
ka73RTf99AVn_2IeamC-C4N2Q4yLfhz8-200vGbm7Tydr/Remember%20Place%20in%20Outline.tx\
t
>
> --
> Regards ... Alec (buralex@gmail & WinLiveMess - alec.m.burgess@skype)
>

#23664 From: Ian NTnerd <indiamcq@...>
Date: Tue Feb 19, 2013 4:19 am
Subject: Re: [Clip] Trivial clip
indiamcq
Send Email Send Email
 
I'm no ReGex expert but shouldn't there be two $1 in the output. I think
it is just a typo and he meant,

^!Replace "^(.+)\K$" >> "$1\x20$1" ARSW

No time to test it.

Ian

On 19/02/2013 7:55 AM, John Shotsky wrote:
>
> The following should do what you request:
> ^!Replace "^(.+)\K$" >> "\x20$1" ARSW
>
> Regards,
> John
> RecipeTools Web Site: http://recipetools.gotdns.com/>
> http://recipetools.gotdns.com/
> John's Mags Yahoo Group: http://groups.yahoo.com/group/johnsmags/>
> http://groups.yahoo.com/group/johnsmags/
>
> From: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
> [mailto:ntb-clips@yahoogroups.com
> <mailto:ntb-clips%40yahoogroups.com>] On Behalf Of bruce.somers@...
> <mailto:bruce.somers%40web.de>
> Sent: Monday, February 18, 2013 15:45
> To: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
> Subject: [Clip] Trivial clip
>
>
>
> Greetinge!
>
> I have a very simple problem that certainly should be solvable with
> the help of NoteTab Clips. I haven't been successful in extracting
> information from the Help facility. As usual, those who know what to
> look for, need no help!
>
> I want simply to select the entire text of each line of an open file,
> and append that text to that same line, that is, I want to tranform
>
> This is line one
> This one is line two
> This is line three
>
> into
>
> This is line one This is line one
> This one is line two This one is line two
> This is line three This is line three
>
> If some kind soul will show me how to do that, I'll try to develop
> from there.
>
> Many thanks for any assistance.
>
> Bruce
>
> [Non-text portions of this message have been removed]
>
>



[Non-text portions of this message have been removed]

#23665 From: "John Shotsky" <jshotsky@...>
Date: Tue Feb 19, 2013 4:35 am
Subject: RE: [Clip] Trivial clip
shotsky1
Send Email Send Email
 
No, the \K means to leave the first one in place. No need to copy what is
already there.

Regards,
John
RecipeTools Web Site:  <http://recipetools.gotdns.com/>
http://recipetools.gotdns.com/
John's Mags Yahoo Group:   <http://groups.yahoo.com/group/johnsmags/>
http://groups.yahoo.com/group/johnsmags/

From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of
Ian NTnerd
Sent: Monday, February 18, 2013 20:20
To: ntb-clips@yahoogroups.com
Subject: Re: [Clip] Trivial clip


I'm no ReGex expert but shouldn't there be two $1 in the output. I think
it is just a typo and he meant,

^!Replace "^(.+)\K$" >> "$1\x20$1" ARSW

No time to test it.

Ian

On 19/02/2013 7:55 AM, John Shotsky wrote:
>
> The following should do what you request:
> ^!Replace "^(.+)\K$" >> "\x20$1" ARSW
>
> Regards,
> John
> RecipeTools Web Site: http://recipetools.gotdns.com/>
> http://recipetools.gotdns.com/
> John's Mags Yahoo Group: http://groups.yahoo.com/group/johnsmags/>
> http://groups.yahoo.com/group/johnsmags/
>
> From: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
> [mailto:ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
> ] On Behalf Of bruce.somers@... <mailto:bruce.somers%40web.de>
>
> Sent: Monday, February 18, 2013 15:45
> To: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
> Subject: [Clip] Trivial clip
>
>
>
> Greetinge!
>
> I have a very simple problem that certainly should be solvable with
> the help of NoteTab Clips. I haven't been successful in extracting
> information from the Help facility. As usual, those who know what to
> look for, need no help!
>
> I want simply to select the entire text of each line of an open file,
> and append that text to that same line, that is, I want to tranform
>
> This is line one
> This one is line two
> This is line three
>
> into
>
> This is line one This is line one
> This one is line two This one is line two
> This is line three This is line three
>
> If some kind soul will show me how to do that, I'll try to develop
> from there.
>
> Many thanks for any assistance.
>
> Bruce
>
> [Non-text portions of this message have been removed]
>
>

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]

#23666 From: Alec Burgess <buralex@...>
Date: Tue Feb 19, 2013 4:52 am
Subject: Re: [Clip] Trivial clip
alecb3ca
Send Email Send Email
 
Actually Ian, John has it correctly though I probably would have done it
the way you suggest.
The \K escape sequence erases anything that has been found up to the
place it appears but leaves any previously established groups available
for use in replacement.

from Google [pcre escape sequence "\K"]
http://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions
I know what follows is somewhere(?) in Notetab - Help - Help on Regular
Expressions but its hard to search for \K

     Look-ahead and look-behind assertions
     Patterns may assert that previous text or subsequent text contains a
     pattern without consuming matched text (zero-width assertion). For
     example, /\w+(?=\t)/ matches a word followed by a tab, without
     including the tab.
     Look-behind assertions cannot be of uncertain length.
     Since version 7.2, \K can be used in a pattern to reset the start of
     the current whole match. This provides a flexible alternative
     approach to look-behind assertions because the discarded part of the
     match (the part that precedes \K) need not be fixed in length.

FWIW: I tested it just to be sure - if you use the Replace dialog and
step through with [Find] you see nothing apparently selected but each
[Replace] doubles the line. (Thx Flo, I think for finally ramming \K
usage through my head - once grokked it can prove very useful)

On 2013-02-18 23:19, Ian NTnerd wrote:
> I'm no ReGex expert but shouldn't there be two $1 in the output. I think
> it is just a typo and he meant,
>
> ^!Replace "^(.+)\K$" >> "$1\x20$1" ARSW
>
> No time to test it.
>
> Ian
>
> On 19/02/2013 7:55 AM, John Shotsky wrote:
> >
> > The following should do what you request:
> > ^!Replace "^(.+)\K$" >> "\x20$1" ARSW
--
Regards ... Alec (buralex@gmail & WinLiveMess - alec.m.burgess@skype)


[Non-text portions of this message have been removed]

#23667 From: Art Kocsis <artkns@...>
Date: Tue Feb 19, 2013 5:05 am
Subject: Re: [Clip] I uploaded a clip "Remember Place in Outline" some might find useful
artkns
Send Email Send Email
 
At 02-18-2013 14:04, Alec wrote:
>I normally use camel case: RememberPlaceInOutline.txt ...

Interesting. There's a name for that.

It is one you made up or have I just been in the dark all these years?

Art

#23668 From: Alec Burgess <buralex@...>
Date: Tue Feb 19, 2013 7:00 am
Subject: Re: [Clip] I uploaded a clip "Remember Place in Outline" some might find useful
alecb3ca
Send Email Send Email
 
<http://en.wikipedia.org/wiki/CamelCase>http://en.wikipedia.org/wiki/CamelCase

I think I first encountered it used to describe titles of Wiki articles
which generally may not contain spaces (in particular Wikipedia) but per
the article its been used in other circumstances (eg. salt = NaCl) for
quite a long time.

On 2013-02-19 00:05, Art Kocsis wrote:
> At 02-18-2013 14:04, Alec wrote:
> >I normally use camel case: RememberPlaceInOutline.txt ...
>
> Interesting. There's a name for that.
>
> It is one you made up or have I just been in the dark all these years?
--
Regards ... Alec (buralex@gmail & WinLiveMess - alec.m.burgess@skype)


[Non-text portions of this message have been removed]

#23669 From: Ian NTnerd <indiamcq@...>
Date: Tue Feb 19, 2013 2:25 pm
Subject: Re: [Clip] Trivial clip
indiamcq
Send Email Send Email
 
Thanks, another RE dark art revealed.

Ian

On 19/02/2013 12:35 PM, John Shotsky wrote:
>
> No, the \K means to leave the first one in place. No need to copy what
> is already there.
>
> Regards,
> John
> RecipeTools Web Site: http://recipetools.gotdns.com/>
> http://recipetools.gotdns.com/
> John's Mags Yahoo Group: http://groups.yahoo.com/group/johnsmags/>
> http://groups.yahoo.com/group/johnsmags/
>
> From: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
> [mailto:ntb-clips@yahoogroups.com
> <mailto:ntb-clips%40yahoogroups.com>] On Behalf Of Ian NTnerd
> Sent: Monday, February 18, 2013 20:20
> To: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
> Subject: Re: [Clip] Trivial clip
>
>
> I'm no ReGex expert but shouldn't there be two $1 in the output. I think
> it is just a typo and he meant,
>
> ^!Replace "^(.+)\K$" >> "$1\x20$1" ARSW
>
> No time to test it.
>
> Ian
>
> On 19/02/2013 7:55 AM, John Shotsky wrote:
> >
> > The following should do what you request:
> > ^!Replace "^(.+)\K$" >> "\x20$1" ARSW
> >
> > Regards,
> > John
> > RecipeTools Web Site: http://recipetools.gotdns.com/>
> > http://recipetools.gotdns.com/
> > John's Mags Yahoo Group: http://groups.yahoo.com/group/johnsmags/>
> > http://groups.yahoo.com/group/johnsmags/
> >
> > From: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
> > [mailto:ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
> > ] On Behalf Of bruce.somers@... <mailto:bruce.somers%40web.de>
> >
> > Sent: Monday, February 18, 2013 15:45
> > To: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
> > Subject: [Clip] Trivial clip
> >
> >
> >
> > Greetinge!
> >
> > I have a very simple problem that certainly should be solvable with
> > the help of NoteTab Clips. I haven't been successful in extracting
> > information from the Help facility. As usual, those who know what to
> > look for, need no help!
> >
> > I want simply to select the entire text of each line of an open file,
> > and append that text to that same line, that is, I want to tranform
> >
> > This is line one
> > This one is line two
> > This is line three
> >
> > into
> >
> > This is line one This is line one
> > This one is line two This one is line two
> > This is line three This is line three
> >
> > If some kind soul will show me how to do that, I'll try to develop
> > from there.
> >
> > Many thanks for any assistance.
> >
> > Bruce
> >
> > [Non-text portions of this message have been removed]
> >
> >
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>



[Non-text portions of this message have been removed]

#23670 From: bruce.somers@...
Date: Sat Feb 23, 2013 9:43 pm
Subject: Re: [Clip] Trivial clip
bruce.somers
Send Email Send Email
 
I  seem to have misunderstood.

I assumed that the command  ^!Replace "^(.+)\K$" >> "$1\x20$1" ARSW  was to be
pasted into the  'Reg Expr'-field of the 'Find and Replace' dialog box. But
that leads to the nessage

'^!Replace "^(.+)\K$" >> "$1\x20$1" ARSW'  not found between current position
and end of document.

I must be way off base.

Bruce


On 19/02/2013 7:55 AM, John Shotsky wrote:
>
> The following should do what you request:
> ^!Replace "^(.+)\K$" >> "\x20$1" ARSW

#23671 From: "John Shotsky" <jshotsky@...>
Date: Sat Feb 23, 2013 9:54 pm
Subject: RE: [Clip] Trivial clip
shotsky1
Send Email Send Email
 
It was written as a clip that you can use whenever you want. If you want to use
the dialog, you would place
^(.+)\K$
in the find dialog and
\x20$1
in the replace dialog.
Make sure the dropdown is set for regular expressions, then 'Replace All'.

Regards,
John
RecipeTools Web Site:  <http://recipetools.gotdns.com/>
http://recipetools.gotdns.com/
John's Mags Yahoo Group:   <http://groups.yahoo.com/group/johnsmags/>
http://groups.yahoo.com/group/johnsmags/

From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of
bruce.somers@...
Sent: Saturday, February 23, 2013 13:44
To: ntb-clips@yahoogroups.com
Subject: Re: [Clip] Trivial clip


I  seem to have misunderstood.

I assumed that the command  ^!Replace "^(.+)\K$" >> "$1\x20$1" ARSW  was to be
pasted into the  'Reg Expr'-field of the 'Find and Replace' dialog box. But that
leads to the nessage

'^!Replace "^(.+)\K$" >> "$1\x20$1" ARSW'  not found between current position
and end of document.

I must be way off base.

Bruce

On 19/02/2013 7:55 AM, John Shotsky wrote:
>
> The following should do what you request:
> ^!Replace "^(.+)\K$" >> "\x20$1" ARSW



[Non-text portions of this message have been removed]

Messages 23642 - 23671 of 23887   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help