home *** CD-ROM | disk | FTP | other *** search
/ Freelog 38 / Freelog038.iso / Bas / Bureautique / Ntl480 / WhatsNew.txt < prev   
Text File  |  2002-06-09  |  68KB  |  1,111 lines

  1. What's New in Version 4.9
  2. _________________________
  3. »»»»»»»»»»»»»»»»»»»»»»»»»
  4. ***Please enable word wrap when viewing this document***
  5.  
  6. Major Changes in Latest Versions
  7. ================================
  8. Only the most significant feature changes are listed under this topic. See the next main topics for a more comprehensive explanation of the changes.
  9.  
  10. NoteTab v4.9 (released: 10 June 2002)
  11. »»»»»»»»»»»»
  12. * Seamless support for UltimaShell Autocompletion Server (UAS).
  13. * New Help files; Clip code now in separate file.
  14. * Supports both WinHelp and HTML Help.
  15. * Supports extended File Open/Save dialogs under Win2000/ME/XP.
  16. * Improved handling of browsers.
  17. * Customizable menu shortcuts (NoteTab Pro and Std).
  18. * Now compatible with NTFS 5 Summary Information Properties.
  19. * Improved Browse Folder dialog box.
  20. * New Clip commands and functions.
  21. * See details of changes under next section.
  22.  
  23. NoteTab v4.86c (released: 10 December 2001)
  24. »»»»»»»»»»»»»»
  25. * Supports Windows XP themes.
  26. * Many minor improvements and bug fixes.
  27. * New Setup program made through the Inno Setup package (http://www.jrsoftware.org/).
  28. * See details of changes under next section.
  29.  
  30. NoteTab v4.85 (released: 09 May 2001)
  31. »»»»»»»»»»»»»
  32. * Maintenance release (see changes under next main topic).
  33.  
  34. NoteTab v4.84 (released: 09 February 2001)
  35. »»»»»»»»»»»»»
  36. * Improved the regular expressions engine.
  37. * Added support in NoteTab Pro and Std for WordWeb.
  38. * Added CSS1 library and Clipbar.
  39. * Added Clip functions to encrypt/decrypt your text and files.
  40. * Added Clip commands and functions performing ROT13, CRC32, MD5, and UUEncode/UUDecode operations.
  41. * Minor improvements to the Clip language and bug fixes.
  42. * See details of changes under next section.
  43.  
  44. NoteTab v4.83 (released: 26 October 2000)
  45. »»»»»»»»»»»»»
  46. * Now runs on Macs using Virtual PC.
  47. * Minor improvements to the Clip language and bug fixes.
  48. * See details of changes under next section.
  49.  
  50. NoteTab v4.82 (released: 12 May 2000)
  51. »»»»»»»»»»»»»
  52. * Powerful new engine for regular expressions.
  53. * See details of changes under next section.
  54.  
  55. NoteTab v4.81 (released: 22 March 2000)
  56. »»»»»»»»»»»»»
  57. * Maintenance release (see changes under next main topic).
  58.  
  59. NoteTab v4.8 (released: 14 February 2000)
  60. »»»»»»»»»»»»
  61. * NoteTab now integrates with HTML Tidy, TopStyle, and CSE HTML Validator.
  62. * Added Clipbars to NoteTab Pro and Std: a special type of toolbar with buttons that run Clips.
  63. * NoteTab Light now supports the full Clip language.
  64. * Added over 50 new commands and functions to the Clip language.
  65. * Improved the HTML Clipbook libraries and added the HTML-1 and HTML-2 Clipbars.
  66. * Option to generate HTML tags in uppercase, lowercase, or XHTML format.
  67. * Menu command to convert selected HTML tags to uppercase, lowercase, or XHTML format.
  68. * Added feature to enable previewing of Web pages, such as ASP and Cold Fusion, through a local Web server.
  69. * NoteTab Pro can now open files larger than 16 MB.
  70. * Supports .png images (image size for HTML image tags).
  71. * Significantly improved performance of Perl, Gawk, and other related Clip commands.
  72. * Improved support for WordStar commands.
  73.  
  74.  
  75.  
  76. Changes in Version 4.9
  77. ======================
  78. * NoteTab now works seamlessly with UltimaShell Autocompletion Server (UAS) from FlashPeak. This excellent utility provides smart autocompletion and can learn new words as you type away. It's easy to use and can save a lot of time. A free version of UAS is available to NoteTab users from here:
  79. http://www.notetab.com/uas.htm
  80.  
  81. * The Help file has been split into two documents -- the main Help and Clip programming Help. The index for Clip syntax has been completed and URLs are now clickable.
  82.  
  83. * NoteTab now supports for both WinHelp and HTML Help. If it finds the *.chm HTML Help files in its folder, NoteTab uses them instead of the traditional WinHelp files (.hlp).
  84.  
  85. * Under Windows 2000, ME, and XP, NoteTab now uses the extended File Open/Save dialogs with the "places" bar.
  86.  
  87. * Now integrates a new method for launching Web browsers. It should work better than in previous versions. See Help topic "Options | Internet" for details.
  88.  
  89. * You can now change the default keyboard shortcuts for menu items by creating a definition file called Shortcuts.dat in the NoteTab program folder. Place one shortcut reassignment per line. Start the line with the shortcut value, followed by a space, followed by the menu item. The first menu name in the sequence is the one that appears at the top of the main menu, followed by submenu names (if any), and then the name of the final menu item to activate. You must separate submenu items with a forward slash and leave out any ellipsis. You should put double quotes around a menu name if it contains one or more forward slash characters. The case of characters does not have to be the same as the actual menu commands.You can comment out shortcuts by putting a semicolon at the start of the line. Note that this feature is not available in NoteTab Light. Contents example for the Shortcuts.dat file:
  90.  
  91. ;This line starts with a semicolon and is ignored by NoteTab
  92. Ctrl+Shift+F Document/Font/Change Font
  93. Ctrl+T Document/"Insert Date/Time"
  94.  
  95. * During the conversion from text to HTML, multiple spaces are now preserved with the   entity.
  96.  
  97. * When saving files on NTFS 5 drives, Summary Information Properties are now preserved when the backups setting is enabled.
  98.  
  99. * The Browse Folder dialog box used in various parts of NoteTab has been improved.
  100.  
  101. * Added five new Clip functions:
  102.  
  103. ^$StrIndent("Str";IndentSize)$
  104. Returns the Str value with each line indented by IndentSize number of blank characters.
  105.  
  106. ^$StrAlign("Str";TextWidth;Alignment[;Pad=False])$
  107. This function aligns the Str value within a space specified by TextWidth. Alignment values can be Left, Right, or Center. If the Pad parameter is used, a True value adds blank spaces on the right side of Str (if necessary). Examples:
  108. ^$StrAlign("Test";10;Right)$ -> "      Test"
  109. ^$StrAlign("Test";10;Center;True)$ -> "   Test   "
  110.  
  111. ^$StrAnsiToOem("Str")$
  112. Returns Str based on ANSI-defined character set converted to OEM.
  113.  
  114. ^$StrOemToAnsi("Str")$
  115. Returns Str based on OEM-defined character set converted to ANSI.
  116.  
  117. ^$GetShellFolder(SystemFolder)$
  118. Returns the path to the specified folder type "SystemFolder". The folder name always ends with a backslash. See below for SystemFolder values and an example of a corresponding path (under Windows 98).
  119.  
  120. Desktop --> C:\WINDOWS\Desktop\
  121. Templates --> C:\WINDOWS\ShellNew\
  122. AppData --> C:\WINDOWS\Application Data\
  123. Start Menu --> C:\WINDOWS\Start Menu\
  124. Programs --> C:\WINDOWS\Start Menu\Programs\
  125. Startup --> C:\WINDOWS\Start Menu\Programs\StartUp\
  126. Fonts --> C:\WINDOWS\Fonts\
  127. SendTo --> C:\WINDOWS\SendTo\
  128. Recent --> C:\WINDOWS\Recent\
  129. Favorites --> C:\WINDOWS\Favorites\
  130. NetHood --> C:\WINDOWS\NetHood\
  131. Personal --> C:\WINDOWS\My Documents\
  132. Cache --> C:\WINDOWS\Temporary Internet Files\
  133. Cookies --> C:\WINDOWS\Cookies\
  134. History --> C:\WINDOWS\History\
  135. PrintHood --> C:\WINDOWS\PrintHood\
  136. Local AppData --> C:\WINDOWS\Local Settings\Application Data\
  137. My Pictures --> C:\WINDOWS\My Documents\My Pictures\
  138. Administrative Tools -->
  139.   C:\WINDOWS\Start Menu\Programs\Administrative Tools\
  140.  
  141. ^$ExpandEnv("Str")$
  142. This function expands environment-variable strings and replaces them with their defined values. Example (under Windows XP):
  143. ^$ExpandEnv("%systemroot%")$ -> "C:\WINDOWS"
  144.  
  145. Predefined system variables:
  146.   ComputerName
  147.   ComSpec
  148.   HomeDrive
  149.   HomePath
  150.   HomeShare
  151.   LogonServer
  152.   Number_Of_Procesors
  153.   OS
  154.   Os2LibPath
  155.   Path
  156.   PathExt
  157.   Processor_Architecture
  158.   Processor_Identifier
  159.   Processor_Level
  160.   Processor_Revision
  161.   Prompt
  162.   SystemDrive
  163.   SystemRoot
  164.   UserDomain
  165.   UserName
  166.   UserProfile
  167.   WinDir
  168.  
  169. * Added ^!Menu command to the Clip language. Use it to activate any enabled command from the main program menu. The first menu name in the sequence is the one that appears at the top of the main menu, followed by submenu names (if any), and then the name of the final menu item to activate. You must separate submenu items with a forward slash and leave out any ellipsis. You should put double quotes around a menu name if it contains one or more forward slash characters. The case of characters does not have to be the same as the actual menu commands. The following example opens the Font dialog box for the active document:
  170. ^!MENU Document/Font/Change Font
  171.  
  172. The example below inserts the date and time from the menu command (notice the use of double quotes):
  173. ^!MENU Document/"Insert Date/Time"
  174.  
  175. * Added ^!SetShortcut command to the Clip language. You can use it to temporarily change keyboard shortcuts for menu items. It takes two parameters, which are separated by a space character. The first parameter represents the shortcut value and the second represents the menu item. Note that this command is not available in NoteTab Light. Examples:
  176. ^!SetShortcut Ctrl+Shift+F Document/Font/Change Font
  177. ^!SetShortcut Ctrl+T Document/"Insert Date/Time"
  178.  
  179. * Added ^!InsertSelect command to the Clip language. It works just like ^!InsertText but it also selects the inserted text.
  180.  
  181. * Added the new pre-defined Clip variable ^%AR_WORD%, which contains the Auto-replace text.
  182.  
  183. * The Clip command "^!Select Filename" has been updated to work with long filenames.
  184.  
  185. * Improved the ^!Url command with an options parameter to specify a browser similar to the method available in the Options dialog box for the browser fields on the Internet tab. Syntax:
  186. ^!Url [Browser command] <url>
  187. The following example will open the URL in Internet Explorer:
  188. ^!Url [IExplore] www.fookes.com
  189. or in Mozilla (if you have the browser installed):
  190. ^!Url [Mozilla] www.fookes.com
  191.  
  192. * Fixed an issue with the ^!SaveValue command, which always placed quotes around values. This resulted in numerical and Boolean values being read incorrectly when applied to NoteTab's .ini file settings.
  193.  
  194. * Under Windows 2000 and XP, NoteTab Light and Std were often unable to undo certain kinds of edit changes. This has been fixed.
  195.  
  196. * Fixed several issues in the RegEx engine.
  197.  
  198. * Closing a modified document that is locked by another application displayed an error message, but did not give the opportunity to retry or cancel closing. This is now fixed.
  199.  
  200. * Under Windows NT/2000/XP, NoteTab could not save over libraries that had the Hidden attribute set. This has been fixed.
  201.  
  202. * Recent versions of NoteTab failed to load binary files that started with a sequence of null characters. This is now fixed.
  203.  
  204. * Fixed access violation error when opening UTF-8 files.
  205.  
  206. * Fixed a minor issue with incorrect line break character sometimes generated when opening Unicode files.
  207.  
  208. * Other minor changes.
  209.  
  210.  
  211. Changes in Version 4.86c
  212. ========================
  213. * You can now close document tabs by clicking on them with the middle mouse button or the mouse wheel (like in Netcaptor).
  214.  
  215. * The "Open File at Cursor" command (F7) now also works with most fully qualified filenames that contain spaces. Example:
  216. C:\Program Files\Accessories\pppmenu.scp
  217.  
  218. * NoteTab Pro: Added two WordStar commands: Ctrl+N (<Return>+<Left>) and Ctrl+U (Undo)
  219.  
  220. * Added "Restore Default HTML Editor" to the Utilities library.
  221.  
  222. * Added support for a logical zero function in the mathematical expressions parser. Use lzero(x) to return 1 if x=0 and 0 if x<>0.
  223.  
  224. * Added support for Windows XP themes through a manifest file.
  225.  
  226. * NoteTab Pro: Added option to highlight a word with or without trailing spaces when double-clicking to select. Hold the Alt key down while double clicking to change the selection method. The setting is remembered between NoteTab sessions.
  227.  
  228. * Changed settings for some of the default options -- only noticeable on a clean install.
  229.  
  230. * Added ^$StrUrlDecode("Text")$ function to convert URL strings and form Mailto data to plain text. Example:
  231. ^$StrUrlDecode("C%3A%5CProgram%20Files%5CReadme%2Etxt")$ --> C:\Program Files\Readme.txt
  232.  
  233. * Fixed several glitches in the regexp engine.
  234.  
  235. * Under Windows 2000 and XP, the program window sometimes failed to come to the front when invoked. This has been fixed.
  236.  
  237. * NoteTab Pro: Fixed incorrect behavior of the vertical scroll bar when lines exceeded 32K.
  238.  
  239. * NoteTab Pro: Fixed display issue with line ruler when second document window is displayed.
  240.  
  241. * NoteTab Pro: Fixed a minor issue with URL highlighting when the "Show Nonprinting" option is set.
  242.  
  243. * Fixed an issue that caused some URLs to be incorrectly invoked through the Web browser.
  244.  
  245. * Saving files to a remote disk or any other slow target sometimes generated a "file not correctly saved to disk" error message. This has been fixed.
  246.  
  247. * Under Windows 2000 and XP, NoteTab failed to save over a file that had the Hidden attribute set. This has been fixed.
  248.  
  249. * Fixed minor problem with disabled "Save Now" command in Clipbook shortcut menu. It was always disabled when the Clip editor was open and only the current Clip has been modified.
  250.  
  251. * Fixed "Please remove the file's Read-Only attribute" error message when saving new Clipbook Libraries.
  252.  
  253. * Fixed an issue with the ^$StrSort()$ Clip function. If the criteria did not contain line breaks, the function would return an empty string when RemoveDuplicates = False.
  254.  
  255. * Fixed incorrect rendering of link character case generated through the HTML-tag Clip-wizard field.
  256.  
  257. * Fixed an issue affecting FarClips and Clips invoked from Clipbar. The Clip parser failed to convert ^!Clip to ^!FarClip when the command appeared immediately following a conditional statement. Example of statement that would fail if invoked as a FarClip:
  258. ^!IfTrue ^$IsEmpty("^%Computer%")$ ^!Clip "FTP server setup"
  259.  
  260. * Other minor changes.
  261.  
  262.  
  263.  
  264. Changes in Version 4.86
  265. =======================
  266. * Unicode files are now automatically detected on loading and converted to ANSI for display in the editor. Note that the process will not convert characters correctly if they are not available in the current ANSI character set. By default, Unicode files are opened in Read-Only mode. See the "Protect Unicode Files" setting described below.
  267.  
  268. * New "Protect Unicode Files" setting on the General tab of the Options dialog. When NoteTab opens Unicode files, it has to convert them to the ANSI character set, which contains much fewer characters. As a result, the conversion process may drop non-ANSI and cause the loss of information. When this setting is checked, Unicode files are opened in Read-Only mode, which protects the file from changes. If you know that your Unicode documents will not loose important information during the conversion process, you can uncheck this option in order to open such files in editable mode.
  269.  
  270. * File Security attributes should now be correctly preserved when a file is saved with backups enabled.
  271.  
  272. * The "Help/Replace MS Notepad" menu command is now available under Windows 2000 and XP.
  273.  
  274. * New command-line parameter "/DDE=True or False" to switch off or re-enable DDE communication with Internet Explorer, Netscape, and Opera browsers. This is useful on some faulty Windows ME systems that hang when DDE is used.
  275.  
  276. * Search Disk now automatically save matches in Favorites file "Search Disk.fvr", so the files can easily be opened at any time until the next search.
  277.  
  278. * Incremental Clipbook backups using the tilde are now automatically hidden to avoid their appearing in the Clipbook bar.
  279.  
  280. * When searching through subdirectories, directories with the hidden, read-only, or system attributes were skipped. This is now fixed.
  281.  
  282. * Page scrolling now works correctly when mouse wheel is set to scroll one "screen" at a time.
  283.  
  284. * Fixed a glitch in the regexp engine. A replace operation would sometimes fail if the search pattern ended with the $ token.
  285.  
  286. * Fixed a glitch in Join Lines command that failed to join lines containing a single character.
  287.  
  288. * Fixed a glitch in the Strip HTML command that failed to produce a blank line when encountering a double line break <br><br>.
  289.  
  290. * Fixed a glitch in the Clip command "^!Select nnn", which failed to work properly if the range reached a non-empty last line.
  291.  
  292. * Fixed a glitch in the "Ordered List" and "Unordered list" clips from the HTML Clipbook library.
  293.  
  294.  
  295.  
  296. Changes in Version 4.85
  297. =======================
  298. * Some browsers opened up two windows when launched through the "View in Browser" command. Fixed.
  299.  
  300. * Custom colors set in the color dialog boxes are now correctly restored between sessions.
  301.  
  302. * Fixed a problem in the Modify/Change HTML Tags command that could mess up tags ending in a percentage value; like <TD ALIGN=center WIDTH=40%>
  303.  
  304. * The File Open/Save dialogs can now be stretched if your version of Windows supports this feature.
  305.  
  306. * The "Create Uppercase Tags" setting on the HTML tab of the Options dialog box now supports three states. When checked, tags are converted to uppercase. When unchecked, they are converted to lowercase. When grayed, case is not modified (useful when dealing with XML files).
  307.  
  308. * The StrRandom has been updated to let you optionally define which characters are used in the random string that is generated. Syntax: ^$StrRandom(Size[;Characters])$
  309. "Characters" represents a string of characters that the function should use. You can define ranges by using "..". For example, A..Z represents all the uppercase letters of the Roman alphabet; A..Za..z0..1 represents all digits and letters of the Roman alphabet. Function example:
  310. ^$StrRandom(10;A..F0..9)$ --> D744E70176
  311.  
  312. * Holding Ctrl key down while launching NoteTab _no longer_ resets the .ini file. This feature caused too many problems, so it has been removed.
  313.  
  314. * Clip labels are no longer affected by trailing spaces.
  315.  
  316. * Fixed a printing problem when long lines that need wrapping don't contain a character to mark a split position.
  317.  
  318. * Fixed a problem in the mathematical expression parser's way of handling unary minus/plus signs. The following will now work correctly: ^$Calc(-2-2)$ and ^$Calc(+2+2)$
  319.  
  320. * Other minor changes.
  321.  
  322.  
  323.  
  324. Changes in Version 4.84
  325. =======================
  326. * Added support in NoteTab Pro and Std (registered versions only) for WordWeb, by Antony Lewis. If NoteTab detects the WordWeb DLL, then it will display the WordWeb dialog box when you invoke the Thesaurus from NoteTab's menu and toolbar. WordWeb is a powerful freeware thesaurus/dictionary for Windows. You can read more about it and download a copy from the following Web site http://www.wordweb.co.uk/
  327.  
  328. * Added support for Cascading Style Sheets through the CSS1 Clipbook library and Clipbar.
  329.  
  330. * NoteTab can now be started even if it does not find the efomacro.dll file. If NoteTab does not find it, Clips using the ^!Keyboard, ^!PasteBack, and ^!TypeBack commands will not work.
  331.  
  332. * The "Launch Document" command will now try to open the current document in its associated program when no criteria are specified in the Custom Launch setting.
  333.  
  334. * Fixed print range setting being ignored when multiple pages are printed.
  335.  
  336. * Numbers containing a comma (e.g. 1,000,000) are no longer split in word wrapped printed output.
  337.  
  338. * RegEx replacements now work on lines longer than 1024 characters. Maximum line length supported is now 32 KB.
  339.  
  340. * Fixed problem in regular expressions using tagged matches higher than "\1" in a replace operation, which did not work.
  341.  
  342. * Fixed crash that could occur under Windows ME when Web browser was launched from NoteTab.
  343.  
  344. * Fixed problem that caused NoteTab to fail to recognize some networked printers.
  345.  
  346. * Relative file names (like "../index.html" and "..\units\foo.pas") now supported by the "Tools|Open File at Cursor" and Tools|Open Link" menu commands.
  347.  
  348. * Fixed bad folder constructions when invoking the disk browser from the Quick List combobox. Example:
  349. C:\Program Files\NoteTab Pro\*.txt\*.*
  350.  
  351. * Fixed Count feature, which skipped read-only documents when it iterated through the tabs.
  352.  
  353. * Fixed protection problem on NT and Win2000, which did not allow saving a file with the Hidden attribute set.
  354.  
  355.  
  356. Clip Language:
  357. .............
  358. * Added ^!SetCode command for assigning values to a variable without interpreting ^?{} prompts and Clip tokens like ^P, ^T, ^&, ^#, etc. Variables and functions are evaluated normally.
  359. ^!SetCode %VariableName%=Value
  360.  
  361. * Added ^!InsertCode command for inserting values into the current document without interpreting ^?{} prompts and Clip tokens like ^P, ^T, ^&, ^#, etc. Variables and functions are evaluated normally. This command is very useful when treating UUEncoded text, which may contain character sequences that imitate such tokens.
  362. ^!InsertCode Text
  363.  
  364. * Added ^$StrROT13("Text")$ function to perform a ROT13 operation on the specified text.
  365.  
  366. * Added ^$StrEncrypt("Text";[Key])$ and ^$StrDecrypt("Text";[Key])$ functions, which provide stronger text encryption than ROT13. Use the optional "Key" parameter to define an encryption password (max. 255 characters). Make sure you don't forget the key you used with this function, otherwise you may never be able to retrieve your encrypted text. Note that although the encryption algorithm is very good, there is no guarantee that it can't be cracked. You should not rely on this feature to protect very sensitive data. Example:
  367. ^$StrEncrypt("^$GetSelection$";"^?[key=My secret password]")$
  368.  
  369. * Added Clip functions ^$GetCrcText("Text")$ and ^$GetCrcFile("Filename")$. Use these to calculate the CRC32 (cyclic redundancy check) of text and files respectively. Example:
  370. ^$GetCrcFile(^$GetAppFileName$)$
  371.  
  372. * Added Clip functions ^$GetMD5Text("Text")$ and ^$GetMD5File("Filename")$. Use these to calculate the MD5 signature of text and files respectively. The result is produced in hexadecimal format. MD5 is a hashing algorithm that generates a digital signature, or Message Digest, representing the supplied data. The MD5 algorithm was produced by RSA Data Security Inc. Example:
  373. ^$GetMD5File(^$GetAppFileName$)$
  374.  
  375. * Added ^$StrUUEncode("Text")$ and ^$StrUUDecode("Text")$ functions, to encode text to 7-bit UUEncode format and decode it back respectively. This encoding format is frequently used to send 8-bit data through transmission media (email, for example) supporting only 7-bit data. These new Clip functions are useful if you want to send encrypted text by email. Example:
  376. ^$StrUUEncode("^$StrEncrypt("^$GetText$";)$")$
  377. ^$StrDecrypt("^$StrUUDecode("^$GetText$";)$")$
  378. Important note: UUencoded text may contain characters that the Clip parser interprets as tokens, like ^p and ^&. As a result, you should use the ^!SetCode command to assign such data to a variable and ^!InsertCode to paste the result of ^$StrUUEncode("Text")$ into a document. See the example in the Utilities library.
  379.  
  380. * Added UUEncode and UUDecode Clip commands:
  381. ^!UUEncode "InputName"[ "OutputName"]
  382. InputName is the file to encode. Use the optional OutputName to define the name of the UUEncoded data file. If you don't specify an output name, the name will be based on InputName with the extension ".uue".
  383.  
  384. ^!UUDecode "InputName"[ "OutputName"]
  385. InputName is the file to decode. Use the optional OutputName to define the name of the UUEncoded data file. If you don't specify an output name, the name stored in the encoded file will be used.
  386.  
  387. * Added encryption/decryption command for files:
  388. ^!FileScramble "InputName"[ "OutputName"[ "Key"]]
  389. This command can automatically detect if the file needs encrypting or decrypting. InputName is the file to encrypt or decrypt. Use the optional OutputName to define the name of the file created by the operation. If the file is going to be encrypted and you don't specify an output name, the name will be based on InputName with the extension ".npw". If the file is going to be decrypted and you don't specify an output name, the original file name will be used. Use the optional "Key" parameter to define an encryption password (max. 255 characters). Make sure you don't forget your password, or you will not be able to restore your encrypted data.
  390. The encryption algorithm is based on RC4 ("RC4" is a trademark of RSA security corporation). You should not rely on this feature to protect very sensitive data. 
  391.  
  392. * Added ^$ChangeFileExt("FileName";"Ext")$
  393. Use this function to create a new file name based on the provided extension. Example:
  394. ^$ChangeFileExt("c:\config.sys";"bak")$ = c:\config.bak
  395.  
  396. * Added ^$StrRandom(Size)$ to create strings of random characters of the specified length. Example:
  397. ^$StrRandom(6)$ = ╚$q3σε
  398.  
  399. * The ^$GetDocIndex(Name)$ now returns the index number of the specified document, as indicated in the Help file.
  400.  
  401. * Improved ^$HexToInt(Value)$ and ^$IntToHex(Value)$ to handle larger values.
  402.  
  403. * Fixed ^!MoveFile command "losing" files when the destination folder does not exist.
  404.  
  405. * Fixed last character of parameter being truncated by ^!Shell command.
  406.  
  407.  
  408.  
  409. Changes in Version 4.83
  410. =======================
  411. * The program executable file is no longer compressed. The advantage of this is that you will be able to run NoteTab on Macs using Virtual PC. You are also less likely to encounter problems with anti-virus programs.
  412.  
  413. * When you double click on a word, NoteTab Pro selects the word as well as any white spaces after it. If you don't want the white spaces to be selected, you can now hold down the Alt key when you double click.
  414.  
  415. * Text that does not fit in a listbox (e.g. Clipbook window) will now be displayed in a popup tip when the mouse cursor is over it
  416.  
  417. * Added "Help on Clip Programming" under Help menu. This command displays the table of contents on the topic of Clip programming.
  418.  
  419. * NoteTab Pro: all "Replace All" operations can now be undone in a single operation.
  420.  
  421. * Implemented a protection against stray keystroke messages generated by some faulty keyboards (notably from Compaq). Stray keystroke messages could cause the Close Document command to be activated.
  422.  
  423. * Hyperlinks with relative paths to filenames now work. Example: [workdata\client3\important.otl::meetings]
  424.  
  425. * The "Open File at Cursor" command now also works when a filename uses a relative path.
  426.  
  427. * Templates with Clip code now set the "modified" state of documents they create (if text is produced).
  428.  
  429. * Strip HTML Tags command now recognized the ' entity.
  430.  
  431. * The "Change HTML Tags commands now work correctly with Web pages using Server Side Include (SSI) commands.
  432.  
  433. * The "More..." button displayed in long Clipbar menus now works correctly. It opens a dialog box with a combobox control, which lists all available Clipbars.
  434.  
  435. * Fixed a glitch in the Modify|Block|Sum menu command.
  436.  
  437. * Fixed bug causing NoteTab to crash when doing a regexp Replace All operation with $ as the "Find What" criteria.
  438.  
  439. * Fixed an incompatibility problem between the File|Send command and Outlook Express 5.
  440.  
  441. * Fixed glitch that caused tabs to be replaced by spaces when using the "Strip HTML Tags" command on tables.
  442.  
  443. * Fixed RegEx option in Find and Replace dialog box when criteria contains NoteTab tokens (e.g. ^C)
  444.  
  445. * Fixed Quick List/Disk Files update problem when Save As command is used
  446.  
  447. * Fixed "Strip HTML Tags" glitch when text contains consecutive <br> tags
  448.  
  449. * Fixed a problem with the "Evaluate Expression" command which caused the following truncated results:
  450.   10^39 = 1.0E+003
  451.   10^40 = 1.0E+004
  452. Now, the result is correctly formed as:
  453.   10^39 = 1.0E+0039
  454.   10^40 = 1.0E+0040
  455.  
  456. * Attempted to improve the behavior when launching NoteTab through the MS-Explorer Open command with multiple files selected.
  457.  
  458. * "Rename" command from Tab bar no longer accepts invalid file name characters
  459.  
  460. * Favorites "Open All" command now respect order of files in list
  461.  
  462. * Ctrl+C now makes sound if Office Sounds are enabled
  463.  
  464. * NoteTab Light/Std: Insert/Overwrite status information is less likely to become out-of-sync.
  465.  
  466. * NoteTab Light/Std: text now stays selected after a Replace All operation is applied on a selection.
  467.  
  468. * NoteTab Light/Std: regex tagged matches with Replace criteria should now work as in NoteTab Pro.
  469.  
  470.  
  471. Clip Language:
  472. .............
  473. * Added Clip function ^$StrToHtml("Str"[;ConvertLineBreaks[;ConvertEntities]])$, to convert plain text to HTML format. "Str" represents the text you want to convert. Use False for ConvertEntities if you don't want special characters (e.g. ⌐) to be converted to HTML entities (e.g. ©); the default value when omitted is True. Use False for ConvertLineBreaks if you don't want <p> and <br> tags to be inserted at line breaks in the text; the default value when omitted is True.
  474.  
  475. * Changed the behavior of the ^$GetFiles([+]FilePath;FileSpecs[;Attr][;SortingOrder])$ and ^$GetFileFirst([+]FilePath;FileSpecs[;Attr][;SortingOrder])$ Clip functions. When the Attr field is used, only files that use the specified attributes are selected. To select files that have no attribute settings, use "-" as a value for Attr. You can also span through subdirectories by adding a + sign in front of the FilePath criteria. The following example will select all files under Windows and its subdirectories, that have the System attribute set:
  476. ^$GetFiles("+C:\Windows";*.*;S;Name)$
  477.  
  478. * The registry-related Clip functions and commands (GetRegValue, SaveRegValue, ClearRegValue) look for a colon (:) as the delimiter between the key and name parts. Unfortunately, there are situations where a colon character needs to be used in the name part, and this causes malformed key and name values. In this situation, you can now use a double colon (::) to indicate where the name value starts.
  479.  
  480. * Fixed a bug in the ^$GetValue(...)$ function, which removed quotes surrounding values.
  481.  
  482. * Fixed problems in the ^!Find and ^!Replace Clip commands when used with the Regular Expression option.
  483.  
  484. * Fixed quote problem with ^!Open command: ^!Open "^?{(T=O;S=M)Browse to file(s) to open}"
  485.  
  486. * Fixed a problem with the GetRelativeName Clip function when only the FileName parameter is specified and quotes are used around it.
  487.  
  488. * NoteTab Light/Std: fixed ^!SelectTo, which can now be used to select text backwards.
  489.  
  490.  
  491.  
  492. Changes in Version 4.82
  493. =======================
  494. * New engine for regular expressions. More powerful and adds support for RegExp criteria in replace field. See Help file for details.
  495.  
  496. * Added "Close to System Tray" option on General tab. This lets you configure whether closing NoteTab minimizes the program to the System Tray or not when its icon is displayed there.
  497.  
  498. * Added "Hidden Files" option in Search Disk dialog box. When set, the command will also search through hidden files.
  499.  
  500. * The header used in template files can now specify Clip directory functions to represent special path names (e.g. ^$GetScriptPath$, ^$GetTmpPath$). Example taken from FTP.tpl:
  501. = DocTemplate ClipCode "^$GetScriptPath$FTP%0.3d.scr"
  502.  
  503. * New FTP.clb library. Requires the Windows FTP.exe program.
  504.  
  505. * New FTP.tpl template file for creating FTP.exe scripts.
  506.  
  507. * Console applications run by NoteTab can be interrupted with the Ctrl+Alt key combination while NoteTab is receiving/waiting for data.
  508.  
  509. * Replace All operations applied to selected text now leave the updated text selected.
  510.  
  511. * Fixed errors in several library files and documentation.
  512.  
  513. * Fixed MAPI address formatting bug that was accidentally reintroduced in final release of 4.81.
  514.  
  515. * Fixed incorrect error message claiming a directory does not exist when saving a file with a UNC name (e.g. \\RemoteDisk\Text\).
  516.  
  517. * Fixed minor bug in Match Brackets command.
  518.  
  519. * Fixed minor problem with Print dialog box not recognizing Print Range setting under certain situations.
  520.  
  521. * Other minor fixes.
  522.  
  523.  
  524. Clip Language:
  525. .............
  526. * New Clip functions:
  527.  
  528. ^!Shell
  529. Launches the specified file, program, or URL through the Windows shell. Proposed as a replacement for the default ^! launch method. Example: instead of using "^!WordPad c:\autoexec.bat", use "^!Shell WordPad c:\autoexec.bat"
  530.  
  531. ^!ShellWait
  532. Similar to the ^!Shell command, but waits until the launched program is terminated before moving to the next Clip instruction. Unlike the ^!Wait command, you can continue editing files in NoteTab while the application is running. Example:
  533. ^!ShellWait WordPad c:\autoexec.bat
  534.  
  535. ^$StrDeleteLeft("Str";Amount)$
  536. Similar to ^$StrDelete()$ but deletes the text from the start of the specified string.
  537.  
  538. ^$StrDeleteRight("Str";Amount)$
  539. Similar to ^$StrDelete()$ but deletes the text from the end of the specified string.
  540.  
  541. ^$StrCopyLeft("Str";Amount)$
  542. Similar to ^$StrCopy()$ but copies the substring from the start of the specified string.
  543.  
  544. ^$IsWildcard("FileName")$
  545. Returns 1 if FileName contains one or more wildcard characters (* and ?), and 0 if it does not.
  546.  
  547. ^$GetSysProgPath$
  548. Returns the path containing system programs like MS-Notepad and FTP.exe.
  549.  
  550. ^$StrStripHTML("Str";PreserveURLs)$
  551. Returns a copy of Str with all HTML tags removed. PreserveURLs is either True or False, and determines if URLs are preserved or not.
  552.  
  553. ^!TextToUnicodeFile "FileName" AnyText
  554. Saves the specified text to FileName in the Unicode format using the current Windows code page.
  555.  
  556. ^!AppendTextToUnicodeFile "FileName" AnyText
  557. Appends the specified text to the end of a disk file in Unicode format using the current Windows code page. A new file is created if FileName does not exist.
  558.  
  559. ^$GetUnicodeFileText("FileName")$
  560. Reads Unicode text from FileName and returns it as normal text based on the current Windows code page.
  561.  
  562. * Clips with multiple "^&" are better handled.
  563.  
  564. * Fixed incorrect behavior when pasting Clip text beginning with a line break when the "Indent on Paste" option is set. Now indents a whole selection when place holder is also indented. Example:
  565. ^!InsertHtml <p>^P  ^&^P</p>
  566. Applied on the following three lines:
  567. Line1
  568. Line2
  569. Line3
  570. will now indent all the lines in the selection, instead of just the first one.
  571. <p>
  572.   Line1
  573.   Line2
  574.   Line3
  575. </p>
  576.  
  577. * Clip shell commands did not respect the ^!ChDir setting. Fixed.
  578.  
  579. * ^$GetWord$, ^$GetBlock$, and ^$GetQuoteBlock$ now return the whole item even when it is wrapped.
  580.  
  581. * Fixed a bug that caused the ^%AR_KEY% to always return an empty value.
  582.  
  583. * Fixed problem with ^!SetScreenUpdate not working within sub-Clips (those run with the ^!Clip command).
  584.  
  585. * Fixed ^$GetColScreen$ when text is selected.
  586.  
  587. * Fixed ^!MoveFile which caused target directory file to end up in recycle bin if original did not exist.
  588.  
  589. * Fixed ^!SetFocus Frame1
  590.  
  591.  
  592.  
  593. Changes in Version 4.81
  594. =======================
  595. * New favorites feature: Precede the path name with a + character to also open all matching files contained in subdirectories. Example: 
  596. +C:\Program Files\Web\*.htm*
  597.  
  598. * Dialogs are now centered with respect to the NoteTab window rather than the screen.
  599.  
  600. * You can now open the Glossary.otl file from the Help menu.
  601.  
  602. * Updated some of the libraries and the HTML template.
  603.  
  604. * The single HTML Clipbar is now replaced by two new ones: HTML-1 and HTML-2 (the last button makes it easy to switch between the two).
  605.  
  606. * Custom colors are now remembered between NoteTab sessions.
  607.  
  608. * Sometimes NoteTab did not correctly detect when a file was updated by another application. Fixed.
  609.  
  610. * When NoteTab receives the focus from another application, it now also checks if the current library in the Clipbook needs updating.
  611.  
  612. * Join Lines (Ctrl+J) works again when only a single paragraph is selected. It ignores the last blank line, if included in selection.
  613.  
  614. * Closing the Clip editor now prompts to save changes, as when closing other documents.
  615.  
  616. * Opening e-mail addresses now uses MAPI rather than going through the default browser (if MAPI is enabled).
  617.  
  618. * Ctrl+Left/Right arrows will now also place the cursor between tags: >|<.
  619.  
  620. * The /P command-line parameter now works again.
  621.  
  622. * Fixed several minor errors in the implementation of the XHTML features.
  623.  
  624. * Fixed problem with Intellimouse wheel in NoteTab Pro causing lines to scroll only one line at a time under certain conditions.
  625.  
  626. * NoteTab no longer locks up when a save operation fails and the error dialog is not closed before moving the focus to another application.
  627.  
  628. * Other minor changes and fixes.
  629.  
  630.  
  631. Clip Language:
  632. --------------
  633. ^!SetHtmlFormat [UPPERCASE|LOWERCASE|XHTML]
  634. Sets the default format of HTML tags created by the ^!InsertHtml and ^!InsertWizardHtml, as well as other related HTML commands.
  635.  
  636. ^$GetHtmlFormat$
  637. Returns the default format used for creating HTML tags. Possible values are: Uppercase, Lowercase, XHTML.
  638.  
  639. ^$GetClipVersion$
  640. Since version 4.801, this function returns the actual NoteTab release version as an integer. For example, in version 4.801, ^$GetClipVersion$ returns 4801.
  641.  
  642. * Fixed Clip command ^!AppendToFile so that it accepts text ending with blank lines.
  643.  
  644. * Custom Clip function names can now be shorter than 5 characters.
  645.  
  646.  
  647.  
  648. Changes in Version 4.8
  649. ======================
  650. * Added Clipbars to NoteTab Pro and Std: a special type of toolbar with buttons that run Clips. Users can "attach" their own scripts to this toolbar, as well as use their own icons for the buttons. Several Clipbars are provided with NoteTab, including a couple of handy ones for HTML editing. Clipbars can be opened through the View|Clipbar submenu. See Help for more information.
  651.  
  652. * NoteTab Light now supports the full Clip language. It can now run the same libraries as NoteTab Pro and NoteTab Std.
  653.  
  654. * NoteTab supports HTML Tidy -- a free utility that cleans HTML code and fixes errors. Once it is installed, you can invoke it through the "Tools|Tidy HTML Code" menu command. HTML Tidy accepts a variety of switches to control the way it processes HTML tags. NoteTab will try to determine the best switches based on the active document type and the HTML Tag option settings. If you want more control over the settings, you can create a configuration file for Tidy, which you should save in the NoteTab folder with the name Tidy.cfg (see the program's instructions for details). You can learn more about HTML Tidy and download the latest version by visiting the following Web page:
  655. http://www.w3.org/People/Raggett/tidy/
  656. The easiest setup is to copy the Tidy.exe program file to the NoteTab folder, but you may place it anywhere else if you prefer.
  657.  
  658. * NoteTab supports CSE HTML Validator Pro (v2.00A and higher) -- a program for checking HTML syntax errors. If the program is correctly installed, you will see a new command under the Tools menu called "Validate HTML". When you click on this command, it will send the current document text to CSE HTML Validator. Once the checking is completed, NoteTab will create a Clipbook library containing all the messages produced by the CSE program. Executing the Clips in the library will select the offending line and display the corresponding error message. Note that you should avoid removing or adding lines while correcting errors so that the line numbers referenced by the Clips remain valid. You can learn more about CSE HTML Validator and download the latest version by visiting the following Web page:
  659. http://www.htmlvalidator.com/
  660.  
  661. * The "Modify|Document to HTML" menu commands now use the <p></p> pair of tags instead of the single <p> used to mark paragraph breaks. This conforms to the latest standards for HTML coding.
  662.  
  663. * Added menu commands to convert HTML tags to Uppercase/Lowercase/XHTML. See submenu "Modify|Change HTML Tags".
  664.  
  665. * Added settings in Options dialog box to control the format of HTML tags generated by NoteTab. See Options tab labeled "HTML Files". The setting "Create XHTML Tags" produces tags based on the W3C recommendations for XHTML. The setting "Create Uppercase Tags" produces tags with element and attribute names in upper case.
  666.  
  667. * Added new options to enable previewing of Web pages, such as ASP and Cold Fusion, through a local Web server (e.g. MS Personal Web Server). See Options tab labeled "HTML Files". The relevant fields are "Server Name" (e.g. localhost) and "Physical Path" (e.g. c:\inetpub\wwwroot\html). When these fields are set, any file under the Physical Path will be displayed through the local Web server. Based on the example values, the following file name:
  668.   c:\inetpub\wwwroot\html\index.asp
  669. is converted to:
  670.   http://localhost/index.asp
  671. when sent for previewing to the browser.
  672.  
  673. * Can now preserve case of file names by holding down the Ctrl key when inserted in HTML documents (e.g. drag-and-drop from file list).
  674.  
  675. * Added menu command "File|Template|New" to create new templates.
  676.  
  677. * Template headers now accept the ^$GetDate()$ function in order to use the current date in the file name. Example:
  678. = DocTemplate ClipCode "Notes-^$GetDate(yyyymmdd)$-%0.3d.txt"
  679.  
  680. * Added "Document|Disk File Properties" menu command. Shows the Windows "File Properties" dialog box for the current document.
  681.  
  682. * The "Help|Replace MS Notepad" menu command is no longer displayed under Windows 2000 (and higher). Windows 2000 does not allow substituting MS Notepad with another program.
  683.  
  684. * Clicking on the More button in the text statistics dialog box now also provides a count of punctuation characters.
  685.  
  686. * Improved support for WordStar commands.
  687.  
  688. * Library files with the hidden attribute set are no longer displayed in the Library Bar.
  689.  
  690. * New shortcut command for System Tray icon to enable/disable the Paste Board (a document set to collect all text sent to the Clipboard). Useful when NoteTab is minimized in System Tray.
  691.  
  692. * Two new command-line parameters:
  693. + 1) NoteTab /L=LibraryName:RunClip
  694. Opens the library and automatically runs the specified Clip. Example:
  695. NoteTab /L=Utilities:Calculator
  696. + 2) NoteTab /INST=InstanceID
  697. Opens a new instance of NoteTab (even if multiple instances is disabled) or activates the instance matching the InstanceID text. Use quotes around InstanceId if it contains spaces. Multiple instances are disabled in instances opened through this method, and documents are not automatically reopened. Example:
  698. NoteTab /INST="HTML Editing"
  699.  
  700. * Improved the command-line parser. Now accepts multiple file names without quotes (as long as the names don't contain spaces).
  701.  
  702. * Changed the method used to associated file types with NoteTab.
  703.  
  704. * Changed method used for handling .ini files. Should be much faster on Windows NT.
  705.  
  706. * Holding Ctrl key down while launching NoteTab resets the .ini file.
  707.  
  708. * Improved handling of single and multiple instances of NoteTab.
  709.  
  710. * NoteTab Pro can now open files larger than 16 MB.
  711.  
  712. * NoteTab can now also determine the size attributes for .png images.
  713.  
  714. * Changed behavior of Ctrl+Left/Right arrows in NoteTab Pro to match the behavior of NoteTab Std/Light.
  715.  
  716. * Loading of a large number of documents can be aborted by holding down the Alt+Ctrl keys.
  717.  
  718. * NoteTab now uses the standard "Browse for Folder" dialog box.
  719.  
  720.  
  721. Clipbar:
  722. --------
  723. * Added support for user-made toolbars, called Clipbars. You can open available Clipbars and create new ones through the "View|Clipbar" submenu commands. Quick instructions to add buttons to a Clipbar:
  724. + Open a new Clipbar or an existing one.
  725. + Open the Clipbook window (F4) and select the library that contains the Clips you want to use from the Clipbar.
  726. + The setting "Single Click to Paste" on the Clipbook tab in the Options box must be unchecked.
  727. + Click on the desired Clip label in the Clipbook window and drag it to the Clipbar. The button is added once you release the mouse button. You can reorder Clipbar buttons by holding the Shift key down and dragging them to the new position.
  728. + To change the button icon, click on it with the right mouse button to open the context menu and choose the "Button Properties" command. Choose a new icon from the list in the dialog box. You can either use the internal NoteTab icons, or your own custom icons. Your icons should be placed in the NoteTab Libraries folder. Accepted image formats are bitmaps (.bmp) and icons (.ico). Recommended maximum image size is 18x18 pixels. Larger images are shrunk to fit in the allocated space and may look distorted. The icon transparency color is determined by the pixel color at the bottom-left corner of the image.
  729. + A Clipbar can contain Clips from any library as long as they remain available in the Libraries directory. Note that the Clipbar reads the Clips from disk only. If you have edited a Clip in NoteTab and want to test it from the Clipbar, you will first have to save your library to disk.
  730. + To save the changes made to the Clipbar, click on it with the right mouse button to open the context menu and choose the "Save Clipbar" command. When the Clipbar is saved, the settings are stored in the Libraries directory in a text file with the .ctb extension. You can edit it manually by choosing the "Edit Clipbar" command from the context menu.
  731.  
  732. IMPORTANT: Currently, the Clipbar cannot handle Clips that use the ^$GetClipText(ClipName)$ function and user-made functions.
  733.  
  734. * The Clipbar supports the OnOpen and OnClose events. Just drag an OnOpen or OnClose Clip to it. The OnOpen event is triggered when a Clipbar is first opened, and when switching to another library. The OnClose event is triggered when switching to another library or starting a new one, and when closing NoteTab. The triggering of these events can be canceled by holding down the Shift key.
  735.  
  736. * Added command-line parameter to open a specific Clipbar when launching NoteTab:
  737.    NoteTab /C=ClipbarName
  738.  
  739.  
  740. Clip Language:
  741. --------------
  742. * Simple text Clips use the "^&" code to determine where selected text should be placed when pasting the Clip contents. If no text is selected, then it marks the position where the cursor should be placed. In NoteTab 4.6 and older, this method did not work in executable Clips. This issue has been addressed in version 4.8. See the HTML library for an example of this new functionality.
  743.  
  744. * You can now apply Clips on text that contains Clip code, without causing it to be interpreted by the Clip parser. Unfortunately, there is a small price to pay for this improvement. The following old function formats for dates: ^[mm/dd/yyyy^] and mathematical evaluation: ^$[Expression] will not work if their arguments are built from the values of variables and functions. Instead of those old function formats, you should use the more recent ^$GetDate(mm/dd/yyyy)$ and ^$Calc(Expression[;Decimals])$ functions.
  745.  
  746. * Conditional commands now accept a command statement instead of a label. The second command statement may not be another conditional command, and it may not be followed by an ELSE-type label. Examples:
  747. ^!If ^%Variable% < 0 ^!Set %Variable%=0
  748. ^!IfFileExist "^%Variable%" GoToLabelTrue ELSE ^!Prompt File does not exist
  749.  
  750. * You can now create your own Clip functions, using an approach that is similar to the ^!Clip command. Custom Clip functions must not have the same name as a pre-defined function. The function name corresponds to the name of the Clip that contains the code. You can create functions that take one parameter or none. You can access the parameter data in your function script by using the ^& code. Your function script must assign the result to the new ^!Result command, or by using the new pre-defined variable %RESULT%. Example:
  751. H="Double"
  752. ^!IfTrue ^$IsNumber("^&")$ Multiply
  753. ^!Result ^&^&
  754. ^!Goto End
  755. :Multiply
  756. ^!Result ^$Calc(^& * 2)$
  757.  
  758. H="TestDouble"
  759. ^!Prompt ^$Double(^?[Enter a number or some text])$
  760.  
  761.  
  762. HTML Editing
  763. ¿¿¿¿¿¿¿¿¿¿¿¿
  764. ^!InsertHtml Any text with tokens (^p/^t)
  765. Similar to ^!InsertText command, but converts HTML tags to Uppercase, Lowercase, or XHTML format (depending on settings in Options).  This command is sensitive to the "Indent on Paste" setting in the Options dialog box on the Clipbook tab. You can precede it with the command "^!SetPasteIndent Off" to make it ignore the indent setting.
  766.  
  767. ^!InsertWizardHtml Any text with tokens (^p/^t)
  768. Similar to ^!InsertHtml command, but removes attributes that have no value. This command is useful when used together with the Clip wizard. It allows the user to leave certain fields blank in the Wizard, and the corresponding tags are then automatically removed before being inserted in the document. Example:
  769.   ^!InsertWizardHtml <TD ALIGN="" WIDTH="">
  770. will insert the following tag in your document: <TD>
  771.  
  772. ^!RunTidy [i|d]
  773. ^!RunTidy [Switches]
  774. HTML Tidy is a free utility that cleans HTML code and fixes errors. This new Clip command will send your document text to the HTML Tidy program. The corrected output returned by HTML Tidy is then inserted into the document. The StdError stream is saved in a file called "StdError.err" in NoteTab's application directory, unless another file is specified with the SetStdError Name command. You can use the optional parameter "Switches" to specify Tidy command-line arguments; example:
  775.    ^!RunTidy -f errs.txt -qiu
  776. If no argument is specified and you have a Tidy.cfg file in the NoteTab folder, then HTML Tidy will be configured according to the settings in that configuration file. If NoteTab does not find the configuration file, it will determine the appropriate switches based on the settings in NoteTab. If you have a Tidy.cfg file, but you want NoteTab to ignore it and use default settings, then use the "d" argument (without the quotes). If you want NoteTab to determine the best settings, but would like to have your tags indented, just use the "i" argument; example:
  777. ^!RunTidy i
  778. You can learn more about HTML Tidy and download the latest version by visiting the following Web page:
  779. http://www.w3.org/People/Raggett/tidy/
  780. The easiest setup is to install the Tidy.exe program file in the NoteTab folder, but you may place it anywhere else if you prefer.
  781.  
  782. ^$GetTidyExe$
  783. Returns full path and name of HTML Tidy application.
  784.  
  785. ^$GetHtmlTagName("TagStr"[;Format])$
  786. Returns the name of the HTML Tag, either in uppercase or lowercase. If the Format parameter is not specified, the character case is determined by the settings in NoteTab's Options. Use the Format parameter to control the format of HTML tags. It can have one of the following values: UPPERCASE, LOWERCASE, or XHTML. Example:
  787. ^$GetHtmlTagName("<TD ALIGN="left" WIDTH="250">";LOWERCASE)$ -> td
  788.  
  789. ^$GetHtmlTagAttr("TagStr";Attr[;Format])$
  790. Returns the value of the specified HTML attribute. If the Format parameter is not specified, the result is determined by the settings in NoteTab's Options. Use the Format parameter to control the case of minimized attributes (it has no effect on the value returned for normal attributes). It can have one of the following values: UPPERCASE, LOWERCASE, or XHTML. Example:
  791. ^$GetHtmlTagAttr("<DL COMPACT>;Compact;XHTML)$ -> compact
  792. ^$GetHtmlTagAttr("<DL COMPACT>;Compact;UPPERCASE)$ -> COMPACT
  793. ^$GetHtmlTagAttr("<TD ALIGN="left" WIDTH="250">";Width)$ -> 250
  794.  
  795. ^$GetHtmlTagTidy("TagStr"[;Format])$
  796. Returns a properly formatted HTML tag converted to uppercase, lowercase, or XHTML format. If the Format parameter is not specified, the result is determined by the settings in NoteTab's Options. Use the Format parameter to control the format of HTML tags. It can have one of the following values: UPPERCASE, LOWERCASE, or XHTML. Example:
  797. ^$GetHtmlTagTidy("<HR SIZE=2 NOSHADE>";XHTML)$ -> <hr size="2" noshade="noshade" />
  798.  
  799. ^$GetHtmlTextTidy("Str"[;Format])$
  800. Returns the string with HTML tags converted to Uppercase, Lowercase, or XHTML format. If the Format parameter is not specified, the result is determined by the settings in NoteTab's Options. Use the Format parameter to control the format of HTML tags. It can have one of the following values: UPPERCASE, LOWERCASE, or XHTML.
  801.  
  802.  
  803. TopStyle
  804. ¿¿¿¿¿¿¿¿
  805. NoteTab now supports Bradsoft's TopStyle CSS editor, version 1.51 and above -- a program for editing Cascading Style Sheets. You can learn more about this useful program and download the latest version by visiting the following Web page:
  806. http://www.bradsoft.com/redir.asp?id=130
  807. Note that the TopStyle commands described below are used in the TopStyle library packaged with NoteTab. There is also a convenient TopStyle Clipbar to access the Clip commands.
  808.  
  809. ^$IsTopStyleEnabled$
  810. Returns 1 if the TopStyle editor is available through NoteTab, and 0 if it is not.
  811.  
  812. ^$EditStyleBlock("Str")$
  813. Opens TopStyle in <style>..</style> block editing mode. Returns the updated style block. Note that the "Str" argument should not include the surrounding <style>..</style> tags.
  814.  
  815. ^$EditStyleAttr("Str")$
  816. Opens TopStyle in inline (STYLE attribute) editing mode. Returns the updated style. Note that the contents of the style attribute should only include the value assigned to the style attribute. For example, if you wish to edit the style attribute in the tag <span style="color:blue">, then you should only pass color:blue to this function.
  817.  
  818. ^!EditStyleSheet [FileName]
  819. Opens the specified style sheet file in TopStyle. If no file name is specified, this command will launch TopStyle without opening a specific style sheet. Note that unlike the EditStyleBlock and EditStyleAttr functions, which block the calling application until the user closes TopStyle, EditStyleSheet simply executes TopStyle and returns immediately.
  820.  
  821.  
  822. Application
  823. ¿¿¿¿¿¿¿¿¿¿¿
  824. ^$GetAppFileName$
  825. Returns the file and path name of the NoteTab program file. Example, with default folder for NoteTab Pro:
  826. ^$GetAppFileName$  -> C:\Program Files\NoteTab Pro\NotePro.exe
  827.  
  828. ^!DirectPrint "Title" Data
  829. Prints text directly to the printer, bypassing NoteTab's print procedure. Uses default printer settings. Title is the text shown in the Print manager and Data is the text to send directly to the printer. Data can contain printer control codes.
  830.  
  831. ^!SetFocus [Clipbook|ClipEdit|Document|Frame1|Frame2|List_Clip|List_Disk|List_Docs|List_Favs|Outline|PasteBoard]
  832. Moves the focus to the specified screen object. This command will fail if the NoteTab window is minimized. Example to move the focus to the Outline-headings window:
  833. ^!SetFocus Outline
  834.  
  835.  
  836. Keyboard
  837. ¿¿¿¿¿¿¿¿
  838. ^$IsCtrlKeyDown$
  839. Returns 1 if the Control key is pressed while the function is executed and 0 if it is not.
  840.  
  841. ^$IsShiftKeyDown$
  842. Returns 1 if the Shift key is pressed while the function is executed and 0 if it is not.
  843.  
  844. ^$IsAltKeyDown$
  845. Returns 1 if the Alt key is pressed while the function is executed and 0 if it is not.
  846.  
  847.  
  848. Selection and Cursor Position
  849. ¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿
  850. ^!Select [EMAIL|HTMLTAG]
  851. The Select command has two new switches. EMAIL extends the selection of an e-mail address under the cursor, and HTMLTAG selects a complete HTML tag.
  852.  
  853. ^$GetWord[(SelectText)]$ and ^$GetBlock[(SelectText)]$
  854. Added the optional Boolean argument "SelectText" to make NoteTab select the corresponding block of text.
  855.  
  856. ^$GetHtmlTag[(SelectText)]$
  857. Returns the HTML tag at cursor position. Use the optional Boolean argument "SelectText" to make NoteTab select the corresponding block of text.
  858.  
  859. ^$GetQuoteBlock[(SelectText)]$
  860. Returns the block of text between double quotes (") at the cursor position. Use the optional Boolean argument "SelectText" to make NoteTab select the corresponding block of text. This function is especially useful for retrieving attribute values within HTML tags.
  861.  
  862. ^$GetColStart$
  863. Returns the cursor column index in the current document. If some text is selected, then the beginning of the selection determines the column position.
  864.  
  865. ^$GetRowStart$
  866. Returns the cursor line index in the current document. If some text is selected, then the beginning of the selection determines the line index.
  867.  
  868. ^$GetColEnd$
  869. Returns the cursor column index in the current document. If some text is selected, then the end of the selection determines the column position.
  870.  
  871. ^$GetRowEnd$
  872. Returns the cursor line index the in current document. If some text is selected, then the end of the selection determines the line index.
  873.  
  874. ^$GetColLeft$
  875. Returns the leftmost column index visible in current document window.
  876.  
  877. ^$GetRowTop$
  878. Returns the index of the top line visible in current document window.
  879.  
  880. ^!SetView RowTop:ColLeft
  881. Moves the top line and leftmost column to the specified coordinates in current document window.
  882.  
  883.  
  884. Clip Code
  885. ¿¿¿¿¿¿¿¿¿
  886. ^!SetDebug [On|Off]
  887. When enabled, a dialog box pops up just before each statement and paste operation is executed. The dialog box shows the parsed instruction or the text about to be pasted in the document. There are three buttons; "Yes" is for continuing execution until the next instruction, "No" disables Debug mode, and "Cancel" ends Clip execution.
  888.  
  889. ^!SetPasteIndent [On|Off]
  890. Enables or disables automatic indenting when a Clip inserts text into a document. The scope of this command is limited to the Clip (and eventual sub-Clips) where it was invoked. When a Clip ends, the original user setting is automatically re-enabled.
  891.  
  892. ^$IsPasteIndent$
  893. Returns 1 if Clips insert text with automatic indenting and 0 if not.
  894.  
  895. ^!DestroyLibrary [LibraryName]
  896. Deletes the specified Clipbook library (path name and extension are not needed). If the optional LibraryName argument is not used, then the library currently running the Clip is closed and destroyed.
  897.  
  898. ^!InsertText Any text with tokens (^p/^t)
  899. Since version 4.8, this command is sensitive to the "Indent on Paste" setting in the Options dialog box on the Clipbook tab. You can precede it with the command "^!SetPasteIndent Off" to make it ignore the indent setting.
  900.  
  901.  
  902.  
  903. Clipbar
  904. ¿¿¿¿¿¿¿
  905. ^!OpenClipbar Name
  906. Opens the specified Clipbar file.
  907.  
  908. ^!CloseClipbar
  909. Closes the current Clipbar.
  910.  
  911. ^!ReloadClipbar
  912. Reloads the current Clipbar.
  913.  
  914. ^$GetClipbarName$
  915. Returns the name of the current Clipbar file.
  916.  
  917.  
  918. Files
  919. ¿¿¿¿¿
  920. ^$GetFileFirst(FilePath;FileSpecs[;Attr][;SortingOrder])$
  921. Added optional Attr parameter. Attr can represent multiple values: A = Archive, H = Hidden, R = Read-only, S = System, * = All attributes. If the Attr parameter is not used, then file attributes are ignored.
  922.  
  923. ^$GetFiles(FilePath;FileSpecs[;Attr][;SortingOrder])$
  924. The parameters are identical to the ^$GetFileFirst$ function. Returns all matching files as a single string using the default separator (;), or the one defined by ^!SetListDelimiter. Note that ^$GetFileNext$ and ^!CloseFileFind do not work with this function. This new function is useful to assign the result to an array variable. Example:
  925. ^!SetArray %Files%=^$GetFiles("c:\Program Files\NoteTab Pro\Documents";*.txt;AR;DATE)$
  926.  
  927. ^!SetFileAttr "FileSpecs" Attr
  928. Changes the file attributes. FileSpecs is the file name, which may have wild cards. Attr can represent multiple values: A = Archive, H = Hidden, R = Read-only, S = System, * = All attributes. Use a minus sign in front of the letter to remove an attribute. The following example sets the Archive attribute and removes the Read-only attribute, if set:
  929. ^!SetFileAttr "c:\Scandisk.log" A-R
  930.  
  931. ^!IfFileAttr "FileName" Attr GoToLabelTrue [ELSE GoToLabelFalse]
  932. Compares FileName attributes with Attr. If Attr is equal or a subset of FileName's attributes, then GoToLabelTrue is activated. Attr can represent multiple values: A = Archive, D = Directory, H = Hidden, R = Read-only, S = System, V = VolumeID, * = All attributes. Example:
  933. ^!IfFileAttr "c:\Scandisk.log" AH LabelTrue ELSE LabelFalse
  934. If Scandisk.log has at least the Archive and Hidden attributes set, then the instruction jumps to LabelTrue.
  935.  
  936. ^$GetFileAttr(FileName)$
  937. Returns the file attributes as a string of characters. A file can have zero, one, or several attributes. The string may contain the following characters: A = Archive, D = Directory, H = Hidden, R = Read-only, S = System, V = VolumeID, * = All attributes. Example:
  938. ^$GetFileAttr(c:\Scandisk.log)$ -> AH
  939.  
  940. ^$GetRelativeName(FileName;BaseDir)$
  941. Returns the relative name of FileName against BaseDir. If BaseDir is not defined, the active document path is used as the reference directory. Example:
  942. ^$GetRelativeName(c:\temp\test\MyFile.txt;c:\temp\)$ -> test\MyFile.txt
  943.  
  944. ^$GetExpandedName(FileName;BaseDir)$
  945. Returns the fully qualified name of FileName against BaseDir. If BaseDir is not defined, the active document path is used as the reference directory. Example:
  946. ^$GetExpandedName(..\MyFile.txt;c:\temp\test\)$ -> c:\temp\MyFile.txt
  947.  
  948. ^$FileToUrl("FileName")$
  949. Converts a Windows file name to a URL file name. Example:
  950. ^$FileToUrl("c:\program files\index.htm")$ -> file:///c|/program%20files/index.htm
  951.  
  952. ^$UrlToFile("URL")$
  953. Converts a URL file name to a Windows file name. Example:
  954. ^$UrlToFile("file:///c|/program%20files/index.htm")$ -> c:\program files\index.htm
  955.  
  956. * The following procedures will now also work with files in the form of URLs
  957.   ^$GetName(FileName)$
  958.   ^$GetFileName(FileName)$
  959.   ^$GetPath(FileName)$
  960.  
  961.  
  962. Text Processing
  963. ¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿
  964. ^!IfMatch "RegExp" "Value2" GoToLabelTrue [ELSE GoToLabelFalse]
  965. Similar to ^!IfSame, but accepts a regular expression for the first value.
  966.  
  967. ^$StrAnsiToAscii("Str")$
  968. Returns Str with all extended ANSI characters converted to ASCII.
  969.  
  970. ^$StrAsciiToAnsi("Str")$
  971. Returns Str with all extended ASCII characters converted to ANSI.
  972.  
  973. ^$IsLowercase("Str")$
  974. Returns 1 if Str does not contain any uppercase characters, and 0 if it does.
  975.  
  976. ^$IsUppercase("Str")$
  977. Returns 1 if Str does not contain any lowercase characters, and 0 if it does.
  978.  
  979. ^$IsCapitalized("Str")$
  980. Returns 1 if Str does not start with a lowercase character and is not followed by any uppercase characters, and 0 if this condition is not met.
  981.  
  982. ^$IsMixedCase("Str")$
  983. Returns 1 if Str contains both lowercase and uppercase characters, and 0 if it does not.
  984.  
  985. ^$IsAlpha("Str")$
  986. Returns 1 if Str contains only characters from the alphabet, and 0 if it does not.
  987.  
  988. ^$IsAlphaNumeric("Str")$
  989. Returns 1 if Str contains only numbers and characters from the alphabet, and 0 if it does not.
  990.  
  991. ^$IsBlank("Str")$
  992. Returns 1 if Str contains only blank characters (tabs, spacebar, line breaks, etc.), and 0 if it does not.
  993.  
  994. ^$StrCapitalize("Str")$
  995. Capitalizes all words in Str and returns the resulting string.
  996.  
  997. ^$StrInvertCase("Str")$
  998. Converts all uppercase characters to lowercase, and lowercase characters to uppercase, and returns the resulting string.
  999.  
  1000. ^$StrSentenceCase("Str")$
  1001. Capitalizes all words following a period, exclamation, and question mark and converts all other words to lowercase.
  1002.  
  1003. ^$CharToDec(Character)$
  1004. Returns the decimal value of Character. Example:
  1005. ^$CharToDec(S)$ -> 83
  1006.  
  1007. ^$DecToChar(Decimal)$
  1008. Returns the character corresponding to the decimal value. Example:
  1009. ^$DecToChar(83)$ -> S
  1010. Note that you should avoid converting the following decimal values 1, 4, 5, and 6 to characters as they have a special meaning for the Clip interpreter.
  1011.  
  1012. ^$IntToHex(Char)$
  1013. Now also returns the ANSI hex code of single character if Char does not represent a number.
  1014.  
  1015.  
  1016. Windows
  1017. ¿¿¿¿¿¿¿
  1018. ^$GetSpecialPath(TypeFolder)$
  1019. Returns the path name of the specified Windows folder. TypeFolder can have one of the following values:
  1020.    AppFolder
  1021.    Desktop
  1022.    DesktopDir
  1023.    StartMenu
  1024.    Programs
  1025.    Startup
  1026.    SendTo
  1027.    Favorites
  1028.    Recent
  1029.    CommonDesktopDir
  1030.    CommonStartMenu
  1031.    CommonPrograms
  1032.    CommonStartup
  1033.    CommonFavorites
  1034.  
  1035. ^!MakeShortcut ShortcutLocation "Target" ["Arguments"] ["Description"] [CmdShow]
  1036. Creates Windows shortcuts. Syntax:
  1037.  
  1038. - ShortcutLocation is the place where the shortcut is created. It accepts the same values as the TypeFolder argument used in the ^$GetSpecialPath(TypeFolder)$ function.
  1039. - "Target" is the program to execute, or the document to launch.
  1040. - "Arguments" are eventual command-line switches you might want to use with the target program.
  1041. - "Description" is an optional parameter you can use to identify the shortcut. If it is left blank, the shortcut name will be the same as the target program name.
  1042. - CmdShow defines how the program is opened. It can have one of the following values:
  1043.    Normal (default if no value specified)
  1044.    Maximized
  1045.    Minimized
  1046.  
  1047. Example:
  1048.   ^!MakeShortcut SendTo "^$GetAppFileName$" "" "Open in NoteTab" MAXIMIZED
  1049.  
  1050.  
  1051. Registry:
  1052. ¿¿¿¿¿¿¿¿¿
  1053. ^!SaveRegValue [BaseRoot\]Key[:Name]=Value
  1054. Saves the specified value under the key entry in the Windows Registry. If BaseRoot is not defined, then HKEY_CURRENT_USER is used. If no value is specified for Name, the "(Default)" name is used. The maximum amount of text that can be saved this way is 1024 characters. Use with care! Example:
  1055. ^!SaveRegValue HKEY_CURRENT_USER\Software\Beta:UserName=Raymond
  1056. ^!SaveRegValue Control Panel\International:sDate=/
  1057. ^!SaveRegValue HKEY_CLASSES_ROOT\.386=vxdfile
  1058.  
  1059. ^$GetRegValue("[BaseRoot\]Key[:Name]")$
  1060. Returns the value stored under the specified key in the Windows Registry. If BaseRoot is not defined, then HKEY_CURRENT_USER is used. If no value is specified for Name, the "(Default)" name is used. Returns an empty string if the key does not exist. Example based on ^!SaveRegValue example:
  1061.    ^$GetRegValue(HKEY_CURRENT_USER\Software\Beta:UserName)$  -> Raymond
  1062.    ^$GetRegValue(Control Panel\International:sDate)$  -> /
  1063.    ^$GetRegValue(HKEY_CLASSES_ROOT\.386)$  -> vxdfile
  1064.  
  1065. ^!ClearRegValue [BaseRoot\]Key[:Name]
  1066. Deletes the specified name or key in the Windows Registry. If BaseRoot is not defined, then HKEY_CURRENT_USER is used. If a Name is specified, then only that name will be deleted from the Registry. If no Name is specified (no colon), then the key and all Names under it will be deleted. Use with care!
  1067.  
  1068. BaseRoot can be any of the following values:
  1069. HKEY_CLASSES_ROOT
  1070. HKEY_CURRENT_USER
  1071. HKEY_LOCAL_MACHINE
  1072. HKEY_USERS
  1073.  
  1074.  
  1075. Bug fixes:
  1076. ----------
  1077. * Made changes to the code underlying the Clip commands ^!RunPerl, ^!RunGawk, ^!RunScript, as well as the functions ^$GetOutput("Command")$, ^$GetInputOutput("Command")$, ^$GetDosOutput("Command")$. These should run better under all versions of Win32, and especially Windows NT.
  1078. * Selecting text containing the characters "^&" (without quotes) in a document and running a Clip using the "^&" code no longer causes NoteTab to freeze.
  1079. * Fixed several problems in the spell-checker.
  1080. * Fixed access violation error when second document window was closed.
  1081. * Fixed RegExp bug when used with Count Occurrences and Replace All.
  1082. * Fixed NoteTab Pro bug that caused file truncation when a paragraph exceeded a length of 65,500 characters.
  1083. * Fixed a glitch in NoteTab Pro when printing text with tabs.
  1084. * Blank lines at end of text are now ignored when printing.
  1085. * Hyperlinks using the format [test.html#anchor] are now correctly converted from OTL to HTML.
  1086. * The Clip command ^!Find no longer attempts to translate NoteTab tokens (^P, ^T, etc.) when a regular expression is specified.
  1087. * Can now run NoteTab from copy-protected disks.
  1088.  
  1089.  
  1090.  
  1091. The NoteTab Mailing List
  1092. ========================
  1093. The mailing list is a great place to meet other NoteTab users -- friendly people from all walks of life, and ranging from complete beginners to experts. If you are a "newbie", ask some of the "old timers" some basic questions to help get you started. Also use this list to exchange ideas, share neat tips and tricks, ask questions, suggest new features, etc. Whether you are a registered NoteTab user or not, you are welcome to join. And best of all, it is free. You will find more information about this list on the following web page:
  1094.  
  1095.    http://www.notetab.com/maillist.htm (main site)
  1096. or
  1097.    http://www.notetab.ch/maillist.htm (Swiss site)
  1098.  
  1099.  
  1100.  
  1101. Hope you enjoy the new features!
  1102. --Eric G.V. Fookes
  1103.  
  1104. ________________________________________________________
  1105. NoteTabÖ is a trademark of Fookes Software, Switzerland 
  1106.   Copyright ⌐ 1995-2002, Fookes Software, Switzerland
  1107.               - All Rights Reserved -
  1108.  
  1109. Windows is a trademark of Microsoft Corporation registered in the U.S. and other countries.  
  1110. All other trademarks and service marks are the property of their respective owners.
  1111.