Jump to content
Sign in to follow this  
MarioTester

Click a "right click" menu item

Recommended Posts

MarioTester

I don't know the actual name of the "right click menu", so I apologize about that. Is there any way of directly activating a certain option of the right click menu?

PS: I refer to that: http://prntscr.com/vbxuo (This is just a random example, though, I don't want to scan a dll with MSE)


TL;DR I'm new to autoit or any programming language whatsoever.

Share this post


Link to post
Share on other sites
Danyfirex

Share this post


Link to post
Share on other sites
MarioTester

Do you mean?

MouseClick("Secondary")

Thanks for the input but nope. I meant directly. Maybe something like:

SecondaryMenu ('softwarename','option')

TL;DR I'm new to autoit or any programming language whatsoever.

Share this post


Link to post
Share on other sites
blckpythn

I don't know of any way to predetermine the context menu options and select a particular one, other than emulating clicks and keyboard keys.

Share this post


Link to post
Share on other sites
MarioTester

I don't know of any way to predetermine the context menu options and select a particular one, other than emulating clicks and keyboard keys.

Thanks. I guess I will just give up on that, them. I had already searched without much success.


TL;DR I'm new to autoit or any programming language whatsoever.

Share this post


Link to post
Share on other sites
jdelaney

do searches for 'context menu', you will find examples on how to get/click them. Unfortunatly, not all will expose the options on it, and then you get to do relative clicks.

If you use the Window Info tool, and change the Options menu to NOT include a check on the 'freeze' setting, you can do the right click, and get the class of the context menu...which will probably be: Class #32768...

you can then do wingetlist for that class, and loop for the one that is a process of your application

Edited by jdelaney

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

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  

×