Home

Products
WinTask Features
How It Works
Top 10 Uses
Web Data Extraction
Free Downloads
Buy Now
Compare WinTask
Hottest New Version
NEW! OCR Features

Professional Services
Data Extraction Services
Submit Your Task Description

Resource Center
Real-time Online Support
Tutorials
WinTask Forum
WinTask Manuals
WinTask Online Help
FAQ
Contact Us

Our Company

Who We Are
Why WinTask?
Privacy Policy


 


Hottest New Version

Released May 2008, WinTask 3.5

Three new OCR functions have been added (not available in WinTask Lite):

  • CaptureOCR$, captures what is seen in the specified window, OCRizes the content and returns the text as analysed by the OCR engine.
  • CaptureAreaOCR$, captures what is seen in the specified area of the specified window, OCRizes the content and returns the text as analysed by the OCR engine
  • UseOCREngine, specifies which OCR engine will be used by subsequent OCR function calls

How works OCR: WinTask can now use two different OCR engines. Our internal one is delivered with our software but is not accurate when a big rectangle has to be OCRized. All our OCR functions can use now the OCR engine delivered with Microsoft Office 2003 or 2007. When an OCR function is called, WinTask checks first if a UseOCREngine line exists in the script above the call. If such a line is there, the OCR function uses the specified OCR engine. If no UseOCREngine is used in the script, the OCR functions use our internal OCR engine.
If you have Office 2003 or 2007 and do not know if Office OCR engine is installed on your PC, you can look at How to install Office OCR engine topic.

The new Encrypt function encrypts a string (not available in WinTask Lite).
An additional optional parameter, a timeout, has been added to MsgBox function: if after the specified timeout, no button has been clicked, the msgbox dialog box vanishes.
MsgFrame function has been redrawn in order to display a small rectangle around the displayed text instead of a blue empty title.

WinTask 3.5 had been built with a new version of InstallShield, a new version of the Compiler and a new version of Visual Studio. Those new versions have needed a re-writing of string management, and impacted External function.
VERY IMPORTANT: if you want to run scripts built with previous versions of WinTask, you have to recompile them using WinTask 3.5 version.

The minor fixes included in version 3.5 are listed below:

  • GetFrameSource$ and CaptureHTML do not crash anymore IE when a lot of data are on the page
  • Capture$ was not capturing a text when it was a one-line text displayed at the top left of the window
  • DateToDate function was not working properly with negative intervals
  • TaskEdit does not crash anymore when switching from a Unicode script to an ANSI script
  • A data exchange memory zone was not freed properly with virtual memory decreasing slowly
  • WriteExcel returns now a -3 error code if it tries to write to an opened Excel file



Released November 2007, WinTask 3.4b 

Functions managing XML files have been added (not available in WinTask Lite):

  • GetXMLAttribute, retrieves the content of an attribute in the specified XML file.
  • SetXMLAttribute, modifies or adds an attribute in the specified XML file
  • AppendXMLNode, adds a node in the specified XML file
  • EnumXMLChildren, enumerates the child node descriptors for the specified XML node
  • EnumXMLAttributes, retrieves the attribute names and attribute values for the specified XML node


GetPageSource$ could not retrieve the source of frames when the page was including frames, the new function GetFrameSource$ retrieves the source of the specified frame. The function GetFrameSource$ is not available in WinTask Lite.


The minor fixes included in version 3.4b are listed below:

  • StartBrowser with the parameter 3 maximizes properly IE under Vista
  • The listboxes in the Functions wizard (Language window with Show wizard checked) are now correctly displayed under Vista
  • The Encrypted Functions wizards have been slightly modified for a better understanding
  • CreateExcelFile(param$) when param$ is not initialized does not crash anymore
  • The Text Synchro with the Ticks unit has been fixed - however we recommend to avoid the Ticks unit as it takes a lot of CPU
  • Capture$ function takes into account the Null character (in very rare circumstances, due to this character, the capture was not capturing all the string)
  • The OCR wizards have been slightly modified for a better understanding
  • If ClickOnText function cannot capture the text, the wizard suggests now to use ClickOnTextOCR
  • GetProcessCPULoad function returns - 3 if the specified process does not run
  • SelectHTMLItem under IE6 selects now correctly the specified item even if a scrolling is needed to display the listbox


