Category : Windows 3.X Files
Archive   : WE-30D.ZIP
Filename : RECENT.TX_

 
Output of file : RECENT.TX_ contained in archive : WE-30D.ZIP
Note: In this current release....

NT Versions
File Commands only support the 8.3 FAT file system
Do not attempt to use commands like FileCopy, FileOpen
etc with NTFS or HPFS partitions

OLE 2.0 automation not currently working with NT versions.

WIN16 Versions - All features should be functional


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.



  3 Responses to “Category : Windows 3.X Files
Archive   : WE-30D.ZIP
Filename : RECENT.TX_

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/