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 12449 - 12478 of 23823   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#12449 From: ntb-clips@yahoogroups.com
Date: Sun Sep 5, 2004 10:57 am
Subject: New file uploaded to ntb-clips
ntb-clips@yahoogroups.com
Send Email Send Email
 
Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the ntb-clips
group.

   File        : /AsciiGames.clb
   Uploaded by : giannis_rho <giannis_rho@...>
   Description : Snake and SlotMachine.

You can access this file at the URL:
http://groups.yahoo.com/group/ntb-clips/files/AsciiGames.clb

To learn more about file sharing for your group, please visit:
http://help.yahoo.com/help/us/groups/files

Regards,

giannis_rho <giannis_rho@...>

#12450 From: Alan <acumming@...>
Date: Sun Sep 5, 2004 8:15 pm
Subject: Re: [Clip] Easier Date Question
acummingsus
Send Email Send Email
 
Alan C. wrote:
> On Fri, 03 Sep 2004 15:48:59 -0700, Alan wrote:
>> Hi,
> [ snip ie see my former post for it has the date-manip clip that's talked
about next ]

In the effort to create/build, I'd copied parts from others of my clips,
pasted in, then modified to suite the current clip writing in progress.

Due to that as well as it's not good practice to have a variable that
never gets used . . ..  Of course, it does works fine as it was/is.  But
for those who would opt to change it, then:

^!Set %Count%=^%alphalist0%
^!Set %emer_exit%=^%Count%
^!Inc %emer_exit% 4

Those above three code lines could be removed and then the next two code
lines inserted as a replacement (%Count% never gets used except to dump
off into %emer_exit%).

^!Set %emer_exit%=^%alphalist0%
^!Inc %emer_exit% 4

; ---end--

BTW:  Sometimes during creating a clip I don't get my thinking modified
fast enough (so as to keep up with what it is that I'm doing).  IOW, I
need visual aid.

So, the scramble to quickly get from clip idea, get the idea down and
out in front of me in the editor so that I can see it.  (idea retention
can come and go, sometimes rather quickly, like birds in flight coming
and going).  Though I haven't yet, I guess I could speak it (the idea)
into a cassette tape for subsequent perusal if needed.

Yes, psuedo code is good.  So is "chunking it down" (dividing the big up
into smaller pieces) then do a piece at a time.

--
Alan.

#12451 From: "Roy Herring" <roynancy@...>
Date: Sun Sep 5, 2004 10:23 pm
Subject: Change the directory of the Quicklist
roynancy@...
Send Email Send Email
 
Is it possible, in a clip, to change the directory of the Quicklist (File List)?
For example, to change it to C:\1\RH\*.*.
I know that ^!Keyboard Shift+F7 will take me to it, but I am lost from there.

Thank you,
Roy


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

#12452 From: melchior prisi <mprisi@...>
Date: Mon Sep 6, 2004 5:26 am
Subject: Re: [Clip] Change the directory of the Quicklist
swyft2001
Send Email Send Email
 
Hi Roy,
----- on 06.09.2004 00:23 Roy Herring wrote:
> Is it possible, in a clip, to change the directory of the Quicklist (File
List)?
> For example, to change it to C:\1\RH\*.*.

I use the following to open the quicklist
with the directory of the open document.

You can set %path% to any directory you like.


H="QuicklistHere"
^!Set %path%=^$GetPath(^$getdocname$)$
^!Append %path%=*.*
^!SetClipboard ^%path%
;--- long line follows:
^!Keyboard Alt+T L K &200 Shift+F7 &200 ctrl+F6 &200 Delete &200 Ctrl+V
&200 Enter
;--- end of long line; end of clip

The "&200"s in the keyboard command are delays which
you might have to adjust depending your machines speed.
(&200 means 200 milliseconds)


Regards

Melchior




--
http://loc.alphazwirbel.net
http://orp.alphazwirbel.net

#12453 From: melchior prisi <mprisi@...>
Date: Mon Sep 6, 2004 6:24 am
Subject: Re: [Clip] New file uploaded to ntb-clips
swyft2001
Send Email Send Email
 
Hi Giannis,
----- on 05.09.2004 12:57 ntb-clips@yahoogroups.com wrote:
>   File        : /AsciiGames.clb
>   Uploaded by : giannis_rho <giannis_rho@...>
>   Description : Snake and SlotMachine.
> You can access this file at the URL:
> http://groups.yahoo.com/group/ntb-clips/files/AsciiGames.clb
> giannis_rho <giannis_rho@...>

Nice :-)


Melchior



--
http://loc.alphazwirbel.net
http://orp.alphazwirbel.net

#12454 From: "Roy Herring" <roynancy@...>
Date: Mon Sep 6, 2004 3:37 pm
Subject: Re: [Clip] Change the directory of the Quicklist
roynancy@...
Send Email Send Email
 
EXACTLY what I needed, Melchior.

Thanks much,

Roy