Finally, the possible error codes for all the functions managed by #IgnoreErrors are now listed under Language reference chapter, Error codes list topic. For the functions which in case of an error does not stop execution when #IgnoreErrors=0, their possible return codes are still listed in their individual help topic.

back to the top


Released July 2007, WinTask 3.4a Introducing Vista support

WinTask 3.4a supports Microsoft Windows Vista.

The following Wintask features are not currently supported by WinTask 3.4a in the Windows Vista environment:

  • WinTask Scheduler (but Windows Vista Scheduler can be used to schedule a WinTask script when a desktop is opened, the command line to specify in Windows Scheduler is "c:\program files\wintask\bin\TaskExec.exe" "c:\program files\wintask\scripts\my_script.rob". Note that if the script needs a dekstop because it fills a web form, it sends keystrokes to an application,.. a desktop must be opened when the scheduled task starts. The automatic logon is not supported within Vista due to the new UAC Security restrictions)

  • SendEmail function

  •  UAC dialog boxes cannot be automated (the dialog box displayed when a program temporarily needs administrator rights)

A new WinTask Service (WinTaskAdmin service) has been added which is started when the PC starts. This service is used to allow the Services functions (StartService, StopService, IsServiceStarted) and the Registry functions to work without full admin rights as Vista does not give full admin rights even when you are the local admin of the PC. This new service is too used by GetCPULoad and GetProcessCPULoad functions.

  
Those functions have been added in version 3.4a:

  • UseWindowRegEx, specifies the window to which subsequent keyboard, mouse and menu actions are directed, using Regular Expressions to specify the window title part of the window name
  • DateBetween, returns the number of specified time intervals between two dates
  • DateToDate$, returns a new datetime value based on adding an interval to the specified date.

SplitIntoArray function can now return the number of items of the resulting array.

back to the top


Released November 2006
TaskWare is pleased to announce WinTask Version 3.3.

IE7 is now supported, there are a lot of differences with IE6 as even the IE window names have changed. If you receive an HTML descriptor not found error when you run an existing script under IE7, record again the script part which reports an error, it will generate the correct HTML descriptor for IE7.

Those functions have been added:

SaveTargetAs, simulates a right click on an HTML element and selection of Save Target as option in the context menu
SavePictureAs, saves an HTML picture element on hard disk
SelectedHTMLItem$, returns the selected item in an HTML list/combo (not available in WinTask Lite)
ExistHTMLELement, checks if the specified HTML element exists or not (not available in WinTask Lite)
SelectedItem$, returns the selected item in a listbox/combobox (not available in WinTask Lite)
ExecExcelMacro, executes silently the specified macro in the specified Excel workbook and then saves

Three string functions have been added:

InstrRev, returns the position of a substring within a string, searching backward through the string
Replace$, finds and replaces some or all occurrences of a substring within a string
SplitIntoArray, converts a string into an array of strings.

MsgFrame and MsgFrameTitle functions have new parameters to display the message in different parts of the screen. A wizard has been added to generate easily the MsgFrame/MsgFrameTitle syntax - you can access it by double clicking the function name in Language window (click Language icon in WinTask Editor toolbar).

Scheduler (not available in WinTask Lite) can now notify by email when a scheduled task did not run successfully. A new Email notification Tab has been added for this option. If a Policy screen is displayed when the user logs, Scheduler is now able to click automatically the OK button on this screen.

The list of more recent files opened in Editor shows up to 9 scripts (instead of 4).

back to the top


Released July 2006
TaskWare is pleased to announce WinTask Version 3.2.

WinTask supports now Windows 64-bits for applications running in the 32 bits kernel.

