Valutilities – vuFileTools 3.51 Quick Reference Guide

 

 

vuAnimateCloseBlend(hWnd,dwell_time) - Animates the closing of a window, blending with the background

vuAnimateCloseCenter( hWnd,dwell_time) - Animates the closing of a window, closing into the center

vuAnimateCloseRoll(hWnd, dwell_time,L2R,R2L,T2B,B2T) - Animates the closing of a window, rolling in the direction(s) specified

vuAnimateCloseSlide(hWnd,dwell_time,L2R,R2L,T2B,B2T) - Animates the closing of a window, sliding in the direction(s) specified

vuAnimateOpenBlend(hWnd,dwell_Time) - Animates the opening of a window, blending from the background

vuAnimateOpenCenter(hWnd,dwell_time) - Animates the opening of a window, opening from the center

vuAnimateOpenRoll(hWnd,dwell_time,L2R,R2L,T2B,B2T) - Animates the opening of a window, rolling in the direction(s) specified

vuAnimateOpenSlide(hWnd, dwell_time,L2R,R2L,T2B,B2T) - Animates the opening of a window, sliding in the direction(s) specified

vuBatteryLife() - Returns remaining battery life time in Standard Clarion Time (-1 if on AC Power)

vuBinary(Nmbr) - Returns a binary representation of the decimal number

vuBIOSSerialNo() – Returns the serial number of the BIOS

vuCenterWindow(hWnd) - Centers the specified Window

vuChangeDisplay(Depth,Width,Height,Action) - Changes (or tests) the display settings

vuCleanBoot() - Returns true if Windows was booted cleanly

vuClearRecentDocs() - Clears the Recent Documents Display  

vuClientHeight() - Returns the screen client area height

vuClientWidth() - Returns the screen client area width

vuCloseDisable(hWnd) - Disables the Close (X) of the Window specified

vuCompress(SourceFile,TargetFile) - Compress file using Huffman Compression (very fast)

vuComputerName() - Returns the computer Name

vuCopy(SourceFiles,DestinationPath,SubDirs) - Copies files and subdirectories.  Wildcard characters are allowed.

vuCPUMake() - Returns the type of processor

vuCPUSerialNo() - Returns the CPU Serial Number of the processor (deprecated for most processors)

vuCPUSpeed() - Returns the speed of the CPU(s)

vuCPUusage() -  Returns the average percentage of CPU usage between calls to this function

vuCRC32(FileName) - Returns a 32 CRC against the file contents or a string (if input parameter is not a file name)             

vuCreateDirectory(Path) - Creates an multi-tiered directory path with one call

vuCreateLink(Location,LinkName,PrgmName,Arguments) - Creates a basic program link using default values

vuCreateLinkEx(Location,WorkingDir,LinkName,PrgmName,Args,Comments) - Creates a program link, allowing you to specify additional parameters

vuCurrentPath() - Returns the current path

vuDelete(FileName,SubDirs,Recycle) - Deletes files and subdirectories, can use wildcard characters

vuDesktopIcons(Hide) - Hides or un-hides all the desktop icons

vuDisableOthers(WindowName,Disable) - Enables or Disables Window(s), whose name contains <WindowName>

vuDiskLabel() - Returns the volume label of the C Drive

vuDiskSerialNo() - Returns the Volume serial number of the C drive

vuDiskSpace(Drive) - Returns the size of the disk in bytes

vuDriveType(Drive) - Returns Removable, Fixed, Network Drive, CD ROM, RAM Disk, Etc.

vuEMailClient() - Retrieves the default email client

vuExtractFileName(FileSpec) - Returns the file name from the specified path/file name

vuExtractFilePath(FileSpec) - Returns the drive and path from the specified path/file name

vuEZRegGet(User,KeyName) - Retrieves the registry value in KeyName ( use with vuEZRegPut() )

vuEZRegPut(User,KeyName,KeyValue) - Creates / Opens the registry key and saves the value ( use with vuEZRegGet() )

vuFadeIn(hWnd) - Fades in your Window, over a period of about 1 second

vuFadeInOthers(WindowName) - Fades in any Window(s), over a period of about 1 second, that contains <WindowName>

vuFadeOut(hWnd) - Fades out your Window, over a period of about 1 second

vuFadeOutOthers(WindowName) - Fades out any Window(s), over a period of about 1 second, that contains <WindowName>