> Hi Roy,
> ----- on 06.09.2004 00:23 Roy Herring wrote:
> > Is it possible, in a clip, to change the directory of the Quicklist
(File List)?
> > For example, to change it to C:\1\RH\*.*.
>
> I use the following to open the quicklist
> with the directory of the open document.
>
> You can set %path% to any directory you like.
>
>
> H="QuicklistHere"
> ^!Set %path%=^$GetPath(^$getdocname$)$
> ^!Append %path%=*.*
> ^!SetClipboard ^%path%
> ;--- long line follows:
> ^!Keyboard Alt+T L K &200 Shift+F7 &200 ctrl+F6 &200 Delete &200 Ctrl+V
> &200 Enter
> ;--- end of long line; end of clip
>
> The "&200"s in the keyboard command are delays which
> you might have to adjust depending your machines speed.
> (&200 means 200 milliseconds)
>
>
> Regards
>
> Melchior

#12455 From: "Roy Herring" <roynancy@...>
Date: Mon Sep 6, 2004 4:16 pm
Subject: Re: [Clip] One more question-Change the directory of the Quicklist
roynancy@...
Send Email Send Email
 
One more question that has me puzzled, Melchior.

Your clip works perfectly.

But if I try the keys manually (Alt+T L K, Shift+F7, ctrl+F6),
the ctrl+F6 seems to shift focus away from Notetab and does nothing to the
file list.
Is there something strange about ctrl+F6 that can only be done in a clip?

Thanks,
Roy

----- Original Message -----
From: "melchior prisi" <mprisi@...>
To: <ntb-clips@yahoogroups.com>
Sent: Sunday, September 05, 2004 11:26 PM
Subject: Re: [Clip] Change the directory of the Quicklist


> Hi Roy,
> ----- on 06.09.2004 00:23 Roy Herring wrote:
> > Is it possible, in a clip, to change the directory of the Quicklist
(File List)?
> > For example, to change it to C:\1\RH\*.*.
>
> I use the following to open the quicklist
> with the directory of the open document.
>
> You can set %path% to any directory you like.
>
>
> H="QuicklistHere"
> ^!Set %path%=^$GetPath(^$getdocname$)$
> ^!Append %path%=*.*
> ^!SetClipboard ^%path%
> ;--- long line follows:
> ^!Keyboard Alt+T L K &200 Shift+F7 &200 ctrl+F6 &200 Delete &200 Ctrl+V
> &200 Enter
> ;--- end of long line; end of clip
>
> The "&200"s in the keyboard command are delays which
> you might have to adjust depending your machines speed.
> (&200 means 200 milliseconds)
>
>
> Regards
>
> Melchior
>
>
>
>
> --
> http://loc.alphazwirbel.net
> http://orp.alphazwirbel.net
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>

#12456 From: melchior prisi <mprisi@...>
Date: Mon Sep 6, 2004 6:37 pm
Subject: Re: [Clip] One more question-Change the directory of the Quicklist
swyft2001
Send Email Send Email
 
Hi Roy,

Glad it works.

----- on 06.09.2004 18:16 Roy Herring wrote:
> Is there something strange about ctrl+F6 that can only be done in a clip?

No, but it's just of use if a list (clipbook or quicklist)
is open.

It goes like this:

;Set Quick List Properties to "Disk Files":
ALT+T L K

;Set focus to quicklist:
SHIFT+F7

;Set focus to directory-dropdwon on top of quicklist:
CTRL+F6

---

See also NoteTab help file on Keyboard shortcuts:

CHANGE FOCUS
To document               Ctrl+G
document <-> Clipbook     Shift+F4
document <-> list         Shift+F6
combo box <-> list        Ctrl+F6
document <-> QuickList    Shift+F7
Left <-> right document   Shift+Ctrl+G


Regards,

Melchior







--
http://loc.alphazwirbel.net
http://orp.alphazwirbel.net

#12457 From: "prlproductmanager" <rayellen.gilles@...>
Date: Wed Sep 8, 2004 4:55 am
Subject: Re: Easier Date Question
prlproductma...
Send Email Send Email
 
This works great.
Thank you so much!!!

Rayellen

