Jump to content
Sign in to follow this  
bobheart

Right click on top

Recommended Posts

bobheart

right click on a windows in addition to the usual things like "Restore, Move, Size, Minimize, Maximize & Close", I would like to have "Always on Top".

A few applications already have this feature available, but not all.

Any possibility of doing this with autoit ?

Share this post


Link to post
Share on other sites
JSThePatriot

I am not quite sure I am understanding what you are asking...

If you are asking if AutoIt can send right mouse clicks then that is a yes. If you are asking if AutoIt can manipulate a window via maximize, minimize, and so on the answer is yes. If you are asking if AutoIt can make a certain window be "Always On Top" I would assume the answer is yes, but for a lack of knowledge of the language yet I cannot fully answer that question if indeed that is what you are asking.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites
this-is-me

The answer to your question is no. He wants to be able to add items to the system right-click menu on the titlebars of his or other applications. AutoIt cannot modify the system menus of anything at the present.


Who else would I be?

Share this post


Link to post
Share on other sites
CyberSlug

I use the program PowerMenu to add "Always On Top" and "Minimize to Tray"

For a scripted solution, you could use hotkeys to make the active window on top:

HotKeySet("^!q", "Terminate")
Func Terminate()
   Exit
EndFunc

HotKeySet("^!t", "TopMost")
Func Topmost()
   WinSetOnTop("","",1)
EndFunc

HotKeySet("^!n", "Normal")
Func Topmost()
   WinSetOnTop("","",0)
EndFunc


While 1
   sleep(100)
Wend
Exit

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites
bobheart

Would you know of a registry tweak that would do it ?

Share this post


Link to post
Share on other sites
bobheart

Thank you CyberSlug .

Share this post


Link to post
Share on other sites
bobheart

ontop.au3 (12) : ==> Duplicate function name.:

Func Topmost()

How do I fix that ? I can't stop the on top .

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.