Jump to content
Sign in to follow this  
ChaitanyaC

right click on an item in the list view

Recommended Posts

ChaitanyaC

hi,

I'm really new to Auto It and I want to right click on a list view item ('hotspot' from the screen shot attached) and select 'Assign metatag' from the menu in right click.

I have tried the below code but it didn't work

WinWaitActive("Perception Authoring Manager")

Global $hListView = "m_lvwFolder"

_GUICtrlListView_ClickItem($hListView,2,"right",False,2)

any suggestions would be appreaciated

post-72810-0-15185800-1337855251_thumb.p

Share this post


Link to post
Share on other sites
stormbreaker

Get the handle of listview control using AU3Info tool. Then use the following command:

#include <GUIListView.au3>
$hListView = ;Your listview handle here
_GUICtrlListView_ClickItem($hListView,1,"right",False,2)
Edited by MKISH

----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×