--- In ntb-clips@yahoogroups.com, "Alan C." <acumming@c...> wrote:
> On Fri, 03 Sep 2004 15:48:59 -0700, Alan wrote:
> > Hi,
> [ . . ]
> >> For instance, in my doc, the date appears in any one of the
> >> following formats:
> >> March 01, 2004
> >> MAR 1 2004
> >> 03/01/2004
> >> 03/01/04
> >>
> >> I can select the string, set the variable, but then I need to
output
> >> the date in 2 places in 2 different formats:
> >> YYYY-MM-DD AND MM/DD/YYYY.
>
> The enclosed clip:
> 1. puts 12 months into array (alphalist)
> 2. replace each space with a /
> 2b. replace , with nothing
> 2c. puts the date string into a 3 item array (mdy)
> 3. works/processes separately on each ie mdy1, mdy2, mdy3
> 4. manipulates any and all digits during very first stage/section
of clip
> 5. soon then checks for an alpha string, checks for it on mdy1
> 6. if not alpha string, then finaloutput real quick like
> 7. or, if is yes alpha string then goto proc (process) alphaitem
(procalphaitem). this proc re loops, iterates, comparing each month
in alphalist to mdy1 (really at that point mdy1 is or has become:
mdy1 > alphaitem > MM).  if yes, a match, then substitutes the
correct digit replaces the alpha.  or, if not a match (foreign
calendar item, etc.) then emergency exits the loop, goes to error
message at bottom of clip.
> --
> March 01, 2004
> MAR 1 2004
> 03/01/2004
> 03/01/04
> October 03, 2004
> gaf 04, 2004
>
> from those, select a line, try the clip if you  like.
> the next clip also works if select that gaf month line there :-)
> (Well, ya never know - a Martian calendar might have or use
something like that) :-)
> longest clip line equals 59 characters.  Clip enclosed next.
>
> H="date-manip"
> ^!clearvariables
> ^!Set %Date%=^$GetSelection$
> ^!Set %Date%=^$StrReplace(" ";"/";"^%Date%";0;0)$
> ^!Set %Date%=^$StrReplace(",";"";"^%Date%";0;0)$
>
> ^!Append %alphalist%=jan;feb;mar;apr;may;jun;jul;aug
> ^!SetArray %alphalist%=^%alphalist%;sep;oct;nov;dec
>
> ^!SetListDelimiter /
> ^!SetArray %mdy%=^%Date%
> ; ^!Info ^%mdy1%~^%mdy2%~^%mdy3%
>
> ^!Set %DD%=^%mdy2%
> ^!Set %length%=^$StrSize("^%DD%")$
> ^!If ^%length% => 2 skip
> ^!Set %DD%=0^%DD%
>
> ^!Set %YYYY%=^%mdy3%
> ^!Set %length%=^$StrSize("^%YYYY%")$
> ^!If ^%length% => 4 skip
> ^!Set %YYYY%=20^%YYYY%
>
> ^!IfTrue ^$IsAlpha("^%mdy1%")$ procalphaitem
> ^!Set %MM%=^%mdy1%
>
> :finaloutput
> ^!Info ^%YYYY%-^%MM%-^%DD%^p^%MM%/^%DD%/^%YYYY%
> ^!clearvariables
> ^!Goto end
>
> :procalphaitem
> ^!Set %alphaitem%=^$StrCopyLeft("^%mdy1%";3)$
> ^!Set %alphaitem%=^$StrLower("^%alphaitem%")$
>
> ^!Set %Count%=^%alphalist0%
> ^!Set %emer_exit%=^%Count%
> ^!Inc %emer_exit% 4
> ^!Set %Index%=0
> :alpha2num
> ^!Inc %Index%
> ^!If ^%Index% > ^%emer_exit% message
> ^!IfSame "^%alphaitem%" "^%alphalist^%Index%%" alpha2digit
> ^!Goto alpha2num
>
> :alpha2digit
> ^!Set %MM%=^%Index%
> ^!Set %length%=^$StrSize("^%MM%")$
> ^!If ^%length% => 2 skip
> ^!Set %MM%=0^%MM%
> ^!Goto finaloutput
> :message
> ^!Info emergency exited due to no alpha match^pwrong input
> ;---<end_of_clip---
>
> --
> Alan.

#12458 From: "manon_purple" <manon_purple@...>
Date: Wed Sep 8, 2004 6:28 am
Subject: Re: [Clip] Clip to strip URL's only
manon_purple
Send Email Send Email
 
Hi Don, Yes please post. Thanks very much in advance!

--- In ntb-clips@yahoogroups.com, "Don Daugherty" <daugherty@k...>
wrote:
> You're welcome.  I do have an example to look at.  Let me know if
you need
> it posted.

#12459 From: "Don Daugherty" <daugherty@...>
Date: Wed Sep 8, 2004 3:13 pm
Subject: Re: [Clip] Clip to strip URL's only
dondaugherty...
Send Email Send Email
 
> Hi Don, Yes please post. Thanks very much in advance!
>

Ok, here goes.  The example clip that does the loading and editing is this:

; The following "Open" command needs to point to the correct location of the
library in question.
; Most users probably would have it on drive c:\, not d:\
^!Open "D:\Program Files\NoteTab Pro\Libraries\Test_Library.clb"
; Define %MyStart%, i.e., find and "label" start of desired section (of
clip)
^!Find "H=\"_OpenQPW\"\n" R
^!Jump Select_End
^!Set %MyStart%=^$GetRow$:^$GetCol$
; Define %MyFinish%, i.e., find and "label" finish of desired section (of
clip), and then Select the section.
; If you expect to carry-out more than one search/replace operation, the
following
; six lines would best be placed in a separate clip and called via the
^!Clip command.
^!SetCursor ^%MyStart%
^!Find "H=\"" R
^!Jump Select_Start
^!Set %MyFinish%=^$GetRow$:^$GetCol$
^!SetCursor ^%MyStart%
^!SelectTo ^%MyFinish%
; Carry out desired search/replace
^!Replace "KeyboardDelay 20" >> "Change-1^P" HA
; If you have additional search/replace operations to perform,
; rerun the six-line routine that defines %MyFinish% and selects the
section.
; Carry out next desired search and replace
; ...
^!Close Save
:End

