REXXIO - REXX input/output library
Name REXX input/output library
Version REXXIO 4.8 - 236 Functions
Author LesTec Pty Ltd
P O Box 1394
Dee Why
NSW 2099
AUSTRALIA
Distrib. Beta version
Type REXX DLL
Price -
Source Internet
Name: rexioos2.*
(see Internet - Web Pages)
Description from the author:
"REXXIO is a general REXX Input/Output library to aid general File I/O and
Window/Keyboard/Mouse manipulation. "
REXXIO exports the following functions (v2.1):
Note: Functions marked with an asterisk [*] after the function name
require a licensed copy of "Modular And Integrated Design" to be installed.
- Misc Functions
rexxioinit
Registers all REXXIO functions.
File
Functions
newfile
Creates new file NewFilename.
removefile
copyfile
Copies Filename1 to Filename2.
appendfile
Appends Filename1 to Filename2.
copycontentsfile
Copies contents of Filename1
to Filename2.
copytempfile
Copies Filename to a temporary
file in temporary directory or Directory if specified.
movefile
Moves OldFilename to NewFilename.
reversefile
Reverses line order of all lines
in Filename.
getfilesize
Returns length of Filename.
setfilesize
Sets Filename size to Size.
getshortname
Gets short path form of a specified
path.
getfullpathname
Returns current directory
plus Filename.
getfilepart
Returns Filename part of Fully
Qualified path\name.
getdirpart
Returns Directory part of Fully
Qualified path\name.
findfile
Returns Fully Qualified path\name
of File.
getnolines
Gets number of lines in Filename.
getlinepos
Gets position of line LineNumber
in file Filename.
getline
Gets contents of line LineNumber in
file Filename.
getlineatpos*
Gets
contents of line at position in file Filename.
getstring
Gets String from Filename at Position.
insertstring
Inserts String into Filename
at Position.
insertstringcrlf
Inserts String plus cr/lf
at Position in Filename.
deletestring
Deletes Length chars at Position
from Filename.
insertline
Inserts line into Filename.
deleteline
Deletes line from Filename.
insertfile*
Insert
Filename at a given point.
newfilefromposition*
Creates
new file NewFilename with data from Position.
getcsvcolumn*
Gets
the nth column entry from a CSV tab or comma delimited line.
replacecsvcolumn*
Replaces
the nth column entry into a CSV tab or comma delimited line.
newtempfile*
Creates
new temporary file.
existfile*
Tests
existance of a file.
renamefile*
addquotestoline*
Add
quotes to each end of a line of text.
stripquotesfromline*
Strips
quotes from each end of a line of text.
getkeyfromcsvfilecol*
Gets
unique key from column in CSV file.
readfiletostem*
Reads
a file into a stem variable.
insertfilefromstem*
Inserts
lines in to a file from a stem variable.
inusefile*
Tests
whether a file is is use.
getcharatpos*
Gets
character at position in file Filename.
getwordatpos*
Gets
word at position in file Filename.
Directory
Functions
cd
Changes current directory to NewDirectory.
md
Creates directory NewDirectory.
rd
dirfile
Creates File containing info on Directory\Pattern.
dirstem
Creates StemVariable containing file
info on Directory\Pattern.
dirfiledir
Creates File containing directory
file info on Directory\Pattern.
dirstemdir
Creates StemVariable containing
directory info on Directory\Pattern.
getshellfolders
Gets all Shell Folders into
StemVariable.
gettempdir
Gets Temp Directory Pathname
getcurrentdir
getdesktopdir
Gets directory for desktop.
getdrives
Gets list of logical drives into
a Stem Variable.
existdir*
Tests
existance of a directory.
Search
Functions
searchcaseon
Makes string searches in findstring
case sensitive.
searchcaseoff
Makes string searches in findstring
non case sensitive.
findstringtofile
Seaches All files matching
FilenamePattern for SearchString to Filename.
findstringtostem
Seaches All files matching
FilenamePattern for SearchString to Stem Variable.
changestring
Replaces ReplaceString with NewString
according to StringInfo.
filenamefrominfo*
Gets
filename from StringInfo.
startposfrominfo*
Gets
start position from StringInfo.
endposfrominfo*
Gets
end position from StringInfo.
Window
Functions
toplevelwindowlist
List all Top Level Windows in
Stem Variable.
getwindow
Return handle of window with title.
getwindowwithchild*
Return
handle of window with title that contains child with text.
sendwindowtext
drawwinline
Draw line in a window between
two points.
drawwinbox
Draw box around a point a given
distance from the point.
setwindowpos
getwindowpos
setwindowtopmost*
Place
window above all non-topmost windows.
setwindownormal*
Place
window above all non-topmost windows ,behind all topmost windows.
setwindowbottom*
Place
window at bottom of Z order.
getforegroundwindow*
Get
window in the foreground.
setforegroundwindow*
Place
window in the foreground.
getwindowtitle*
setwindowtitle*
Keyboard/Mouse
Event Functions
sendmouseevent
starteventscapture
Captures all subsequent
Mouse and Keyboard Events to Filename.
stopeventscapture
Stops capture of events
started by starteventscapture.
removelastevent
Removes last event from Filename.
setcapslockon
setcapslockoff
REXX
Functions
runrexxscript
Executes RexxScript with optional
arguments.
runrexxscriptwindow
Executes RexxScript as
a separate process in a window.
runrexxscriptmin
Executes RexxScript as a
separate process in a minimised window.
runtempmaidscript*
Executes
temporary copy of a MAID script.
Registry
Functions
dirregistry
Creates StemVariable containing info
on Registry.
getkeyvalues
Create StemVariable with Key
values for Registry
setkeyvalue
Modifies/Creates key value/data
- creates key if it does not exist
deletekey
deletekeyvalue
Global
Stem Functions
writestemlist
readstemlist
writeallstemlist
Clears stemlist and writes
all stem variables to stemlist.
readallstemlist
Reads all stem variable from
stemlist and leaves items on the list.
peekstemlist
readstemlistitem
peekstemlistitem
stemlisttofile
stemlistfromfile
Import file entries to stemlist.
stemvartofile
Dump stem variable to a file.
stemvarfromfile
Import stem variable from
file.
sizeofstemlist
Get no of entries in stemlist.
freestemlist
getstemtails*
Gets
tails of a stem variable.
reducestemvariable*
Reduces
a stem variable by removong all null entries.
getstemidlist*
Gets
a list of all non NULL ID's belonging to a stem in a stemlist.
getstemtargetlist*
Gets
a list of all non NULL target strings belonging to a stem in a stemlist.
savelocalstems*
Writes
local stem variables to local memory.
restorelocalstems*
Reads
local stem variables from local memory.
General
Functions
pause
beep
Beeps at Frequency for Duration milliseconds.
execute
syscommand*
getosversion
Get operating system
version information.
listprinters
List available printers to a
stem variable.
getdefaultprinter
setdefaultprinter
printstring*
Print
string to default printer.
printfile*
Print
file to default printer.
playwave
importwindow*
Import
a desktop window to become a child of a parent desktop window .
exportwindow*
Export
a child desktop window imported with importwindow .
validatestringchars*
Validates
that a string only contains certain characters.
removestringchars*
Removes
certain characters from a string.
addfuncfromfile*
Add
a list of functions from a file.
closethreadhandles*
Close
thread handles from non-active threads.
Comms
Functions
opencommport*
closecommport*
readcommport*
writecommport*
readcommtofile*
Read
from Comm Port to file.
stopreadcommtofile*
Stop
Read from Comm Port to file.
writecommfromfile*
Write
from file to Comm Port.
writewaitreplycomm*
Write
to Comm Port. and wait for reply.
clearcommbuffer*
Flushes
the transmit buffer.
Event
Functions
whenwinchildsettitle*
When
window with title/child created/visible/invisible/destroyed then set window
title.
whenwinchildrunscript*
When
window with title/child created/visible/invisible/destroyed then run script.
whenfilerunscript*
When
file created/changed/destroyed then run script.
whendirrunscript*
When
directory created/changed/destroyed then run script.
[Back: RXUTILS]
[Next: Utility functions for OS/2 REXX ($?)]