Job Management Partner 1/Software Distribution Automatic Installation Tool Description and Reference
Description
Clicks a specific tab item on the task bar.
Format
bool AIT_TaskbarItemClk ( integer nIndex // Index [,integer nMouseButton] // Mouse button );
Parameters
nIndex (input)
Specify the index of a task bar item. Because the reference index is 1, the index for the first item is 1.
nMouseButton (input, optional)
Specify a button to be clicked by the mouse. You have to set one of the following values.
| Value | Description |
|---|---|
| LBUTTON | Left mouse button |
| MBUTTON | Center mouse button |
| RBUTTON | Right mouse button |
The default is LBUTTON.
Return values
The return value is true if the function was executed normally, and false if not. If the function has returned false, you can use AIT_GetLastError to acquire an extended error code. The following gives the error codes that AIT_GetLastError may return.
| Extended error number | Error code |
|---|---|
| 8 | ERROR_NOT_ENOUGH_MEMORY |
| 14 | ERROR_OUTOFMEMORY |
| 87 | ERROR_INVALID_PARAMETER |
| 1400 | ERROR_INVALID_WINDOW_HANDLE |
| 1413 | ERROR_INVALID_INDEX |
Note
You can use this function in Windows 2000, Windows NT 4.0, Windows Me, and Windows 98. You cannot use it in Windows 8, Windows Server 2012, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP.
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.