The Library being edited (viewed as a document) is as follows:

= V5 MultiLine NoSorting TabWidth=30

H="Open Finance 2004"
^!Clip "OpenQPW" Finance2004.qpw


H="Open Finance 2003"
^!Clip "OpenQPW" Finance2003.qpw


H="OpenInvestments"
^!Clip "OpenQPW" Investments.qpw

H="_OpenQPW"
^!Set %Program%="D:\Program Files\Corel\WordPerfect Office
2002\Programs\QPW.exe"
^!Set %TBar%="Quattro*"
^!Set %Specific%="modified"
^!Clip "OpenOrFocusApp"
;KeyboardDelay 20
^!KeyboardDelay 20
;KeyboardDelay 20
;KeyboardDelay 20
;KeyboardDelay 20
^!Keyboard Ctrl+O
^!Delay 2
^!IfMatch "Open\sFile.*" "^$GetAppTitle$" Next Else Skip_-1
^!Keyboard #e:\MySpreadsheets\Finance\^&# Enter
^!Delay 2
^!IfMatch "Hotlinks" "^$GetAppTitle$" Next Else Skip_-1
^!Keyboard u Enter
^!Delay 10
^!Keyboard ALT+F2 #NonAutoBegin# Enter
^!MinimizeApp
^!FocusApp "^%TBar%"


H="Get Market Data"
;KeyboardDelay 20
;KeyboardDelay 20
;KeyboardDelay 20
;KeyboardDelay 20
^!Set %Path%="e:\MySpreadsheets\Finance\"
^!Clip "Choices"
^!If ^%Yahoo%>0 Next Else Skip
^!Clip "Get Yahoo"
^!If ^%Tnavs%>0 Next Else Skip
^!Clip "Get Cref NAVs"
^!If ^%Rrate%>0 Next Else Skip
^!Clip "Get Rukeyser Ratings"
^!If ^%Trate%>0 Next Else Skip
^!Clip "Get Cref Ratings"
^!If ^%M500%>0 Next Else Skip
^!Clip "Get Morningstar 500"
^!If ^%M2042%>0 Next Else Skip
^!Clip "Get Morningstar 2042"
^!Continue Process Market Data now?
^!Clip "Process Market Data"
:End

;KeyboardDelay 20
;KeyboardDelay 20
;KeyboardDelay 20

#12460 From: "manon_purple" <manon_purple@...>
Date: Fri Sep 10, 2004 8:55 pm
Subject: Re: [Clip] Clip to strip URL's only
manon_purple
Send Email Send Email
 
Don, thanks very much. A good one for learning and experimenting
with!

--- In ntb-clips@yahoogroups.com, "Don Daugherty" <daugherty@k...>
wrote:
> > Hi Don, Yes please post. Thanks very much in advance!
> >
>
> Ok, here goes.  The example clip that does the loading and editing
is this:
>

#12461 From: Robert <rdkelsey1113@...>
Date: Fri Sep 10, 2004 10:27 pm
Subject: Two files and duplicate removal from one file
rdkelsey1113
Send Email Send Email
 
Uh ... sorry for this posting on the wrong list. I am on both lists. I have
no clue how I did that!

I have experienced a senior moment. It isn't fun.

Anyway ... thanks in advance if you have a clip that will do this.

I have two tab delimited database files, a master list, and another "new"
list. I need to take the entries that are present in both lists out of the
"new" list, leaving all the other entries intact, and not doing anything to
the master list.

Thanks in advance, and again, sorry for posting to the wrong list.

--Robert

  > I need to remove all the lines in File B that exist in File A, leaving the
  > rest of File B intact.

I have a clip that might do what you want, but we really should move this to
the clips list.  Are you on that list?  If so I'll reply on it.

#12462 From: "Don Daugherty" <daugherty@...>
Date: Sat Sep 11, 2004 12:24 am
Subject: Re: [Clip] Two files and duplicate removal from one file
dondaugherty...
Send Email Send Email
 
> I have experienced a senior moment. It isn't fun.
Been there, done that!
>
> Anyway ... thanks in advance if you have a clip that will do this.
>
> I have two tab delimited database files, a master list, and another "new"
> list. I need to take the entries that are present in both lists out of the
> "new" list, leaving all the other entries intact, and not doing anything
to
> the master list.
>
Here goes:

Remove DupLines
^!Close ALL
^!Open ^?{(T=O,F="All Files|*.*")"Reference File (A)"}
^!SetWordWrap Off
^!Open ^?{(T=O,F="All Files|*.*")"Duplicates File (B)"}
^!SetWordWrap Off
^!Set %LineNbr%=^$GetLineCount$
^!Inc %LineNbr%
^!SetDebug ON
:Loop
^!Document LAST
^!Dec %LineNbr%
^!If ^%LineNbr%>=1 Next Else Finish
^!SetCursor=^%LineNbr%:1
^!Set %LineB%=^$GetLine()$
^!Document FIRST
^!Find "^%LineB%" WS
^!IfError Loop
^!Document LAST
^!DeleteLine
^!Goto Loop
:Finish
;^!Close Save
;^!Close
:End

