Open Object Rexx™

Windows Extensions Reference

Version 4.0.0 Edition


August 14, 2009

W. David Ashley
Rony G. Flatscher
Mark Hessling
Rick McGuire
Mark Miesfeld
Lee Peedin
Rainer Tammer
Jon Wolfers

Table of Contents
About This Book
Related Information
How to Read the Syntax Diagrams
A Note About Program Examples in this Document
Getting Help
The Rexx Language Association Mailing List
The Open Object Rexx SourceForge Site
comp.lang.rexx Newsgroup
1. The WindowsProgramManager Class
new (Class method)
addDesktopIcon
addShortCut
addGroup
addItem
deleteDesktopIcon
deleteGroup
deleteItem
showGroup
Symbolic Names for Virtual Keys
2. The WindowsClipboard Class
copy
makeArray
paste
empty
isDataAvailable
3. The WindowsRegistry Class
new (Class method)
classes_root
classes_root=
close
connect
create
current_key
current_key=
current_user
current_user=
delete
deleteValue
flush
getValue
list
listValues
load
local_machine
local_machine=
open
query
replace
restore
save
setValue
unload
users
users=
4. The WindowsEventLog Class
Using WindowsEventLog
new (Class method)
minimumReadMin (Attribute)
minimumReadMax (Attribute)
minimumReadBuffer (Attribute)
events (Attribute)
open
close
read (deprecated)
readRecords
write
clear
minimumRead
minimumRead=
isFull
getNumber
getLogNames
getLast
getFirst
5. The WindowsManager Class
desktopWindow
find
foregroundWindow
windowAtPosition
consoleTitle
consoleTitle=
sendTextToWindow
pushButtonInWindow
processMenuCommand
broadcastSettingChanged
6. The WindowObject Class
assocWindow
handle
title
title=
wclass
id
coordinates
state
getStyle
restore
hide
minimize
maximize
resize
enable
disable
moveTo
toForeground
focusNextItem
focusPreviousItem
focusItem
findChild
childAtPosition
next
previous
first
last
owner
firstChild
enumerateChildren
sendMessage
sendCommand
sendMenuCommand
sendMouseClick
sendSyscommand
pushButton
sendKey
sendChar
sendKeyDown
sendKeyUp
sendText
menu
systemMenu
isMenu
processMenuCommand
7. The MenuObject Class
isMenu
isSubMenu
isChecked
isSeparator
items
idOf
textOf(position)
textOf(id)
submenu
findSubmenu
findItem
processItem
8. OLE Automation
Overview of OLE Automation
OLE Events
The OLEObject Class
new (Class method)
dispatch
getConstant
getKnownEvents
connectEvents
isConnected
isConnectable
disconnectEvents
removeEventHandler
addEventMethod
removeEventMethod
getKnownMethods
getObject (Class method)
getOutParameters
unknown
Type Conversion
The Windows OLEVariant Class
new Class method
!VARVALUE_
!VARVALUE_=
!VARTYPE_
!VARTYPE_=
!PARAMFLAGS_
!PARAMFLAGS_=
9. Windows Scripting Host Engine
Object Rexx as a Windows Scripting Host Engine
Windows Scripting Host Overview
Scripting in the Windows Style
Invocation by the Browser
WSH File Types and Formats
Invocation from a Command Prompt
Invocation as a COM Object
WSH Samples
Interpretation of and Deviation from the WSH Specification
Windows Scripting Host (WSH) Advanced Overview
Object Rexx in the WSH Environment
Properties
The Object Rexx "Sandbox"
Features Duplicated in Object Rexx and WSH
A. Notices
Trademarks
Source Code For This Document
B. Common Public License Version 1.0
Definitions
Grant of Rights
Requirements
Commercial Distribution
No Warranty
Disclaimer of Liability
General
Index
List of Tables
1-1. Methods Available to the WindowsProgramManager Class
1-2. Symbolic Names for Virtual Keys
4-1. WindowsEventLog Methods
4-2. Event Record Fields
4-3. Event Types
8-1. Stem Information
8-2. Stem Information
8-3. OLE/Rexx Types