Program Management

 

 

Function list

By type

Alphabetically

 

 

AppExist( program-name [, flags [, retries]])

Tells if an application is running.

AppWaitClose( program-name [, flags [, retries]])

Suspends WIL program execution until a specified application has been closed.

CreateObject( progId, location )

Pseudonym for ObjectCreate. Creates and returns a reference to a COM/OLE object.

DllCall( dllfilename/dllhandle, returntype:entrypoint [ ,paramtype:param... ] )

Calls an external Dll.

DllCallCdecl( dllfilename/dllhandle, returntype:entrypoint [ ,paramtype:param... ] )

Calls an external DLL using the Cdecl calling convention.

DllLastError()

Returns the most recent error returned by a DllCall to a Win32 API.

DllLoad( dllname )

Loads a Dll for later use via the DllCall function.

EnvironSet( env-varname, newvalue )

Changes LOCAL Environment variables.

GetObject( moniker, progId )

Pseudonym for ObjectGet. Returns a reference to an object provided by a COM/OLE component.

ObjectAccess( app.objname )

Opens or creates a COM/OLE Automation object.

ObjectCollectionClose( enumeration-handle )

Ends enumeration of a COM/OLE collection object.

ObjectCollectionNext( enumeration-handle )

Continues enumeration of a COM/OLE collection object.

ObjectCollectionOpen( objecthandle )

Initializes enumeration of a COM/OLE collection object.

ObjectConstantsGet( object )

Creates a Constants object.

ObjectConstToArray( constants )

Creates an array of Constants object names and values.

ObjectClose( objecthandle )

Closes COM/OLE automation object.

ObjectCreate ( progId, location )

Creates and returns a reference to a COM/OLE object.

ObjectGet( moniker, progId

Returns a reference to an object provided by a COM/OLE component.

ObjectOpen( objectname )

Opens or creates a COM/OLE automation object.

ObjectType( variant-type, value )

Creates a WIL variable with a specific COM/OLE variant type.

ObjectTypeGet( variable-name )

Gets the COM/OLE variant type of a WIL variable.

Print( data file, directory, display mode, reserved )

Instructs an application associated to a file to print the file on the default printer.

Run( program-name, parameters )

Runs a program as a normal window.

RunEnviron( program name, parameters, displaymode, waitflag )

Launches a program in the current environment as set with the EnvironSet command.

RunHide( program-name, parameters )

Runs a program as a hidden window.

RunHideWait( program-name, parameters )

Runs a program in a hidden window and waits for it to close.

RunIcon( program-name, parameters )

Runs a program as an icon.

RunIconWait( program-name, parameters )

Runs a program as an icon and waits for it to close.

RunShell( program-name, params, directory, displaymode, waitflag )

An advanced form of the Run function that even allows the specification of a working directory, along with the window view mode and whether or not to wait for completion of the run program in a single function.

RunWait( program-name, parameters )

Runs a program as a normal window and waits for it to close.

RunWithLogon( program-name, params, directory, display mode, waitflag, username, domain, password, logon-flags )

Runs a program as a specified user. (Windows 2000/XP/2003+)

RunZoom( program-name, parameters )

Runs a program in a maximized window.

RunZoomWait( program-name, parameters )

Runs a program in a maximized window and waits for it to close.

ShellExecute ( program-name, params, directory, display mode, operation )

Runs a program via the Windows ShellExecute command