A Pause on OCR text has been added (not available in WinTask Lite) : you can access this new synchronization by menu Insert/Synchronization/On OCR text (or Pause OCR text icon in the Editor toolbar). It allows to pause until a text captured as an image is displayed at execution.

A Capture wizard has been added : you can access it by menu Start/Capture wizard (or Capture icon in the Editor toolbar). It generates the correct lines in the script for the Capture you want to achieve. From the long captured string, it's possible to extract only a part of it using ExtractBetween$ function. This new function is generated automatically through the Capture wizard or you can invoke it directly as any WinTask function.

For beginners, a Your first script wizard has been added. By default, this wizard is loaded when you open WinTask. If you don't want anymore this wizard, just check the checkbox Don't show this wizard anymore and click Close button, you will come back to the usual Editor window. At any time, you can recall the script wizard by menu Start/New Script wizard.

Trim$ function is added, it deletes the leading and trailing spaces from a string.

HardCopy function is added (not available in WinTask Lite), it generates a screenshot file when invoked.

GetPageSource$ (not available in WinTask Lite) returns in just one function the source code of the current web page. Using it in conjunction with ExtractBetween$ new function allows to extract any data from a web site.

CopyLink function (not available in WinTask Lite) returns the actual link of a clickable link (simulates a Copy shortcut on a clickable link).

