Control specific operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Control specific operations >

Control specific operations

TVF. - Tree View Find

Previous Top Next


MiniRobotLanguage (MRL)

 

TVF. Command

Tree View Found

 

Compatible Engine_01Direct Engine_01

 

Intention

 

These command will select a treeview item. A treeview is a special type of control and may look like this:

 

graphic

 

Please see here for more details and examples about TVF.and treeviews.

 

Here are some more hints:

 

' Locate the first fitting element

TVF.Intel(R) Core||1

 

' Locate the second fitting element

TVF.Intel(R) Core||2

 

For P1 a 3.2 Standard-Search Pattern can be used.

 

TVF. uses the direct engine for most flags.

 

' Here is an example that will uncheck an treeview-checkmark

STW.ct|#32770|Main

SCW.nct|1|SysTreeView32|SysTreeView32_1

TVF.Item8|d

 

There are two commands to work with treeviews.

 

TVI. -  uses a path to the item and uses wildcard-patterns

TVF. - uses 3.2 Standard-Search Pattern

 

 

 

Syntax

 

 

TVF.P1[|P2][|P3]

 

 

Parameter Explanation

 

Searchargument

 

P1 - item name can use 3.2 Standard-Search Pattern

 

P2 - (optional) flags

 

Flags

 

n - avoid first regular "Enshure visible" for item

c - collapse the tree before going on

e - expand the tree

v - do a second "Enshure visible"

w - do a "Wait for Input Idle" with max time 5 seconds.

l - locate checkbox/Install-Box on the left, no click  

a - Algo 2 to find a checkbox/Install-Box on the left

    side of the tree-item

i - "install" - opens the the selected MSI-Tree-menu

 

b - Check checkmark Item in a Treeview (direct engine)

d - UnCheck Checkmark Item in a Treeview (direct engine)

 

s - Select, select the treeview Item (direct engine)

m - Klick with MLE. on tree-item (direct engine)

o - click using compatible engine (MLI.)

 

You can combine all Flags, but not all combinations are useful. Also note that the order of the flags may influence the result. Generally the flags are processed from left to right.

 

 

 P3 - (optional) number, if omitted, default number is 1.

 

 

Example

 

'***********************************************

' TVF.-Sample

'***********************************************

 

STW.ct|MMCMainFrame|Geräte

SCW.c|systreeview32

 

TVF.Bluetooth

 

TVF.&DOCAPS:&EXACT:HP Integrated Bluetooth module

 

TVF.:&EXACT:HP Integrated Bluetooth module

 

TVF.Bluetooth||3

MMV.

 

'***********************************************

 

 

 

Remarks

 

On the stack, you can find the name of the selected element .

It's only the name of the element, not the full path to the element, like in TVI..

The command has internally a different path for x32 and x64 applications.    

 

 

 

Limitations:

 

-

 

 

 

See also:

 

  TVI. - Tree View Invisible

  GBC. - Get-Button-Check

  BTC. - Button-Check