Notes:
1.  I didn't have any sample files so haven't done much testing of this
clip.
2.  The two "^!Close" lines near the end are commented out so you can check
the clip operation before subjecting any of your files to permanent changes.
If it all works as desired, remove the semicolons.

#12463 From: "chsulka" <dti@...>
Date: Tue Sep 14, 2004 12:40 am
Subject: NTP function
chsulka
Send Email Send Email
 
Note Tab Experts:

      Is it possible to have NTP open various aps, either the
default ap for a file type, or an ap as listed in a look-up
table, and leave the tabbed (but empty) screen "open" until
that ap is closed, under NTP control, so to speak?  For example,
I want to select a JPG or WAV (or other file type) through the
NTP OPEN FILE dialog box, have the file name listed on an active
tab in NTP, but have a viewer, browser, or audio program
actually pop up and show the photo or play the sound clip.

Charles Sulka

#12464 From: "chsulka" <dti@...>
Date: Tue Sep 14, 2004 12:51 am
Subject: global file change
chsulka
Send Email Send Email
 
After using NTP for 10 years it's time I learned the CLIP
function.  I think I saw something in the past that would do
this, but I cannot locate the reference.  What I need to do:
I have folders with daily log files saved as LOGS\1994\010194.TXT
where 010194 is the January 1 entry for the year 1994 (DDMMYY).
I have years and years of countless files saved this way.  I
need to change all the files to the proper filing format, which
would be 19940101 (year, month, day, YYYYMMDD).  Isn't there
a clip out there that makes global changes like this?  Thanks.

Charles Sulka

#12465 From: Ed Brown <ebrown1927@...>
Date: Tue Sep 14, 2004 4:44 pm
Subject: Alphabetize CSS
horsefly_38866
Send Email Send Email
 
Is there a simple clip or other method of putting different sections of
my CSS in alphabetical order?  For instance I have the following:

p. q------
p. e----
p. r------
p.m-----
p.d-----
p.c-----

In the CSS I have body  first, the h1 through h5 next, followed by
div.m-----, div. r------- div.c------- div.d------
followed by blockquote, and then:
all the p's listed above and then :
a {text-decoration:none}

a.bar:link {color:#FFFFCC}

a.bar:visited {color:#FFFFCC}

a.bar:hover {color:red}

a.bar:active {color:yellow}

I am not sure the td {etc} does anything to the table td's. It does not
seem to work.

Must I do it all by hand.  The css is on weatherford-tx.org/mycss.css
it is the same.  I would like to simplify the CSS if possible.  And
being pushed by so many outside things that must be done now my time for
working on my web page is limited.  As is my clip knowledge.  I can
write simple clips and make changes in other clips --- most of the time
successful.
Thanks
Ed

#12466 From: "bizshop1" <steve@...>
Date: Tue Sep 14, 2004 8:09 pm
Subject: RegExp question
bizshop1
Send Email Send Email
 
I have as an example Veltkamp,Steve

What I want is Veltkamp','Steve
(I'm splitting a name field into first and last for db use)

I tried Find and Replace strings:
Find: ([A-Za-z]),([A-Za-z])
Replace: \1','\2

It works in Regex Coach, but in Notetab what I end up with is:
Veltkam','teve

What am I doing wrong?

#12467 From: Jody <kjv-av1611@...>
Date: Tue Sep 14, 2004 9:25 pm
Subject: Re: [Clip] NTP function
notetabber
Send Email Send Email
 
Hi Charles,

Glad to see you are looking into Clips after 10+years of NoteTab'n ;)
See below...

>     Is it possible to have NTP open various aps, either the
>default ap for a file type, or an ap as listed in a look-up
>table, and leave the tabbed (but empty) screen "open" until
>that ap is closed, under NTP control, so to speak?  For example,
>I want to select a JPG or WAV (or other file type) through the
>NTP OPEN FILE dialog box, have the file name listed on an active
>tab in NTP, but have a viewer, browser, or audio program
>actually pop up and show the photo or play the sound clip.

Yes, but the code is long an you must specify what program to use.
  From within a file such as an Outline which the code was originally
made for, but works in any file type, I think, :) Example:

[E:\Imaging\IView\i_view32.exe F:\EzImager\Samples\sample06.jpg]

You can use a wizard in a Clip to do the same. You can add a list
of programs to use in a wizard and the file types to filter. Example
of a few following. (I will have to write later with examples of
listing programs and also a Setup Clip so that one can configure
paths to programs for distribution of a Library.)

<---     Copy below this line     --->
H=View doc File
; eMailed on 09-14-2004, ntb-clips@yahoogroups.com, Jody
; notetab.net, clean-funnies.com, fookes.us, sojourner.us
; Specific program & document
^!"E:\Microsoft Office\Office10\winword.exe" "H:\sojourner\html\Eternal
Security.doc"

H=View File in MS Word
; eMailed on 09-14-2004, ntb-clips@yahoogroups.com, Jody
; notetab.net, clean-funnies.com, fookes.us, sojourner.us
; Specific program/Select full path or browse to
^!"E:\Microsoft Office\Office10\winword.exe" "^?{(T=O)Full path of
file=^$GetSelection$}"

H=Open File in External Program
; eMailed on 09-14-2004, ntb-clips@yahoogroups.com, Jody
; notetab.net, clean-funnies.com, fookes.us, sojourner.us
; Choose/browse to program/Select full path or browse to
^!"^?{(T=O)Program to open file with}" "^?{(T=O)Full path of
file=^$GetSelection$}"

