home *** CD-ROM | disk | FTP | other *** search
- Note: In this current release....
-
- NT Versions
-
- OLE 2.0 automation not currently supported with NT versions.
- FAT, NTFS, and HPFS files systems supported.
-
- WIN16 Versions
-
- All listed features functional. Documentation for these
- new features is a tad slim and will remain so until the
- next major release.
-
-
- debugdata(String,String)
- Dumps data via the Windows OutputDebugString to your default
- destination
-
- a=5
- DebugData("Value of A is",a)
-
- winisdos(WindowName)
- Tells whether or not a particular window is a DOS window.
-
- a=WinIsDOS("Command")
- if a==@TRUE then Message("command.com","is a DOS window")
-
- gettickcount(void)
- Returns number of clock ticks since Windows started
-
- Message("Clock Ticks",GetTickCount())
-
- getexacttime(void)
- Returns current time in hundredths of a second
-
- Message("Time is",GetExactTime())
-
- shellexecute(who,params,workingdir,how,wait)
- Executes programs via the Windows ShellExecute function
-
- ShellExecute("notepad.exe","c:\config.sys","",@NORMAL,@NOWAIT)
- @ZOOMED @WAIT
- @ICON
- @HIDDEN
-
- shellprint(program/file ,params,workingdir, how, wait)
- Calls the Windows ShellExecute function to print data.
-
- ShellPrint("Stuff.txt","",GetDir(),@NORMAL,@NOWAIT)
-
-
- objectopen(progidname)
- Creates an Ole Object for Ole Automation to occur.
- See OLECALC.WBT and OLEPOLY.WBT
-
- ObjectName=ObjectOpen("display.ccalc")
-
-
- objectclose(ObjectName)
- Terminates an Ole Object.
- See OLECALC.WBT and OLEPOLY.WBT
-
- runexit(who,params)
- Exits windows, runs a DOS program, and restarts windows when DOS
- program exits. Great for running batch files outsize of Windows.
-
-
-
-
- regopenkey(handle,string)
- Returns handle to key. For root key use @REGROOT
-
- regcreatekey(handle,string)
- Returns handle to key. For root key use @REGROOT
-
- regclosekey(handle)
- Closes a key
-
- regdeletekey(handle,string)
- Deletes a key
-
- regsetvalue(handle,string,value)
- Sets a value in the reg database
-
- regqueryvalue(handle,string)
- Retuns valuse in a string
-
- regquerykey(handle,index)
- Returns name string at index position (SDK Guys...see RegEnumKey)
-
-
-
-
- environset(name,value)
- Changes LOCAL Environment variables (Also see Environment in manual)
- Does not increase environment size, so to add new values, you must
- delete something first.
-
- Environset("DUMMY","") ; Free up some space first
- EnvironSet("FLAGCITY","-a-b-c-d-e /4/5 -Fc")
-
- runenviron (who,params,how,wait)
- Launches a program and has it inheirit the current environment as set
- with the environset command.
-
- exetypeinfo(EXENAME)
- Returns interger describing type of EXE file specified
-
- a=ExeTypeInfo("notepad.exe")
-
- 0=Not an EXE file
- 1=DOS
- 2=Windows
- 3=NT, etc....not implemented yet. Have they settled on the NT EXE
- file format yet???
-
- envitemize()
- Returns a \n delimited list of the current environment
-
- Message("Da Environment is",envitemize())
-
-
-
- KeyToggleGet(@key) returns the status of a toggle key, either @ON or @OFF
- KeyToggleSet(@key,value) returns old state of key and sets new state
-
- @key may be one of the following:
- @CAPSLOCK
- @NUMLOCK
- @SCROLLLOCK
- value may be @ON or @OFF
-
-
- DllCall(dllname,entrypointname,parameters)
-
- as in:
- Answer=DllCall("MYOWN.DLL","DoitToit","123 4567 'A Few Params'")
-
- The DLL entrypoint must be written per:
-
- Win16
- GLOBALHANDLE FAR PASCAL DoitToit(HWND,LPSTR)
- WINNT
- GLOBALHANDLE DoitToit(HWND,LPSTR)
-
- Any return value by the DLL must be in a szString format in
- a GlobalMemory object. The Object must be unlocked when
- the the DLL returns. The DllCall processor will lock the object,
- transfer the contents to variable string storage, unlock the
- object and GlobalFree the object. It is recommended that
- restraint be used in returning large strings. 4K should be
- considered a maximum. 16K will be very unreliable (3096 out of
- memory for string storage). 32k will always fail. Numeric
- responses must be converted to ascii strings. There should be
- a sample DLL build for this by the time we really ship.
-
-
- IconReplace("FILENAME.EXE","ICONFILE.ICO")
- Icon replace will preform surgery on an EXE file and replace the first icon in the EXE file
- with the icon in the ICO file. The icon in the ICO file must be the same size or smaller
- then the icon in EXE file. It is suggested that due caution be used when using this command
- as the following conditions may occur:
- 1) EXE file might become damaged and unable to run. This is especially true of
- some programs that checksum themselves to verify the EXE. Keep backups.
- 2) System anti-virus tools might detect the alteration of an EXE file and complain.
- If this is true, then either the anti-virus program must be disabled, or another
- workaround must be used. Some Anti-virus programs allow the specification of a
- "trusted" program - the trusted feature may be used with due caution.
-
-
-
- SendKeysTo("WindowName","Sendkeystring")
- Similiar to SendKey, but the window "WindowName" will be activated before sending any keys.
-
-
-
- SendMenusTo("WindowName","MenuName")
- Will activate "WindowName", Search its menus for "MenuName", and post the appropriate WIndows
- windows message for the menu operation.
-
-
- New parameters for the FileOpen function as in
-
- FileOpen("FileName",option)
-
- where FileName is the filename or the "Named Pipe" name
- option can be READ WRITE APPEND or PIPE
-
- APPEND is a WRITE with the file pointer set to the end of the file
- PIPE allows communication with a named pipe set up by anotehr process.
- This PIPE is a client side only pipe.
-
-