Tag: Unselect
The Unselect
action, along with the applicable SetParam options, lets you automate the deselection of design elements within selection trees found in viewEZ, signEZ, designPropEZ, actionBarEZ.
<Unselect>
<SetParam NoteID="hC9A"/>
<SetParam NoteID="h18FA"/>
</Unselect>
Note | The Unselect action can be used for deselecting entries within trees and grids; the selection mechanics, attributes and compatible values, and the attributes and SetParam options are different depending on what you need to select. |
For selections in grids, server/database trees in mono-server and multi-server products, and scanEZ's selection tree, please look at these pages:
SetParam Options
Field Name | Compatible Field Values | Value Description | Comment |
NoteID | The NoteID in either decimal or hexadecimal format prefixed with an "h" or "H" | | |
Name | User defined
OR set value
All | The text displayed in tree node
Will select everything in the tree | Case insensitive
"All" value depends on the current language of the product. |
Alias | User defined | The Last Alias of the design | |
Detailed Description
To automate deselecting designs in any design tree, the values of for SetParam options
NoteID,
Name, and
Alias can be specified in child actions.
Example Script
<YtriaAutomation Version="1.0" Application="viewEZ" ApplicationVersion="16.5.0" Console="False">
<Unselect>
<SetParam Name="All"/>
</Unselect>
<Select>
<SetParam NoteID="hCC6"/>
<SetParam Name="($ApptUNID) [en]"/>
</Select>
<OpenColumns KeepAlive="True">
<Add ColumnID="C1" Position="2"/>
<Add ColumnID="C6" Position="3"/>
<Add ColumnID="C7" Position="4"/>
</OpenColumns>
</YtriaAutomation>
The script above will work on a database currently loaded into the selection tree of viewEZ. The Unselect
action will remove any residual selections, and then the two views specified within SetParam
child actions: NoteID hCC6, and the view with the name ($ApptUNID)[en], will be selected. The 'Columns…' grid will be opened showing the column properties of these two selected views, and the grid columns with ColumnIDs of C1, C6, C7 will be added and placed in the grid position 2,3, and 4 respectively. The 'Columns…' grid dialog will stay open.