![]() ![]() ![]() |
Welcome to WinTask
What's new in version 3.7a
Getting started
WinTask Components
WinTask Editor
Recording
Starting Recording Mode
Toolbar uses during Recording
Recording, Low Level Mode
Realtime Recording
Starting Recording Mode dialog box
Adding Functionality to Existing Scripts
Inserting lines automatically into the script in Recording mode
Running a Script
Compilation
Compiler Limits
Compilation in Batch Mode
Running a script
Controlling the speed of playback
Configure Run (use of a logfile)
Running a Script from the Command Line
Running a Script, Switches
Running a Script by Pressing a Key
Parameters passed from one script to another
Fixing Script Errors
Window not found error message
Popup window while running a task
Running a Script in Debug Mode
About Debug Mode
Debug Mode in action on a sample script
Step by Step Execution
Step Over
Step Out
Run to cursor
Breakpoints
Watch Variables
Debug Toolbar
Synchronization
Why Synchonization ?
Synchronization Wizard
Configure Wizard dialog box
Text Synchronization
Synchronization on OCR Text
Window synchronization
Image Synchronization
Time delay Synchronization
Date/Time Synchronization
Wait for a User action
Wait for keyboard action
Wait for a key in a Dos box
Wait for Menu
Wait for mouse action
Wait for a window to be displayed
Wait for keyboard/mouse action, Window tab
Synchronization timeout
Identifying Windows controls, SPY tool
Spy
Window name
Window class
Window title
Instance
Window name, wildcards
Web Automation
Introduction
Web Synchronization
Web advanced synchronization
HTML Descriptor
HTML Descriptor Advanced
Web, how to capture data
Web, how to measure response times
Web, data driven automation
Web, how to record Hover menus
My Web automation script does not replay correctly
Page Timeout Error Message
Error Handling
Scheduler
Scheduler, main window
Scheduler, defining task properties
Scheduler, defining task properties, Schedule tab
Scheduler, defining task properties, Security tab
Scheduler, Email Notification
Scheduler, options
Scheduler, error codes
Why my scheduled task did not start
Scheduler under Vista/Windows 7/Windows 2008
Language reference
Language reference
Alphabetical WinTask functions list
Syntax, data types and operators
General function syntax
Program structure
Data types, variables
Operators
Global and local variables
System variables
#ActionTimeout
#CurrentLine
#DecimalSeparator$
#ErrorCode
#ErrorFunction$
#ErrorLine$
#ErrorMsg$
#ErrorScript$
#ExecTimeout
#ExecuteDelay
#HideIcon
#HideTrayIcon
#HTMLPosRetry
#IgnoreErrors
#LastErrorLine
#PauseTimeout
#Precision
#SendKeysDelay
#ScriptAfterTimeout$
#TextLookFrequency
#UseExact
#UsePageExact
Synchronization functions
Disable
Enable
#ErrorLine$
OnAction
OnAction Error
Pause
#PauseTimeout
Sleep
#TextLookFrequency
Windows management functions
#ActionTimeout
CheckedW
ChooseItem
ChooseMenu
Click
ClickMouse
ClickOnBitmap
ClickOnText
ClickOnTextOCR
ClickScrollBar
ClickSpin
CloseWindow
CloseWindowRegEx
CursorX
EnabledW
#ExecuteDelay
ExistW
Focus$
GetFocusWindowHandle
GetTopWindowHandle
GetWindowHandle
GetWindowName$
#IgnoreErrors
ListItem$
MaximizeWindow
MinimizeWindow
MouseShape
MouseX
MoveMouse
MoveWindow
RestoreWindow
SelectedItem$
SendKeys
#SendKeysDelay
SendKeysEncrypted
SizeWindow
Top$
TopInstance
#UseExact
UseWindow
UseWindowHandle
UseWindowRegEx
WriteCombo
WriteEdit
WriteEditEncrypted
Capture functions
Capture$
CaptureArea$
CaptureAreaOCR$
CaptureBitmap
CaptureHTML
CaptureIE$
CaptureOCR$
CaptureTableHTML
GetHTMLEditText
HardCopy
UseOCREngine
Program flow control functions
Command$
End
#ErrorLine$
ExitFunction
ExitSub
Function
Goto
If
#IgnoreErrors
Repeat
Run
Select Case
Stop
Sub
While
System functions
Allocate
Beep
CapsLock
ChDir
Curdir$
DeleteRegKey
DeleteRegValue
DelTree
Dir
DirTree
DiskFree
Envir$
#ErrorLine$
ExecExcelMacro
External
External$
GetCpuLoad
GetMemUsage
GetProcessCpuLoad
GetProcessList
GetWindowsList
#HideIcon
#IgnoreErrors
ImpersonateUser
IsRunning
IsServiceStarted
KillApp
KillAppChildren
KillProcess
LockKbd
LockMouse
MkDir
NumLock
OsVersion$
PeekInteger
PeekString$
PokeInteger
PokeString
Random
ReadIni$
ReadReg
Reboot
RevertToSelf
RmDir
SendEmail
Shell
ShellWait
StartService
StopService
UnlockKbd
UnlockMouse
WinDir$
WriteIni
WriteReg
Date/Time functions
Date$
DateBetween
DateToDate$
Day$
Hour$
Hundreds
Min$
Month$
Sec$
Time$
WeekDay
Year$
File management functions
AppendXMLNode
CloseExcelCom
Create
CreateUnicodeFile
CreateExcelFile
EnumXMLAttributes
EnumXMLChildren
Eof
Exist
ExistDir
FileAttr$
FileCopy
FileDate$
FileSize
FileTime$
FileVersion$
GetReadPos
GetXMLAttribute
#IgnoreErrors
Kill
Name
Read
ReadExcel
SetAttr
SetReadPos
SetXMLAttribute
Write
WriteExcel
Logfile and Clipboard functions
Comment
#CurrentLine
GetClipboard$
LogFile
SetClipboard
StopLog
User dialog functions
BeginDialog
CallDialog
InputBox$
InputBoxSecret$
MsgBox
MsgFrame
MsgFrameTitle
RemoveFrame
SelectDir$
SelectFile
SelectMultipleFile
String management functions
Asc
Chr$
Encrypt
ExtractBetween$
Instr
InstrRev
Lcase$
Left$
Len
Ltrim$
Mid$
Replace$
Right$
Rtrim$
SplitIntoArray
Str$
Trim$
Ucase$
Val
Floating point calculation functions
#DecimalSeparator$
#Precision
Add$
Divide$
Multiply$
Subtract$
Web functions
Attribute
CaptureHTML
CaptureIE$
CaptureTableHTML
CheckedHTML
ClickHTMLElement
CloseBrowser
CopyLink
CurrentPage$
ExistHTMLElement
ExtractLink
GetFrameSource$
GetHTMLEditText
GetPageSource$
#HTMLPosRetry
IgnoreHTMLCase
ListHTMLItem$
Navigate
OverHTMLElement
Postdata
SavePictureAs
SaveTargetAs
SelectedHTMLItem$
SelectHTMLItem
StartBrowser
#UsePageExact
UsePage
WriteHTML
WriteHTMLEncrypted
WriteHTMLPaste
FTP functions
FTPChDir
FTPConnect
FTPCurrentDir
FTPDisconnect
FTPExistDir
FTPExistFile
FTPGetFile
FTPKill
FTPMkDir
FTPName
FTPPutFile
FTPRmDir
#FTPTimeout
Compilation
Dim
Include
Rem
Com port functions
CloseCom
#ErrorLine$
#IgnoreErrors
OpenCom
ReadCom
WriteCom
Response time functions
ResetTimer
StartTimer
StopTimer
Timer
ODBC functions
#DbDateFormat
DbBof
DbClose
DbConnect
DbDisconnect
DbEof
DbExecute
DbGetFieldNumeric
DbGetFieldString
DbMove
DbMoveFirst
DbMoveLast
DbMoveNext
DbMovePrev
DbRecordCount
DbSelect
Keyboard mnemonics
Quote character
Error codes list
Error codes for Capture functions
Error codes for File management functions
Error codes for Flow control functions
Error codes for FTP functions
Error codes for ODBC functions
Error codes for Synchronization functions
Error codes for System functions
Error codes for User dialog functions
Error codes for Web functions
Error codes for Windows management functions
Windows Versions Specific Settings
Windows XP
Windows Vista
Windows 7
Windows 2003
Windows 2008
Windows x64 (guidelines for any x64 Windows)
WinTask as a Testing Tool
Excel, ReadExcel and WriteExcel
Control panel Automation
Software Environment Setup, script examples
How to automate a Dos box
Citrix and Terminal Services support
Sample Scripts
Automate a printer installation
Automate a printer installation under Vista or Windows 7
Automate a program removal
Automate a program removal under Vista
Automate a software installation
Automate a Telnet software installation
Capture data from a Web site
Capture part of the desktop to a .BMP
Capture property details from a real estate website
Capture the entire application window
Check functions
ClickHTMLElement on a hidden Web menu option
Close all Internet Explorer windows
Convert a decimal number to hex
Convert a string representing a real in a number
Date calculation
Defragment a disk
Detect an error window
Display the mouse coordinates
Download a file from a website
Drag and drop automation
Excel, useful functions
Extract name, directory, extension from a full filename
Extract the first and second word from a string
Get screen size
How to call API Windows functions
Is a script running ?
Is there a new mail
Menu selection for non-standard menus
Move an icon on the desktop
Process and rename all the files with a specific extension
Publish a Web site using FrontPage
Repeat the same tasks for many files
Save a Word document
Save multiple webpages
Temporary Internet Files deletion
Useful functions for Web automation
VB and Sheridan controls