H=View Image File
; eMailed on 09-14-2004, ntb-clips@yahoogroups.com, Jody
; notetab.net, clean-funnies.com, fookes.us, sojourner.us
; Specific program/selection or browse to
^!"E:\Imaging\IView\i_view32.exe" "^?{(T=O)Full path of image=^$GetSelection$}"


<---     Copy above this line     --->
<---  Right click over a Library  --->
<---  Choose: Add from Clipboard  --->



Happy Clip'n!
Jody

www.clean-funnies.com, http://www.fookes.us/maillist.htm

Subscribe: mailto:ntb-Clips-Subscribe@yahoogroups.com
UnSubscribe: mailto:ntb-Clips-UnSubscribe@yahoogroups.com
Options: http://groups.yahoo.com/group/ntb-clips

#12468 From: "Hugo Paulissen" <hugopaulissen@...>
Date: Tue Sep 14, 2004 9:43 pm
Subject: Re: RegExp question
hugo_paulissen
Send Email Send Email
 
Hi Steve,
>
> I tried Find and Replace strings:
> Find: ([A-Za-z]),([A-Za-z])
> Replace: \1','\2
>

You should use curly braces...

{[A-Za-z]},{[A-Za-z]}

Hugo

#12469 From: Scott Fordin <sfordin@...>
Date: Tue Sep 14, 2004 9:50 pm
Subject: Re: [Clip] Alphabetize CSS
sfordin2
Send Email Send Email
 
Ed Brown wrote:

> Is there a simple clip or other method of putting different sections of
> my CSS in alphabetical order?  For instance I have the following:

Ed,

By virtue of the way you have your CSS structured, would not
a simple Modify->Lines->Sort work for you? If not, it should
be easy enough to find the desired categories and sort them
recursively.

Scott