We changed some keyboard shorcuts to follow the Microsoft usual ones, so now Control+S saves a script, Control+P prints a script (but so note that it's now Control+E to call Spy).

A Go to line option (shortcut Control+G) has been added in Edit menu, you can go directly to the specified line in the script.

SetReadPos and EOF functions have been fixed to support Unicode files.

 

back to the top


Released March 2006
TaskWare is pleased to announce WinTask Version 3.1.

Functions for encrypting passwords are added in this version (Not available in WinTask Lite). A new menu option Insert/encrypted string opens the Password encryption dialog box. In this dialog box, you type the password string, click Generate button for encrypting the string and Paste into the script button inserts within the script the encrypted string.

Encrypted strings can be used in 3 new functions:

WriteEditEncrypted is automatically generated in Recording mode for HTML fields seen as password type. The two other encryption functions can be generated using their wizard (in Language window, check Show wizard checkbox and double click the desired function).

Two functions are added to the ones existing dealing with windows handles:

Scheduler can now be installed and configured using remote desktop from a 2000/XP PC to a Windows 2003 Server PC. A Remote desktop with admin rights has to be used, but a remote desktop in console mode is not supported.

New columns are added to Scheduler main window:

  • Next run column tells when the next run will occur for the scheduled task

  • Last run result column tells if the last run of the scheduled task has been successfull or the error code is reported if not successfull. The details of the errror can then be seen in Event Viewer/Application (application WTScheduler)

  • Last run column tells when was the last run for the scheduled task

Those bugs have been corrected:

  • Capture$ in a Dos box window captures now properly the text of the Dos window

  • Add$, Subtract$, Multiply$, Divide$ work properly even with strings using Ucase$

In version 3.1a, HTML descriptors now support SPAN, DIV and TD tags.

OverHTMLElement function has been added for a correct recording/replay of dynamic menus (menu options which are displayed only when the mouse is on the main menu).

back to the top


What's new in version 3.0 (July 2005)

Main modification in version 3.0 is the support of Unicode. All the internal code has been rewritten for a Unicode internal support. From the user point of view, especially English users, nothing changes and they can work as in version 2.6; their scripts will still be created using ANSI coding unless specified when saving a script.

For users needing Unicode support due to a non-English alphabet or not-European alphabet, they can now create scripts as Unicode and so record and replay/capture non-English or not-European characters. Telling that a new script must use Unicode is done within Configure Recording dialog box.

Before writing to a Unicode file which is not yet created, you have to create it first using CreateUnicode function. CreateUnicodeFile function has been added to create an empty Unicode file ; then Write function will know that it has to write in this new file using Unicode encoding.

Important modifications have been done too on IDE (our Editor TASKEDIT). They include:

  • Scroll wheel mouse support
  • Tabbed Editor
  • Compilation window is now dockable - Play icon (or Start/Run menu option) compiles and runs immediately if no compilation error is detected. Use Start/Compile only menu option if you want to compile and use the dialog box Compilation as it was in version 2.6 (or press Ctrl+F7).
  • Line numbering in a left column
  • Multiple comment lines using /*.....*/
  • Bookmarks insertion (Edit menu)

Other enhancements are:

  • Support of Windows 2003 Server SP1.
  • Proper compilation when scripts are very long.
  • InputBoxSecret$, new function which prompts for a password, hidden field.
  • Pause wizards allow the user to change the maximum timeout for the pause to fail. Additionally, the error message statement when the pause fails can now be modified.
  • In bitmap synchronization wizard, the path used for saving bitmap file is now the last path used.
  • During Preview of a bitmap file in bitmap synchronization wizard, used CPU is not any more 100 %.
  • Launching Internet Explorer dialog box includes a new checkbox to check if the url to load prompts for a userid and password - it prevents the timeout error at replay because the page cannot be loaded due to a security window
  • The recording of a click on an icon displayed on desktop replays now correctly.

CaptureBitmap returns an error when there is not enough disk free.

back to the top


Released September 2004
TaskWare is pleased to announce WinTask Version 2.6.

  • WinTask supports now Windows 2003 Server.

New functions have been added:

  • KillApp kills the specified application.
  • KillAppChildren kills the specified application and its children processes.
  • CheckedW returns the status of a radio button or a check box.
  • FileAttr$ returns the attribute of the specified file.
  • CreateExcelFile creates an Excel worksheet

Spy tool allows now truncated window names, and so a new Validate button is available for testing the specified UseWindow.

A wizard for capturing Web data in an Excel file is added when using Spy on an HTML table.

Tick units are now supported in Pause statements

Serial port statements now support COM1 to COM8 (instead of COM1 to COM4).

back to the top


Released March 2004
Dedicated to continuously improve an already great product, TaskWare is pleased to announce WinTask Version 2.52.

A general error handling mechanism has been implemented through the syntax OnAction Error : at execution, if an error occurs, the routine defined in the OnAction Error is called. New system variables are available when an error triggers this routine OnAction Error : #ErrorCode, #ErrorFunction$, #ErrorMsg$, #ErrorScript$, #LastErrorLine. Not available in WinTask lite.

If a script fails at execution, after #ExecTimeout seconds, the script specified in #ScriptAfterTimeout$ is launched. This mechanism is useful for cleaning up the environment before re-running a script which has failed.

It is now possible to specify system variables values when calling TaskExec for running a script. And there is a silent mode : in case of any error, TaskExec does not display any error message, it just returns a non-zero return code.

A new system variable #HideTrayIcon hides the runtime icon in system tray if initialized to 1.

back to the top


Released October 2003
TaskWare is pleased to announce WinTask Version 2.51. Take note of these great new features:

WinTask is now a COM object, you can use WinTask functions in your usual scripting language (VBScript, JavaScript, ...) - this COM object is not available in WinTask lite.

Three new functions for working with HTML Web pages have been added:

    • #IgnoreHTMLCase
      • Tells if case is important for HTML descriptor
    • CurrentPage$
      • Returns the current Web page
    • ListHTMLItem$
      • Retrieves the content of an item in a Web list/combo

Compiler limits have been extended in the full version (not in WinTask lite).

A WinTask toolbar is now displayed in Recording mode for easily inserting synchronizations or calling Spy tool.

You can now insert lines into the script while you are in Recording mode: nice feature when you have to call the same procedure many times.

A lot of new complex script examples are listed in a new folder, for advanced users.

Scheduler reports now the full error message when a script fails at execution. And it can now logs in even if the login screen is not displayed due to screen saver.

 

back to the top