Clicks the tool button as if it had been clicked by the user.
object.Click ( [Post] ) |
- Post
- Optional. A Boolean that specifies the post state.
Post is a boolean that specifies whether the click should be executed immediately or posted into the message queue. If posted, the click will execute after the script finishes. If not specified, Post is False. [Optional].
If the ToolItem object represents a promotable menuitem or base toolitem, the Click method will also promote the tool.