>
> p. q------
> p. e----
> p. r------
> p.m-----
> p.d-----
> p.c-----
>
> In the CSS I have body  first, the h1 through h5 next, followed by
> div.m-----, div. r------- div.c------- div.d------
> followed by blockquote, and then:
> all the p's listed above and then :
> a {text-decoration:none}
>
> a.bar:link {color:#FFFFCC}
>
> a.bar:visited {color:#FFFFCC}
>
> a.bar:hover {color:red}
>
> a.bar:active {color:yellow}
>
> I am not sure the td {etc} does anything to the table td's. It does not
> seem to work.
>
> Must I do it all by hand.  The css is on weatherford-tx.org/mycss.css
> it is the same.  I would like to simplify the CSS if possible.  And
> being pushed by so many outside things that must be done now my time for
> working on my web page is limited.  As is my clip knowledge.  I can
> write simple clips and make changes in other clips --- most of the time
> successful.
> Thanks
> Ed
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>

#12470 From: "Alec Burgess" <burale@...>
Date: Tue Sep 14, 2004 9:58 pm
Subject: Re: [Clip] RegExp question
alecb3ca
Send Email Send Email
 
Steve:

Notetab uses brace brackets where (AFAIK) most regexp programs use round
parentheses so:

Find: ([A-Za-z]),([A-Za-z]) sb:
Find: {[A-Za-z]},{[A-Za-z]} but also you haven't got a wild card - currently
you are only matching a single letter then comma then single letter

Try:
Find: {[A-Za-z]+},{[A-Za-z]+}

This would also work I think:
Find: {\w+},{\w+}

Just fyi, in other regexp implementations the brace brackets are used to
specify minimum or maximum length of matches (non-greedy) but unfortunately
this isn't supported by Notetab's regexps

Without the + signs I don't see how it could be working in Regex Coach - did
you perhaps just forget to include them? Anyway - the change to brace
brackets should do the trick.

Regards ... Alec
--


---- Original Message ----
From: "bizshop1" <steve@...>
To: <ntb-clips@yahoogroups.com>
Sent: Tuesday, September 14, 2004 16:09
Subject: [gla: [Clip] RegExp question

> I have as an example Veltkamp,Steve
>
> What I want is Veltkamp','Steve
> (I'm splitting a name field into first and last for db
> use)
>
> I tried Find and Replace strings:
> Find: ([A-Za-z]),([A-Za-z])
> Replace: \1','\2
>
> It works in Regex Coach, but in Notetab what I end up
> with is: Veltkam','teve
>
> What am I doing wrong?

#12471 From: loro <loro-spam01-@...>
Date: Tue Sep 14, 2004 10:10 pm
Subject: Re: [Clip] Alphabetize CSS
yastupidhoo
Send Email Send Email
 
Ed Brown wrote:
>Is there a simple clip or other method of putting different sections of
>my CSS in alphabetical order?  For instance I have the following:

Do you really want to do that? That could break some of your styles. I
didn't look too close, but your link styles would definitely not work if
sorted alphabetically. Anyhow, alphabetical is not a good way to sort style
rules since the order in which they are written is part of he cascade.

See point 4 here:
http://www.w3.org/TR/REC-CSS2/cascade.html#cascading-order

Lotta

#12472 From: "Alec Burgess" <burale@...>
Date: Tue Sep 14, 2004 10:50 pm
Subject: [Clip] Re: RegExp question
alecb3ca
Send Email Send Email
 
Steve:

Hugo's right - ignore my blathering about using "+" - wouldn't hurt but I
just realized that you only need the last/first letter to do this
replacement. :-(


Regards ... Alec
--


---- Original Message ----
From: "Hugo Paulissen" <hugopaulissen@...>
To: <ntb-clips@yahoogroups.com>
Sent: Tuesday, September 14, 2004 17:43
Subject: [gla: [Clip] Re: RegExp question

> Hi Steve,
>>
>> I tried Find and Replace strings:
>> Find: ([A-Za-z]),([A-Za-z])
>> Replace: \1','\2
>>
>
> You should use curly braces...
>
> {[A-Za-z]},{[A-Za-z]}
>
> Hugo
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> $9.95 domain names from Yahoo!.
> Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/dkFolB/TM
> --------------------------------------------------------------------~->
>
>
> Yahoo! Groups Links
>
>
>

#12473 From: Jody <kjv-av1611@...>
Date: Wed Sep 15, 2004 3:28 am
Subject: Re: [Clip] Re: RegExp question
notetabber
Send Email Send Email
 
Hi Alec,

Don't feel bad. After I had made mine with the "+" I noticed that
you sent it in already so I didn't send in mine with the
explanation about why "you" need to use it. <g> I think we are so
use to switching the order (first,last - last,first) that we
automatically though "+" :)

>Hugo's right - ignore my blathering about using "+" - wouldn't
>hurt but I just realized that you only need the last/first letter
>to do this replacement. :-(

>>> I tried Find and Replace strings:
>>> Find: ([A-Za-z]),([A-Za-z])
>>> Replace: \1','\2
>>>
>>
>> You should use curly braces...
>>
>> {[A-Za-z]},{[A-Za-z]}


Happy Clip'n!
Jody

www.clean-funnies.com, http://www.fookes.us/maillist.htm

Subscribe: mailto:ntb-Clips-Subscribe@yahoogroups.com
UnSubscribe: mailto:ntb-Clips-UnSubscribe@yahoogroups.com
Options: http://groups.yahoo.com/group/ntb-clips

#12474 From: "manon_purple" <manon_purple@...>
Date: Wed Sep 15, 2004 8:34 am
Subject: Re: Alphabetize CSS
manon_purple
Send Email Send Email
 
You might use TopStyle Light which has a StyleSweeper that you can
customize. It prevents messing up the stylesheet. Once installed
TopStyle is accessible via a clipbar in NoteTab.
There is a freeware version available at
http://www.bradsoft.com/topstyle/tslite/fullver.asp

best wishes


--- In ntb-clips@yahoogroups.com, Ed Brown <ebrown1927@c...> wrote:
> Is there a simple clip or other method of putting different
sections of
> my CSS in alphabetical order?  For instance I have the following:
>

#12475 From: Jody <kjv-av1611@...>
Date: Wed Sep 15, 2004 11:00 am
Subject: Re: [Clip] global file change
notetabber
Send Email Send Email
 
Hi Charles,

I haven't seen a Clip that will do what you want. It doesn't look
like an easy task to me. If your year digits are always two of
them, not the full four, and all your files are in one folder or
multiple folders I suppose (doing multiple one at a time) It
could be done without too much difficulty. I'm too brain dead now
to attempt it and have other things to take care of with
Hurricane Ivan heading for us.

I didn't want to see this wish get buried, because since you have
"countless" files that need renaming you certainly need a Clip to
do it. Well, maybe not. Look into Lupas Rename and RName-it to
see if they will handle it for you. They might just do it. You
need to discuss them on the Off Topic list though. Check out my
NoteTabbers Assistant Enhancers page or Addons - I forget the
exact name. <g> See the footers for the Off Topic list.

>What I need to do:
> I have folders with daily log files saved as
> LOGS\1994\010194.TXT where 010194 is the January 1 entry for
> the year 1994 (DDMMYY). I have years and years of countless
> files saved this way.  I need to change all the files to the
> proper filing format, which would be 19940101 (year, month,
> day, YYYYMMDD).  Isn't there a clip out there that makes global
> changes like this?  Thanks.

Happy Topics,
Jody

The NoteTab Off-Topic List
mailto:ntb-OffTopic-Subscribe@yahoogroups.com
mailto:ntb-OffTopic-UnSubscribe@yahoogroups.com
http://groups.yahoo.com/group/ntb-OffTopic
All Fookes Software mailing lists:
http://www.fookes.us/maillist.htm

#12476 From: "Alec Burgess" <burale@...>
Date: Wed Sep 15, 2004 2:49 pm
Subject: Re: [Clip] Re: Alphabetize CSS
alecb3ca
Send Email Send Email
 
I think you have to get the PRO version to get the stylesweeper.

Regards ... Alec
--


---- Original Message ----
From: "manon_purple" <manon_purple@...>
To: <ntb-clips@yahoogroups.com>
Sent: Wednesday, September 15, 2004 04:34
Subject: [gla: [Clip] Re: Alphabetize CSS

> You might use TopStyle Light which has a StyleSweeper
> that you can customize. It prevents messing up the
> stylesheet. Once installed TopStyle is accessible via a
> clipbar in NoteTab.
> There is a freeware version available at
> http://www.bradsoft.com/topstyle/tslite/fullver.asp
>
> best wishes
>
>
> --- In ntb-clips@yahoogroups.com, Ed Brown
> <ebrown1927@c...> wrote:
>> Is there a simple clip or other method of putting
>> different
> sections of
>> my CSS in alphabetical order?  For instance I have the
>> following:
>>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> $9.95 domain names from Yahoo!.
> Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/dkFolB/TM
> --------------------------------------------------------------------~->
>
>
> Yahoo! Groups Links
>
>
>

#12477 From: Ed Brown <ebrown1927@...>
Date: Wed Sep 15, 2004 3:40 pm
Subject: Re: [Clip] Re: Alphabetize CSS
horsefly_38866
Send Email Send Email
 
Thanks to all of you who answered.  I alphabetized it myself by hand.
And it  looks much better now. Thanks.
Ed

Alec Burgess wrote:

> I think you have to get the PRO version to get the stylesweeper.
>
> Regards ... Alec
> --
>
>
> ---- Original Message ----
> From: "manon_purple" <manon_purple@...>
> To: <ntb-clips@yahoogroups.com>
> Sent: Wednesday, September 15, 2004 04:34
> Subject: [gla: [Clip] Re: Alphabetize CSS
>
> > You might use TopStyle Light which has a StyleSweeper
> > that you can customize. It prevents messing up the
> > stylesheet. Once installed TopStyle is accessible via a
> > clipbar in NoteTab.
> > There is a freeware version available at
> > http://www.bradsoft.com/topstyle/tslite/fullver.asp
> >
> > best wishes
> >
> >
> > --- In ntb-clips@yahoogroups.com, Ed Brown
> > <ebrown1927@c...> wrote:
> >> Is there a simple clip or other method of putting
> >> different
> > sections of
> >> my CSS in alphabetical order?  For instance I have the
> >> following:
> >>
> >
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> > --------------------~--> $9.95 domain names from Yahoo!.
> > Register anything.
> > http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/dkFolB/TM
> > --------------------------------------------------------------------~->
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> click here
>
<http://us.ard.yahoo.com/SIG=129n020pd/M=295196.4901138.6071305.3001176/D=groups\
/S=1705007389:HM/EXP=1095346173/A=2128215/R=0/SIG=10se96mf6/*http://companion.ya\
hoo.com>
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/ntb-clips/
>
>     * To unsubscribe from this group, send an email to:
>       ntb-clips-unsubscribe@yahoogroups.com
>       <mailto:ntb-clips-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>



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

#12478 From: "Sheri" <silvermoonwoman@...>
Date: Wed Sep 15, 2004 4:35 pm
Subject: Re: global file change
silvermoonwo...
Send Email Send Email
 
--- In ntb-clips@yahoogroups.com, "chsulka" <dti@c...> wrote:
> After using NTP for 10 years it's time I learned the CLIP
> function.  I think I saw something in the past that would do
> this, but I cannot locate the reference.  What I need to do:
> I have folders with daily log files saved as LOGS\1994\010194.TXT
> where 010194 is the January 1 entry for the year 1994 (DDMMYY).
> I have years and years of countless files saved this way.  I
> need to change all the files to the proper filing format, which
> would be 19940101 (year, month, day, YYYYMMDD).  Isn't there
> a clip out there that makes global changes like this?  Thanks.
>
> Charles Sulka

Here's a clip that should do it:

H="Do Logs"
^!Close "C:\dologs.bat" Discard
^!Menu File/New
^!Insert ^$GetDosOutput(dir /b C:\logs\*.txt /s)$
^!If ^$GetTextSize$ > 0 Next ELSE End
;create a copy or move command for each .txt line
^!Set %orig%="{C:\\logs\\}{\d\d\d\d}\\{\d\d\d\d}{\d\d}{.txt}"
;the variable %orig% is used just to avoid a long line
^!Replace "^%orig%" >> "copy & \1\2\3.log" ATIWRS
^!Save As "C:\dologs.bat"
^!Clearvariable %orig%
^!Continue Do you want to run this batch now?
^!Menu File/New
^!Insert ^$GetDosOutput(C:\dologs.bat)$
^!Info All done.
;end of clip

Messages 12449 - 12478 of 23823   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