Archive for the 'Generic Clips' Category

Notetab Clip to Make Tab Delimited File into Comma Separated Value CSV File

Thursday, December 6th, 2007

This clip makes a file into a comma separated value file if it is say tab delimited at the start. It offers several choices of delimiters to start including comma, semi-colon, colon, tabs, etc.

EPOCH Time from System Time Using Notetab Clip

Sunday, April 15th, 2007

I want to do a time comparison between two times. I figured a good way to do that might be to generate a Unix or EPOCH time as is commonly used in Perl, PHP, and many other programming languages. I searched help and help on clip programming and did not find any reference to EPOCH […]

Notetab Clip to Search Google For Term

Tuesday, January 3rd, 2006

Okay, I often search Google to find Notetab’s great Yahoogroups messages. I find the search utility in YahooGroups to be fairly limiting. Tonight RP Dooling — the author — suggested that a clip might be in order … and that got me to thinking. Here is the first in what could easily be a series […]

Smart Definition List Creation Clip

Monday, December 26th, 2005

This clip will create a definition list in html coding. Features: it will create a blank list with specified number of dt and dd tags in ratio to each other it will create a dl from a highlighted list using either every other, a set ratio or custom set determination of what is a dt […]

Image Wrap Clip

Saturday, December 17th, 2005

This clip will wrap images into xhtml pages for viewing. It works like this: 1. all files must be closed before the clip is run 2. you will want to have your image in their own directory on the computer 3. you click on begin new index … it will ask if all files are […]

Hyperlink with Image

Saturday, November 26th, 2005

This is a clip that I wrote a while back, but enhanced as a result of this post to the ntp-clips list: Hi all, Was wondering if anyone knew of a clip which provided more options when inserting links into pages? Specifically, I’m seeking a clip which gives me the option of inserting the following […]

Delete All <a href> and <\a> Tags from a Document

Tuesday, June 14th, 2005

This clip will remove all and tags from a document. This includes all links, including all mailto: links. The version as written asks if you want to remove each tag. After you are comfortable with the clip, there is a comment telling you to take out the skip if you don’t want confirmation. ;*** Effort […]

Remove Table Tags from XHTML or HTML Document

Thursday, June 9th, 2005

This clip should remove all table, tr, and td tags from a document including end tags. ;*** Effort by Don Passenger ;*** don a-t htmlfixit d-o-t com ;*** discuss things live in chat at http://htmlfixit.com ;******************************************************* ;clip strips html table tags from entire document ;go to start of document ^!Jump Doc_Start ;loop to check each […]

Splitting a Line of Text on Spaces

Friday, June 3rd, 2005

You can create an array by dividing on a set character. In this example I split on spaces per the request of the writer. ;*** Effort by Don Passenger ;*** don a-t htmlfixit d-o-t com ;*** discuss things live in chat at http://htmlfixit.com ;******************************************************* ;I assume each line in the file is this 9 field […]

Clip to Remove Set Number of Columns from Each Line in a File

Wednesday, February 9th, 2005

;by don at htmlfixit dot com on 2/9/2005 ^!Info This clip will x columns from all lines in a file ^!Set %remove%=^?{Enter Columns to Remove=_1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23} ^!Jump Doc_Start ^!SelectTo ^$GetLinecount$:^$Calc(^%remove%+1)$ ^!Continue Is the last line selected to the proper column? ^!ToolBar Delete Block ^!Info [C]Done I think this will work well. The select in Notetab is […]

Open Files in Irfanview

Wednesday, December 1st, 2004

A reader on the YahooGroups Clips List was wondering how to open files in Irfanview via a NoteTab Clip. I proposed the following two solutions:

HTML: Remove & and replace with &amp

Monday, November 29th, 2004

It is often necessary to replace the & character with the entity &amp; to get validated (x)html. This clip will replace all appropriate ampersands excluding those that are part of defined character entities.

Remove Lines with Numbers

Monday, November 29th, 2004

This regex loop will remove all lines that contain only numbers on them. There is a quirk so that it won’t work correctly on one pass, so I loop it to get it to work correctly. ; by don at htmlfixit.com ; removes all numbers on a line ; for some reason the regex doesn’t […]

Find Sub-string in Longer String

Monday, November 29th, 2004

These may display very funny for some people because of the use of the pre html tag.

Recent Posts

Archives

Topics