vuFileCount(Source) – Returns the number of matching files found from the Path specified (wild cards allowed)

vuFileDate(FileName,Type) - Returns the file date as a long in standard Clarion format

vuFileSize(FileName) - Returns the size of the file without opening it

vuFileTime(FileName,Type) - Returns the file time in standard Clarion format

vuFileType(FileName) – Returns 64 for 64 bit app, 32 for 32 bit app, etc.

vuFindFile(FileName,Location) – Locates and returns a file’s complete path and name

vuFlashWindow(hWnd,Count) - Flashes the specified Window for the number of time in <Count>

vuFolderDate(FolderName) – Returns the folder creation date

vuFolderExists(Path) - Returns true if the folder specified exists

vuFolderTime(FolderName) – Returns the folder creation time

vuFolderWatchCheck(FolderName) - Returns 0 on error, -1 on no Change, 1 on Change

vuFolderWatchStart(FolderName) - Start a watch thread for folder contents change

vuFontDirectory() - Returns the system font directory

vuFontLoad(FontName) - Loads a font for immediate use

vuFontUnload(FontName) - Unloads a font

vuFreeSpace(DriveLetter) - Returns the amount of disk space available in bytes

vuGetAttributes(FileName) - Gets the file attributes of the specified file (Hidden, Read Only, Etc.)

vuGetDefaultPrinter() - Returns the name of the default printer 

vuHexadecimal(Number) - Returns a hexadecimal representation of the decimal number

vuHideStartButton(Hide) - Hides / un-hides the Start Button

vuIdleTime() - Returns the number of seconds the mouse and keyboard have been idle

vuIPAddress(Index) - Returns a specific IP Address

vuIPAddressCount() - Returns the number of IP Addresses on the machine

vuIsAdmin() - Returns true if user is a member of the Administrator Group

vuIsDriveReady(DriveLetter) - Returns true if the drive letter specified is ready

vuIsOS64() - Returns true if the Operating System is 64 bit

vuIsRunning(Name) - Returns TRUE if the program is running, if not creates a Mutex

vuIsRunningCheck(Name) -  TRUE if the program is running, does not create Mutex (see help file)

vuKeepChars(Strg, Chars) - Returns a string with all but the specified chars removed 

vuMACAddress(Index) - Returns the address of the specified MAC available

vuMACCount() - Returns the number of network cards found

vuMACDesc(Index) - Returns the Description of the selected MAC

vuMACType(Index) - Returns the type of MAC

vuMailSlotCheck(Name,Buffer) - Checks the mail and puts information in the buffer

vuMailSlotCreate(Name) - Create a mail slot

vuMailSlotDestroy(Name) - Destroys a mail slot

vuMailSlotDestroyAll() - Destroys all mail slots

vuMailSlotSend(Name,Data,DataLength,Local) - Send a mail message

vuMapped2UNC(FileName) – Returns the UNC of a mapped drive file path

vuMaximizeDisable(hWnd) - Disables the ability to maximize the specified Window

vuMCIsend(CString) - Sends the specified CString to the MCI driver 

vuMemoryFree() - Returns the amount of physical memory not being used

vuMemoryPercentUsed() - Returns the percentage of memory being used

vuMemoryTotal() - Returns the total amount of physical memory installed

vuMinimizePrograms(Minimize) – Minimizes / Restores all programs

vuMove(Source,Destination,SubDirs) - Moves files and subdirectories.  Can use wildcard characters.

vuMoveDisable(hWnd) - Disables the ability to move the specified Window

vuNetworkPresent() - Returns 1 if on a LAN, 2 if on a WAN

vuNetworkUser() - Returns the network user name

vuNumber2String(Number) - Returns a string representation of a number

vuOctal(Number) - Returns an Octal representation of the decimal number

vuOSVersion() - Returns a long value that represents the Operating System version

vuPack(FileList,PackedName) - Packs all files meeting Mask (or list) into PackedName

vuPlayWav(FileName,Wait) - Plays a .wav file and optionally waits for it to complete

vuPrinterCount() - Returns the number of printers installed on the PC

vuPrinterName(Number) - Returns the name of the indexed printer

vuPrintScreen() - Prints the entire screen (desktop client) to the selected printer (calls PrinterDialog)

vuPrintTextFile(FileName,Default) – Prints a file to the default or selected printer

vuPrintWindow() - Prints the currently active Window (asks user at runtime for printer)

