Sign in to follow this  
Followers 0
BamBuVn

Help: Don't "copy shortcut" on context menu for _IECreateEmbedded()

5 posts in this topic

post-85794-0-33030000-1424093869_thumb.p

Source Autoit 3.3.12 Don't "copy shortcut" on context menu for _IECreateEmbedded(), help me! :

Share this post


Link to post
Share on other sites



Pls! Help me!!!!!!!!!!

Share this post


Link to post
Share on other sites

Don't bump a thread within 24 hours (only warning).

I know you can disable it from the registry, but that's a permanent solution or at least a well monitored one that shouldn't be trusted.

It's a menu, so I'm sure the _GUICtrlMenu* functions will help.

The idea would be to find the context menu for IE and use those functions.

You have the browser object, so getting a handle to the browser is no problem, but I don't have the patience to do your part in finding examples online on how to do it (even if it's not in autoit).

If you can find code in other languages that does what you're looking for, I'm sure someone here can translate it.

Another option is to hook the browser object, track/trap the contextmenu primary mouseclick with a callback function and control the outcome from there.

And yet another option is to inject javascript to prevent contextmenu primary mouseclick from within the DOM of the object.

Those last two suggestions are not very good if you ever want the user to actually be able to use anything in the contextmenu... especially the last one.

So there you have it.

3 suggestions on what to do... all require some work on your part.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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  
Followers 0