[Japanese]

SuperCard 4.5 Externals

These Xmds and Xfcns are freewares.
You can freely use them for commerce or non-commerce use.

However, the author shall not be liable for any damages derived from the use of these externals.


INDEX

Base Conversion

HXConvertBase

Files

Alias
 HXPathToAlias
 HXAliasToPath
 HXResolveAlias
 HXIsAlias

File Path Utilities

PathConv
 HXPathMToU
 HXPathUToM

Graphics

HXBezierCurve Updated!!
CLUT
 HXDumpCLUT
 HXBuildCLUT
HXColor

Keyboard

Modifiers
 HXCapsLock
 HXGetModifiers

Text

Clipboard
 HXSetClipboard
 HXClipboard
HXLineMatch
HXNumList

Text Encoding Conversion

TEC
 HXEnUTF8
 HXDeUTF8
 HXReadText
 HXWriteText
 HXConvertText

Text Encoding Utilities

HXDefaultEncoding
HXTestEncoding

Base Conversion

HXConvertBase Xfcn 1.3 05.08.02
get HXConvertBase(<number>, <fromBase>, <toBase> [, <padWidth> [,"R"]])

HXConvertBase Xfcn converts the base of <number> from <fromBase> to <toBase> and then returns the converted version.


Files

Alias 1.1 05.07.18
Alias is a collection of externals for handling file system aliases. This collection consists of 4 externals below.

HXPathToAlias Xfcn 1.1 05.07.18
get HXPathToAlias(<filePath>, @<aliasData>)

HXPathToAlias Xfcn returns the alias information data of a file <filePath>. The returned alias data is put into a variable passed by reference to the 2nd parameter <aliasData> on return.

HXAliasToPath Xfcn 1.1 05.07.18
get HXAliasToPath(@<aliasData>)

HXAliasToPath Xfcn resovles the alias data to its original file and returns a full pathname of the file.

HXResolveAlias Xfcn 1.1 05.07.18
get HXResolveAlias(<aliasPath> [, <noUI>])

HXResolveAlias Xfcn resovles an alias file to its original file and returns a full pathname of the file.

HXIsAlias Xfcn 1.1 05.07.18
get HXIsAlias(<filePath>)

HXIsAlias Xfcn returns true, if <filePath> is a path of an alias file. Otherwise, it returns false.


File Path Utilities

PathConv 1.2 05.07.18
PathConv is a set of externals for file path conversion. The set consists of 2 externals below.

HXPathMToU Xfcn 1.2 05.07.18
get HXPathMToU(<filePath> [, <encoding>])

HXPathMToU Xfcn converts a Macintosh style path name that was returned by SuperTalk's answer or ask command family to an UNIX (POSIX) style one and then returns it.

HXPathUToM Xfcn 1.2 05.07.18
get HXPathUToM(<filePath> [, "L"])

HXPathUToM Xfcn converts an UNIX (POSIX) style path name to a Macintosh style one and then returns it.


Graphics

HXBezierCurve Xcmd 1.1 05.11.03
HXBezierCurve <drawPolyDesc>, <startPt>, <cntlPt1>, <cntlPt2>, <endPt> [, <quality>]

The HXBezierCurve Xcmd generates the path of bezier curve and sets the shape of draw polygon object to it.

CLUT 1.0 05.08.04
CLUT is a collection of externals for editing 'clut' resources. This collection consists of 2 externals below.

HXDumpCLUT Xfcn 1.0 05.08.04
get HXDumpCLUT([<clutNameOrID> [, <projectDesc>]])

The HXDumpCLUT Xfcn dumps out the index-to-color data of the CLUT (Color LookUp Table)

HXBuildCLUT Xcmd 1.0 05.08.04
HXBuildCLUT <clutData>, <clutName> [, <projectDesc>]

The HXBuildCLUT Xcmd builds a 'clut' (Color LookUpTable) resource from the index-to-color table data.

HXColor Xfcn 1.0 05.08.02
get HXColor(<R>, <G>, <B>)
get HXColor(<HTMLColor>)
get HXColor(<colorName>)


The HXColor Xfcn returns the current CLUT (Color Look-Up Table) index number of the color that is the nearest one specified by its parameters.


Keyboard

Modifiers 1.0 05.06.21
Modifiers is a collection of externals for getting the state of the modifier keys. This collection consists of 2 externals below.

HXCapsLock Xfcn 1.0 05.06.21
get HXCapsLock()

HXCapsLock Xfcn returns "down" if the caps lock key is currently down, else it returns "up".

HXGetModifiers Xfcn 1.0 05.06.21
get HXGetModifiers()

HXGetModifiers Xfcn returns the list of currently pressed modifier keys.


Text

Clipboard 1.1 05.07.18
Clipboard is a set of externals for accessing the clipboard. The set consists of 2 externals below.

HXSetClipboard Xcmd 1.1 05.07.18
HXSetClipboard <text>

HXSetClipboard Xcmd places <text> into the clipboard.

HXClipboard Xfcn 1.1 05.07.18
get HXClipboard()

HXClipboard Xfcn gets and returns the text in the clipboard.

HXLineMatch Xfcn 1.3 05.08.02
get HXLineMatch(<textToFind>, <container> [, <startLine>])

The HXLineMatch Xfcn returns the number of the line within container that IS <textToFind>, optionally skipping a number of lines before beginning the search.

HXNumList Xfcn 1.3 05.07.18
get HXNumList(<start>, <count> [, <step>] [, "R"])

HXNumList Xfcn returns a comma delimited sequential number list.


Text Encoding Conversion

TEC 1.3 05.07.17
TEC is a collection of externals for text encoding conversion. This collection consists of 5 externals below.

HXEnUTF8 Xfcn 1.2 05.07.17
get HXEnUTF8(<text>)

HXEnUTF8 Xfcn converts the text encoding of <text> from the system default encoding to UTF-8 and then returns the converted version of text.

HXDeUTF8 Xfcn 1.2 05.07.17
get HXDeUTF8(<text>)

HXDeUTF8 Xfcn converts the text encoding of <text> from UTF-8 to the system default encoding and then returns the converted version of text.

HXReadText Xcmd 1.3 05.07.17
HXReadText @<text>, <filePath> [, <fileEncoding>]

HXReadText Xcmd reads the text from a file <filePath> and then converts the text encoding of the text from <fileEncoding> to the system default encoding.

HXReadText Xcmd places the converted version of text into <text> on return.

HXWriteText Xcmd 1.3 05.07.17
HXWriteText <text>, <filePath> [, <fileEncoding>]

HXWriteText Xcmd converts the text encoding of <text> from the system default encoding to <fileEncoding> and then writes the converted version of text to a file <filePath>.

HXConvertText Xcmd 1.3 05.07.17
HXConvertText @<text>, <fromEncoding>, <toEncoding>

HXConvertText Xcmd converts the text encoding of <text> from <fromEncoding> to <toEncoding> and then replaces <text> with the converted version of text on return.


Text Encoding Utilities

HXDefaultEncoding Xfcn 1.1 05.07.17
get HXDefaultEncoding(["P"|"I"])

HXDefaultEncoding Xfcn returns the name of the default text encoding on your system.

HXTestEncoding Xfcn 1.2 05.07.17
get HXTestEncoding(<text>)

HXTestEncoding Xfcn returns the name of a Japanese text encoding in which <text> is encoded.