vuProcessorCount() - Returns the number of processors in the machine (actual and virtual)

vuQuotes(CString) - Returns a "Quoted" CString

vuRecordWav(Start,FileName) - Records a WAV file from the MIC input of the sound card

vuRemoveChars(CString, Chars, AllChars) - Returns a string with the specified characters removed

vuReplaceChars(MainCString,OldCString,NewCString) – Replaces Old CString with New CString in MainCString

vuReplaceCharsInFile(FileName,OldCString,NewCString) – Replaces Old CString with New CString in FileName

 vuRun(FileName,Style,Wait) - Runs a program using the specified style and wait

vuRunOnReboot() - Restart application on boot-up if application terminated abnormally

vuSayText(Text) – Speaks the text specified in Text (CString)

vuScreen2Bmp(Filename) - Save the desktop as a bitmap file

vuScreenDensity() - Returns the bits / pixel of the current screen setting

vuScreenHeight() - Returns the screen Height

vuScreenWidth() - Returns the screen width

vuSelfDelete() – EXE Deletes itself after execution         

vuServerDate(ServerName) - Returns a server’s (or Peer’s) date in Standard Clarion Format

vuServerTime(ServerName) - Returns a server’s (or Peer’s) time in Standard Clarion Format

vuServerTZOffset(ServerName) - Returns the Bias in minutes of the timezone  offset from UTC (Universal Time)

vuServiceStatus(PCName,ServiceName) – Returns the status of the specified service

vuSetAttributes(FileMask,ReadOnly,Hidden,System,Archive) – Sets a file’s (or group of file’s) attributes

vuSetDefaultPrinter(PrinterName) - Sets the default printer.  If name blank, sets default to 1st printer found

vuSetFileDate(FileName,Year,Month,Day,Hour,Minute,Second) - Sets the file date and time

vuSetFolderDate(Filename,Year,Month,Day,Hour,Minute,Second) - Sets the folder date and time

vuShell(FileName) – Starts the Filename with the associated application (such as Word, etc.) 

vuShutDown(Action) - Log off, Reboot, or Power Off the computer

vuStartEmail(Addr,Subject,Message) - Starts the default email client, and inserts the  designated info

vuStringParse(MainCString,MarkerCString,SegmentNo) – Returns the segment of the Cstring

vuSystemDirectory() - Returns the path to the Windows System Directory

vuTaskBar(Hide) - Hides / Un-hides the Windows Taskbar (Including Desktop Icons)

vuTempPath() - Returns the Windows Temporary Path

vuTerminateOthers(WindowName) - Terminate Window(s), whose name contains <WindowName>

vuToolWindow(hWnd, Action) - Changes the specified Window to a Tool Window (or back), based on <Action>

vuTransparent(hWnd,Level) - Change the transparency of the specified Window

vuTransparentColorKey(hWnd,Red,Grn,Blu) - Set a transparent color of the specified Window to the color specified by Red, Grn, Blu

vuTransparentOthers(WindowName,Level) -  Change the transparency of the Window(s), whose name contains <WindowName>

vuUncompress(Source,Target) - Uncompress file using Huffman Compression

vuUnpack(FileName,FilePath) - Unpacks all files from FileName into FilePath

vuUserName() - Retrieve Current User Name

vuVirtualKeys(CString) – Inserts the CString into the keyboard buffer

vuVolumeLabel(Directory) - Returns the Volume serial number of the specified volume

vuVolumeSerialNo(Directory) - Returns the Volume serial number of the specified volume

vuWindow2Bmp(FileName) - Save the current Window as a bitmap file, to file <FileName>

vuWindow2BmpEx(hWnd,FileName) - Saves the specified Window as a bitmap file, to file <FileName>

vuWindow2Clipboard() - Places a copy of the active window into the clipboard

vuWindow2Front(hWnd) - Brings the specified Window to the front and activates it

vuWindowHandle(WindowName) - Returns the handle of a Window, given its name

vuWindowMove(hWnd,xPos,yPos,xSteps,xPause,xRel) - Moves the specified Window to the X,Y position (move can be absolute or relative)

vuWindowNotOnTop(hWnd) - Returns the specified Window to its normal display order

vuWindowOnTop(hWnd) - Brings the specified Window to the front and keeps it there

vuWindowsDirectory() - Returns the Windows Directory

vuWindowsKey(Action) - Disable/Enable Windows Key (requires reboot)