![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
REXXIO - REXX input/output library
Name REXX input/output library
Version REXXIO 5.0 - 238 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
Delete File Filename.
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*
Rename a file.
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
Removes Directory.
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
Gets current directory.
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
Searches All files matching FilenamePattern for SearchString
to Filename.
findstringtostem
Searches 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
Send text to window.
drawwinline
Draw line in a window between two points.
drawwinbox
Draw box around a point a given distance from the point.
setwindowpos
Set window position.
getwindowpos
Get window position.
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*
Get window title.
setwindowtitle*
Set window title.
* Keyboard/Mouse Event Functions
sendmouseevent
Sends a mouse event.
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
Sets Caps Lock ON.
setcapslockoff
Sets Caps Lock OFF.
* 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
Deletes an existing key
deletekeyvalue
Deletes value from a key
* Global Stem Functions
writestemlist
Write to stemlist.
readstemlist
Read from stemlist.
writeallstemlist
Clears stemlist and writes all stem variables to stemlist.
readallstemlist
Reads all stem variable from stemlist and leaves items on
the list.
peekstemlist
Read from stemlist.
readstemlistitem
Read item from stemlist.
peekstemlistitem
Read item from stemlist.
stemlisttofile
Dump stemlist to a file.
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
Frees existing stemlist.
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
Pause in milliseconds.
beep
Beeps at Frequency for Duration milliseconds.
execute
Executes Filename.
syscommand*
Executes System Command.
getosversion
Get operating system version information.
listprinters
List available printers to a stem variable.
getdefaultprinter
Returns default printer.
setdefaultprinter
Set default printer.
printstring*
Print string to default printer.
printfile*
Print file to default printer.
playwave
Play a wave file.
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*
Open Comm Port.
closecommport*
Close Comm Port.
readcommport*
Read from Comm Port.
writecommport*
Write to Comm Port.
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.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs