Re: [Clip] deleting duplicate lines
Jean-Francois's tip about View -> Options -> Tools ->Sort Removes Duplicates definitely worked as a manual way to sort and remove duplicate lines.
I tried the StrSort statement but could not get it to work.
First of all, the StrSort statement did not turn blue (valid) as with other Notetab statements.
Second, I was not sure how to grab all the lines I extracted. I tried this thinking that my %Lines% variable was still active.
That did not work.
Then I tried:
But this resulted in nothing in the new file but the StrSort statement.
What is wrong? The StrSort statement does not seem to be working for me.
--- In email@example.com, Axel Berger <Axel-Berger@...> wrote:
> Jean-François Colas wrote:
> > However I can't help for using this setting in clip if you don't want NT
> > to behave that way all the time.
> (added in v4.52)
Thanks for the correction. The clip now works perfectly.
I am still puzzled as to why the ^$StrSort statement does not turn blue as with other NoteTab statements.
Is there something different about statements that begin with ^$ compared with ^! statements?
--- In firstname.lastname@example.org, Don <don@...> wrote:
> ^!Select all
> On 11/3/2011 4:13 PM, m_frascinella wrote:
> > ^!Select all
> > ^$StrSort("^$GetClipboard$";False;true;true)$
- m_frascinella wrote:
> Is there something different about statements that beginYes, ^$ is a function not a command. What Don gave works, but the
> with ^$ compared with ^! statements?
canonical correct use would have been either
You can omit the ^!InsertText, but you ought not to.