![]() | ||||
![]() |
|
![]() |
||
![]() |
![]() | |
![]() |
Michael's TSE Macro Development PageThese are some Macros that I'm developing for The Semware Editor (voted the Best Text Editor in the Universe, six times running, by the Nine Galactic Councils of Quaaag).TSE MacrosCodePad - Line up code nicely into columnsv1.1.4 (Jun 19, 2002) Macro to line up code nicely into columns, padding spaces around = signs and other punctuation. Platform: TSE Pro 2.x/3.x/4.x Requirements: The DOS version of TSE needs the 'Profile' package.
Download:
CPad114.zip
v1.1.9 (Jun 19, 2002)
System for determining current file
type, allowing many actual file
extensions to map to the same type.
e.g. '.s', '.ui', '.si'
all appear as '.s'.
Also includes notes on how to
modify standard TSE UI files
to use CurrExt.
Platform: TSE Pro 2.x/3.x/4.x
Requirements: The DOS version of TSE needs the 'Profile' package.
Download:
CExt119.zip
v1.0.4 (Jun 19, 2002)
Small macro to locate the
current TSE.INI file. Will
return the same file for
TSE/DOS and TSE/WIN32.
Platform: TSE Pro 2.x/3.x/4.x
Requirements: none
Download:
FProf104.zip
v1.3.5 (Dec 12, 2001)
Macro for reading and writing INI files.
Based on Chris Antos INI.MAC (INI110.ZIP),
but it has been modified to use the
same syntax and functionality as the
(undocumented) GetProfile* commands now
provided by TSE/32.
Platform: TSE 2.5 (DOS) Only
Requirements: none
Download:
Prof135.zip
v1.0.5 (Jun 19, 2002)
Tools to allow macros to cache
their settings in memory, but
reload them from disk when
necessary.
Platform: TSE Pro 2.x/3.x/4.x
Requirements: none
Download:
SCach105.zip
v1.1.8 (Jun 19, 2002)
Allows line-based commenting for any
programming language. Automatically uses
the correct comment string for the type
of file you are editing! Intelligently
wordwraps comment blocks! Enter
key continues comment from previous
line! Joinline automatically deletes
comment from next line before joining!
Single key toggles comment/uncomment for
a line or a whole block!
Platform: TSE Pro 2.x/3.x/4.x
Requirements: The DOS version of TSE needs the 'Profile' package.
Download:
YACS118.ZIP
Version: <19-Jun-2001>
Author:
Jean Héroux, with some modifications by me.
Author:
Platform: TSE Pro 2.x/3.x/4.x
FilePal will save, for a given file,
the current position and bookmarks, plus
editing parameters Insert, AutoIndent,
WordWrap, Margins, TabType, TabWidth,
ExpandTabs, EOLType and EOFType.
Default values for these parameters may
also be associated with extensions,
directories and drives. Put a file on
AutoTrack and the current position,
parameters and bookmarks will be saved
automatically each time the file is quit
and restored on reloading. FilePal keeps
track of any number of files, even if
not loaded during the previous editing
session. FilePal also supports automatic
execution of specific macros linked to
filenames, extensions, directories and
drives.
This version fixes an issue with Long File Names.
Requirements: none
Download:
FilePal.zip
Version: <17-Jun-2002>
Authors: Rick VanNorman, with updates by me.
Platform: TSE Pro 3.x, 4.x
"OnlyOne" allows only one copy of TSE to run on a windows 9x/NT/2000
platform. When you edit a file from outside of the editor, the single
instance of TSE gets notified. It then opens the file, and brings
itself to the foreground.
Updated to solve focus issues under Win98 and Windows 2000
It can also now work with programs that expect the editor to
terminate only when you are finished editing a file. (When you
quit the file, TSE stays open, but control returns to the calling
application.)
Updated to work properly with the Becky Mail Client
(allowing you to use TSE as Becky's message editor)
It also has the ability to autosave all files when it looses focus.
See included OnlyOne.txt file.
Requirements: none
Download:
OnlyOne.zip
I am currently developing the following macros. Comments and bugreports
especially welcome! They should be reasonably stable and documented,
but please be especially careful with them. Remember, as indicated in
the license for all of my macros, you use this software at your own
risk. The software comes with no warrantee whatsoever, including the
implied warrantees of merchantability or fitness for a particular use.
Because these are still in beta testing, some features and/or interfaces
may change in future versions.
BETA: 0.9.6 (Aug 9, 2002)
System for creating incremental backups (file.000, file.001,
etc.).
It will optionally store all backups in a central
repository, maintaining a complete directory hierarchy
containing incremental backups of every file you have
edited, keeping up to 1000 of the most recent versions
of each file.
Platform: TSE Pro 2.x/3.x/4.x
Requirements: The DOS version of TSE needs the 'Profile' package.
Download:
Arch096.zip
BETA: v0.9.2 (Jun 19, 2002)
Macro for editing GEDCOM genealogical
databases.
Provides menus for browsing and editing individuals
and families. You can add, remove and edit
relations for a given individual or family by
picking from a list.
Platform: TSE Pro 2.x/3.x/4.x
Requirements: none
Download:
GEDIT092.ZIP
BETA: v0.9.7 (Jun 19, 2002)
Enhances the built-in find command with the following new features:
Platform: TSE Pro 2.x/3.x/4.x
Requirements: The DOS version of TSE needs the 'Profile' package.
Download:
MFind098.zip
BETA: v0.9.3 (Jun 19, 2002)
Allows you to edit or view the docs for a Perl module by
name (e.g. Apache::Session, Net::FTP).
The name is picked up from the current line in the
file you are editing, so all you have to do is move
the cursor to a 'use' or 'package' statement in your
Perl program and press a key to edit or view the
module!
For editing, it will search for the module in
a list of module directories on your system.
To view the docs for a module it will launch
your web browser and navigate to the documentation
on http://www.perldoc.com/ by default, although
this also can be configured.
Also included is a simple Perl CGI script
that you can install on your own web server
to view documentation for the modules you have
installed on that system.
Platform: TSE Pro 2.x/3.x/4.x
Requirements: The DOS version of TSE needs the 'Profile' package.
Download:
plMod093.zip
BETA: v0.9.2 (Jun 19, 2002)
Ringlets lets you have multiple rings of files in
TSE. It's like having multiple virtual editors
inside of a single editing session!
You can use these rings for whatever purpose you
like. Here are some common uses:
Some other features:
Platform: TSE 3.x only
Requirements: none
Download:
Ring092.zip
BETA: v0.1.5 (Jun 19, 2002)
Type "e /etc/passwd" on your Unix system,
and the file appears in your Windows TSE
editing session!
This package consists of a shell script on the
Unix side, and a watcher macro on the TSE side.
For this package to work you will need a
samba share on the Linux/Unix system, and
access to this share from the machine
running TSE. You do not need to share
the entire Unix filesystem; just a single
directory will do.
Platform: TSE 3.x only
Requirements: none
Download:
UnixE015.zip
Here you will find all of my .ui files, and the .s files that aren't yet
polished enough for human consumption. Recently, with the beta release
of my Ringlets macro (see above), there's not much here of interest
anymore.
But this package does my own <ahem> unique
set of keyboard mappings, for the brave of heart and the light
of finger. You have been warned.
Download:
magui138.zip
All of these packages were automatically bundled with my
buildmac system, which consists of a (a) Perl script designed to run
under Windows, (b) some configuration files, and (c) a profound absense of
documentation.
The buildmac system makes my life a lot easier by pulling together
the latest version of my macros from my live TSE macro directory,
along with all the docs and support files for each package.
It conveniently pulls all the package meta information (package name,
version info, description, etc.) from the source file; then it puts
all this in the docs and the FILE_ID.DIZ file.
UPDATE: Buildmac is now over 20 times faster, after I removed
some astonishingly stupid code!
Finally it zips all the packages up and rebuilds this HTML page using the
same meta information.
You can download the buildmac system here. Use at your own risk.
|
![]() | |
![]() | |
![]() | |
![]() |