Your browser has Javascript turned off.
You will experience a more enjoyable time at this Web site if you turn JavaScript on.
Open your browser preferences, and enable JavaScript.
You do not have to restart you browser or your computer after you enable JavaScript. Simply click the 'Reload' button.








Input/Output Features

212 REXXIO Functions - Updated 18 March 2000

File Functions

  • newfile - Creates New File.
  • 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.
  • 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.
  • fixlinefeeds* - Replaces single line feeds with carriage return line feed.
  • fixlinefeedsrememptylines* - Replaces single line feeds with carriage return line feed and removes empty lines.
  • getfilereplacetext* - Replace all occurences of one string with another.
  • importfilestofile* - Imports a list of files into one file.
  • exportfilesfromfile* - Exports a list of files from one file.
  • delexpfilesfromfile* - Deletes a list of files previously exported from one file.
  • createsetupexe* - Creates a setup executable file.

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 - 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 - Send text to window.
  • 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.
  • 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.
  • setcoordwindow - Sets all following co-ordinates relative to a window.

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.
  • runtempmaidmultiscript* - Executes temporary copy of a MAID script from a multiscript file.

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 Variable Functions.

Global Stem Variable 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.
  • validatestringformat* - Validate the format of a string.
  • getrexxioversion* - Returns the REXXIO version information.

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

  • clearcommbuffer* - Flushes the transmit buffer.
  • 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.

Internet Functions

  • geturl* - Get an internet url page.
  • geturlheader* - Get an internet url page header data.
  • getfiletags* - Get HTML tags from a file.
  • getfiletext* - Get text without tags from a file.
  • getfilealttext* - Get text without tags from a file and include any alt definitions from the tags
  • getnameofhost* - Get name of host.
  • gethostipaddress* - Get IP address of host.
  • geturlipaddress* - Get IP address from URL.
  • geturlstructure* - Get an internet url page and the pages referenced beneath it.

Graphic Functions

  • opengraphicwindow* - Create a graphic window.
  • closegraphicwindow* - Close a graphic window.
  • drawwinline* - Draw a line between two points.
  • drawwinbox* - Draw a box around a point a given distance from the point.
  • anglearc* - Draws a straight line and an arc.
  • arc* - Draws an elliptical arc.
  • arcto* - Draws an elliptical arc and the current position is updated.
  • getarcdirection* - Returns the current arc direction
    - arc and rectangle functions use the arc direction.
  • setarcdirection* - Sets the drawing direction to be used for arc and rectangle functions.
  • lineto* - Draws a line from the current position up to, but not including, the specified point.
  • moveto* - Updates the current position to the specified point and optionally returns the previous position.
  • polybezier* - Draws one or more Bézier curves.
  • polybezierto* - Draws one or more Bézier curves and moves the current position to the ending point of the last Bézier curve.
  • polydraw* - Draws a set of lines and Bézier curves.
  • polyline* - Draws a series of lines by connecting the points specified.
  • polylineto* - Draws one or more lines and moves the current position to the ending point of the last line.
  • polypolyline* - Draws multiple series of connected lines.
  • polygon* - Draws a polygon consisting of two or more points connected by straight lines.
  • polypolygon* - Draws a series of closed polygons.
    The polygons drawn by this function can overlap.
  • chord* - Draws a chord (a region bounded by the intersection of an ellipse and a line segment, called a "secant").
  • ellipse* - Draws an ellipse.
    The center of the ellipse is the center of the rectangle.
  • pie* - Draws a pie-shaped wedge bounded by the intersection of an ellipse and two radials.
  • rectangle* - Draws a rectangle.
  • fillrect* - Fills a rectangle with the specified color.
  • framerect* - Draws a border (1 unit thick) around the specified rectangle with the specified color.
  • invertrect* - Inverts the color in the area within the specified rectangle.
  • roundrect* - Draws a rectangle with rounded corners.
  • textout* - Writes a character string at the specified location, using the currently selected font.
  • drawtext* - Draws formatted text in the rectangle.
  • gettextextent* - Computes the width and height of the specified string of text.
  • settextcolor* - Sets the text color
  • gettextcolor* - Gets the text color.
  • listfonts* - List available fonts.
  • settextfont* - Sets the text font.
  • gettextfont* - Gets the text font.
  • setpen* - Sets a pen that has the specified style, width, and color. setbrush* - Sets a brush that has the specified color.
  • setbackgroundcolor* - Sets the current background color to the specified color.
  • setbackgroundmode* - Sets the background mix mode.
  • setneworigin* - Sets the new relative window position of the x,y origin (0,0).
  • getbitmapsize* - Gets the dimensions of a bitmap file.
  • exportbitmap* - Exports the rectangle as a bitmap file.
  • importbitmap* - Imports a bitmap file into a rectangle.
  • getnumberoficons* - Gets number of icons in a file.
  • exporticon* - Exports the rectangle as an icon file.
  • importicon* - Imports an icon file into a rectangle.
  • copyrectangle* - Copies a rectangle to the clipboard as a bitmap.
  • pasterectangle* - Pastes a bitmap from the clipboard into the specified rectangle.
  • getcurrentpos* - Gets the current position.
  • getscrollpos* - Gets the current position of the scroll bars.
  • getscrollrange* - Gets the current range of the scroll bars.
  • setscrollpos* - Sets the current scrollbar positions.
  • updatedisplayon* - Sets graphic display on to reflect all drawing in real time.
  • updatedisplayoff* - Sets graphic display off to freeze the display and draw in memory.

* Functions with an asterisk after the function name require a licensed copy of "Modular And Integrated Design" to be installed.

Back to Main Page

Copyright (c) 1993-2000 LesTec Pty Ltd. All rights are reserved

Click Here!


Created by Brenda Du Plessis
Contact for Web design.
copyright @dupls