Encoding Suite : String Encoding Converter
MT Decode URL: Decode URL-encoded String
MT Decode URL string -- URL String (%XX...)
Result: string -- String
MT Encode URL: Encode string into URL format
MT Encode URL string -- String
Result: string -- URL Encoded String
MT Parse CGI: Decode and Parse CGI argument sent from Web server
MT Parse CGI string -- CGI argument
[field name boolean] -- Including field's name in the result (Default=false)
[convert to SJIS/EUC/JIS/MacRoman/None] -- desired encoding type (Default=SJIS)
*MacRoman = Latin1 to Mac conversion
Result: list -- List of messages
MT Pack CGI: Pack list into CGI argument
MT Pack CGI list -- List of name & value lists (eg. {{name,value},{name,value}})
Result: string -- CGI argument string
MT Decode Base64: Decode Base64 string
MT Decode Base64 string -- Base64 String
[to file specification] -- Target File
[creator type type class] -- File Creator for saved file
[file type type class] -- File Type foe saved file
[Result: string] -- Decoded data
MT Encode Base64: Encode into Base64
MT Encode Base64 anything -- Data
Result: string -- Base64 String
MT Decode MIME J: Decode MIME Headers of Japanese Mail (ISO-2022-JP)
MT Decode MIME J string -- JIS (ISO-2022-JP) String
Result: string -- JIS (ISO-2022-JP) String
MT Encode MIME J: Encode JIS-String to ISO-2022-JP MIME String
MT Encode MIME J string -- JIS String
Result: string -- MIME Encoded JIS
MT Convert W code: Convert Western Language encoding
MT Convert W code list of string -- String / List of strings
from MacRoman/Latin1/HTML -- source encoding
to MacRoman/Latin1/HTML -- desired encoding
[untouch eight bits boolean] -- Untouch 8 bit characters in HTML conversion
Result: list of string -- String / List of strings
MT Detect J code: Detect Japanese Encoding Type (Kanji Code)
MT Detect J code string -- String to check
Result: SJIS/JIS/EUC -- Type of Encoding
MT Convert J code: Convert Japanese encoding (Kanji Code)
MT Convert J code list of string -- string / List of strings
[from SJIS/JIS/EUC] -- source encoding (default=auto detect)
[to SJIS/JIS/EUC] -- desired encoding (Default=SJIS)
Result: list of string -- string / List of strings
MT Zap Characters: Zap Control and 8bit characters (replace with space)
MT Zap Characters string -- String
[zapping Controls boolean] -- zap controls chars (default=true)
[zapping eight bits boolean] -- zap 8bits chars (Default=true)
Result: string -- Zapped String
Galapagos Suite : Utility for CGI scripting
MT List Files: List up files in folder
MT List Files anything -- Folder (File Spec, Alias or Fullpath)
[of creator list] -- List of creator types to list
[of type list] -- List of file types to list
[of attribute file attribute] -- Attribute to list
[name contains string] -- List up files whose name contains this Param
[modified in small integer] -- List files modified in these param days (This suppresses both 'modified after' and 'modified before' parameters)
[modified after date] -- List files modified after this date
[modified before date] -- List files modified before this date
[created in small integer] -- List files created in these param days (This suppresses both 'created after' and 'created before' parameters)
[created after date] -- List files created after this date
[created before date] -- List files created before this date
[keyword string] -- List up files that contains this keyword
[size limit integer] -- List files whose Data Size (not File Size) is smaller than this param bytes
[case sensitive boolean] -- Case Sensitive search for 'name contains' and 'keyword' (default=false)
[return as type class] -- desired type -- string (=Fullpath)/file specification/alias (default=file name)
[sub folders boolean] -- contains sub folders' files (default=false)
Result: list -- List of Files (Default= list of name)
MT Count Files: Count Files in a folder
MT Count Files anything -- Folder
[of creator list] -- list of creator type
[of type list] -- list of file type
[of attribute file attribute] -- Attribute of file to count
[name contains string] -- count files whose name contains this param
[modified in small integer] -- count files modified in <this param> days
[modified after date] -- count files modified after this param date
[modified before date] -- count files modified before this param date
[created in small integer] -- List files created in these param days (This suppresses both 'created after' and 'created before' parameters)
[created after date] -- List files created after this date
[created before date] -- List files created before this date
[keyword string] -- count files that contains this param in data
[size limit integer] -- count files whose data size is lower than this param
[case sensitive boolean] -- case sensitive search of <name contains> and <keyword> (default=false)
[sub folders boolean] -- Count files in sub folders (default=false)
Result: integer -- Number of files
MT List Folders: List names of folders
MT List Folders anything -- Folder (File Spec, Alias or Fullpath)
[name contains string] -- List up files whose name contains this Param
[modified in small integer]
[modified after date] -- List files modified after this date
[modified before date] -- List files modified before this date
[created in small integer] -- List files created in these param days (This suppresses both 'created after' and 'created before' parameters)
[created after date] -- List files created after this date
[created before date] -- List files created before this date
[case sensitive boolean] -- Case Sensitive search for 'name contains' (default=false)
[sub folders boolean] -- contains Sub Folders (Default =false)
[return as type class] -- desired type -- string (fullpath), file specification or alias
Result: list -- list of folders
MT Count Folders: Count folders
MT Count Folders anything -- Folder
[name contains string] -- List up files whose name contains this Param
[modified in small integer]
[modified after date] -- List files modified after this date
[modified before date] -- List files modified before this date
[created in small integer] -- List files created in these param days (This suppresses both 'created after' and 'created before' parameters)
[created after date] -- List files created after this date
[created before date] -- List files created before this date
[case sensitive boolean] -- Case Sensitive search for 'name contains' (default=false)
[sub folders boolean] -- contains Sub Folders (Default =false)
Result: integer -- number of folders
MT Random Item: Select a Item (file or folder) in the folder Randomly
MT Random Item anything -- Folder (File Spec, Alias or Fullpath)
Result: file specification -- Some Item in the Folder
MT Count Folder Items: count items (files and folders) in the folder
MT Count Folder Items anything -- Folder (File Spec, Alias or Fullpath)
Result: small integer -- Number of Items
MT Parse: Parse string into a list
MT Parse string -- string
[item delimiter string] -- Item Delimiter (default=tab)
[line delimiter string] -- Line (record) Delimiter (Default=return)
[case sensitive boolean] -- case sensitive search of delimiters (Default=true)
[return as type class] -- Desired type of item (if coercion failed, remain 'TEXT') (Default='TEXT")
Result: list -- List
MT Join List: Concatenate List of Strings into a string
MT Join List list -- List of Strings
[line delimiter string] -- Delimiter for concatenating list (Default=Return)
[item delimiter string] -- item delimiter (Default=tab)
Result: string -- String
MT ASCII Numbers: Convert Data to list of ASCII Number
MT ASCII Numbers anything -- Data
Result: list -- List of ASCII Numbers
MT ASCII Characters: Convert List of ASCII Numbers into a String
MT ASCII Characters list -- List of ASCII Numbers
Result: string -- String
MT Digit String: Convert Integer into Format string ( 2 -> "002")
MT Digit String integer -- Integer
digit small integer -- Number of Digit
Result: string -- String
MT Byte Length: Byte length of Data
MT Byte Length anything -- Data
Result: integer -- Bytes
MT Hex Dump: Hex Dump
MT Hex Dump [anything] -- Data (this suppresses 'source')
[source anything] -- File (FileSpec, Alias or Fullpath)
[from integer]
[to integer]
Result: list -- list of Hexed byte
MT Get Info: File Information
MT Get Info anything -- File (FileSpec, Alias or Fullpath)
about creation_date/modification_date/data_size/resource_size/file_type/creator_type/is_alias/is_stationery/is_locked/is_busy/has_customIcon -- Desired information
Result: anything -- File Information
MT Change File Info: Change File Info
MT Change File Info anything -- File or List of files
[creation date date] -- creation date
[modification date date] -- modification date
[creator type type class] -- ceator type
[file type type class] -- file type
MT Resolve Alias: Resolve Alias file
MT Resolve Alias file specification -- File/Folder
Result: alias -- File/Folder
MT Replace: Replace
MT Replace list of string -- String or list of strings
search list of string -- Search String
replace list of string -- Replace String
[case sensitive boolean] -- Case-Sesitive Search? (default=false)
[only first hit boolean] -- replacing only 1st hit (match)
Result: string -- String or list of strings
MT Swap characters: Swap 1-byte characters
MT Swap characters string
search list list -- list of 1-byte character to search
replace list list -- list of 1-byte character to replace
Result: string
MT Search Position: Search string's position (byte position)
MT Search Position string -- string
search string -- search string
[case sensitive boolean] -- case sensitive search (default=false)
Result: list -- List of position
MT Extract String: Extract string
MT Extract String string -- string
[from integer] -- extract from this byte (omit=top)
[to integer] -- extract to this byte (omit=end)
[cut boolean] -- Cut the range instead of extracting (default=false)
Result: string -- string
MT Unify LineBreaks: Unify Line-Breaks to return (CR)
MT Unify LineBreaks list of string -- string / list of strings
Result: list of string -- string / list of strings
MT Strip Spaces: Strip Head/Tail Spaces of each lines
MT Strip Spaces string -- String
target side head/tail/both -- target side
[including tab boolean] -- also strips Tail/Head Tabs
Result: string -- String
MT Change Spaces To Tab: Change continuous spaces into tab
MT Change Spaces To Tab string -- String
per small integer -- mimimun number of continus spaces for converting to Tab
[exact boolean] -- convert exactly by <per> number
Result: string -- String
MT Write Clipping: Write data to a Clipping file
MT Write Clipping anything -- String or Picture
to file specification -- Target File
[as URL boolean] -- Save string as URL Clipping
MT Read Clipping: Extract Data from a Clipping File
MT Read Clipping anything -- Clipping File (File Spec, Alias or Fullpath)
[data type type class] -- Data Type to extract (Default='TEXT')
Result: anything -- Data
MT Write File: write data to file
MT Write File string -- Data to write
to file specification -- Target file
[creator type type class] -- File Creator for New File
[file type type class] -- File Type for New file
[appending boolean] -- Append Data to the file (default=false)
MT Read File: read data from a file or list of files
MT Read File anything -- File or List of Files
[from integer] -- read from this byte
[to integer] -- read to this byte
[separation boolean] -- read list of files into separated list (default=false)
Result: anything -- Data/List of data
MT Read Head: Reading head of files
MT Read Head list of list -- list of files
[size integer] -- reading size in bytes (Default=1024 bytes)
Result: list of list
MT Merge Files: Merge Files to a file
MT Merge Files list -- List of Files to merge
to file specification -- Destination file
[creator type type class] -- Creator for New File
[file type type class] -- File Type for New File
[header string] -- Header to each file's data
[footer string] -- Footer to each file's data
[appending boolean] -- Append to file (Default=false)
MT Pick Strings: Pick strings from Data (direct param) or a file (source param)
MT Pick Strings [string] -- String (This suppresses 'source')
[source anything] -- File (FileSpace, Alias or Fullpath)
start with string -- pick strings that start with this parameter
end with string -- pick strings that end with this parameter
[trimming boolean] -- picked string will not contain <start with> and <end with> characters (Default=false)
[case sensitive boolean] -- case sensitive search for <start with> and <end with> characters (Default=false)
Result: list -- List of strings
MT Pick Lines: Pick all lines that contains keyword
MT Pick Lines [string] -- Data (This suppresses source param)
[source anything] -- File (FileSpec, Alias or Fullpath)
keyword string -- Search String
[case sensitive boolean] -- Case Sensitive search for keyword (Default=false) *Searching for delimiters is always case sensitive
[search item small integer] -- Item to search (Default all items)
[limit small integer] -- How many lines to pick up (default = all hits lines)
[line delimiter string] -- Line delimiter (default = return)
[item delimiter string] -- Item Delimiter (Default=Tab)
Result: list -- List of Lines
MT Page Title: Obtains <TITLE> of the page (HTML file)
MT Page Title anything -- HTML File (File Spec, Alias or Fullpath)
Result: string -- Title of the page
MT Count keywords: Count keywords in data or a file
MT Count keywords [string] -- Data (This supresses "source" param)
[source anything] -- File (FileSpec, Alias or Fullpath)
keyword string -- Keyword
[only contain check boolean] -- only checking whether target has keyword or not (Default=false) * 1=found, 0=Not Found
[case sensitive boolean] -- Case sensitive search (Default=false)
Result: small integer -- Number of keyword
MT TimeStamp: return TimeStamp String (YYMMDDHHMMSS)
MT TimeStamp
[long format boolean] -- Long format string (YYYYMMDDhhmmss)
Result: string -- TimeStamp
MT DateList: return List of Date Items {Year,Month,Day,Hour,Minute,Second,DayOfWeek}
MT DateList
[string list boolean] -- return as string list
Result: list -- Date Items List
MT Convert Date: Convert Date Data (or current date) into desired type
MT Convert Date [anything] -- Date, TimeStamp, Header string or DateList
to type class -- Desired type (Date/DateList/TimeStamp/Header string/string) * string = Short date string
[string list boolean] -- return DateList as string list
[long format boolean] -- Result TimeStamp is long format (YYYYMMDDhhmmss)
Result: anything -- converted data
MT Read Pict File: Read PICT File
MT Read Pict File anything -- PICT File (File Spec, Alias or Fullpath)
Result: picture -- PICT object
MT Write Pict File: Write PICT object to a file
MT Write Pict File picture -- PICT object
to file specification -- Target File
creator type type class -- File Creator for New File
MT Pict Info: Width, Height and Size of PICT object
MT Pict Info picture -- PICT Object
Result: list -- List of Info
MT Resource Suite : Read / Write Resource data
MT Store in Resource: Store object(data) in resource
MT Store in Resource anything -- Object (data)
to file specification -- Target File
ID small integer -- ID of resource
[name string] -- name for new resource
MT Load Resource: Load resource as object (data)
MT Load Resource anything -- File or List of Files
type type class -- resource type
[ID small integer] -- ID of resource (if not specified, returns first found one)
Result: anything -- Object (data) / List of object
MT Read Resource: Read String resource ('TEXT', 'STR ', 'STR#' )
MT Read Resource anything -- File (FileSpec, alias or Fullpath)
of type list -- Resource Type
ID small integer -- ID
[index small integer] -- Index for STR#
Result: list of string -- String
MT Write Resource: Write String data into resource
MT Write Resource list of string
to file specification -- Target File
of type list -- Resource type
ID small integer -- ID
[index small integer] -- Index for STR#
[name string] -- name for new resource ('TEXT' or 'STR ')
MT Zap Resource: Zap Resource Fork of a file (remove resources of a file)
MT Zap Resource anything -- File or List of Files
MT Zap Custom Icon: Zap file's custom icon
MT Zap Custom Icon anything -- File or List of Files
Tanaka's osax