AznSai Posted August 29, 2005 Share Posted August 29, 2005 Can AutoIt be used to add another button to the title bar of an active window? I want to add a button to the title bar of the current active window and have AutoIt do something when it is selected. Link to comment Share on other sites More sharing options...
sandyd Posted August 29, 2005 Share Posted August 29, 2005 Have a search for ANYGUI in the forums, I think this is what you want ----[ SandyD ]--- Link to comment Share on other sites More sharing options...
AznSai Posted August 30, 2005 Author Share Posted August 30, 2005 Thanks for the reply, but no, Anygui doesnt do what i want to do. I want to add a button to the title bar, not anywhere else. If it can be done with Anygui could someone post some example code for me plz? Link to comment Share on other sites More sharing options...
quaizywabbit Posted August 30, 2005 Share Posted August 30, 2005 I think you'll have to create your own custom title bar using a label.. is this a AutoIt Gui, or a 3rd party app? [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
Ghastly_MIB Posted August 31, 2005 Share Posted August 31, 2005 Could you please place an example? Link to comment Share on other sites More sharing options...
AznSai Posted August 31, 2005 Author Share Posted August 31, 2005 Here's an example of what I want to do: I don't want to change the GUI of my script, I want to add another button to any other active window. Link to comment Share on other sites More sharing options...
theguy0000 Posted September 1, 2005 Share Posted September 1, 2005 if this would be possible, i would find it very useful. sorry, i dont know how. The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
quaizywabbit Posted September 1, 2005 Share Posted September 1, 2005 I know it's possible, because my ATI Display software does exactly as you describe, but I haven't figured out how to get a handle to just the window caption rect( if there is even such a thing) [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
LxP Posted September 1, 2005 Share Posted September 1, 2005 I PMed AznSai earlier with the following response as it didn't seem too appropriate to publicly post it, but since a solution hasn't come to light yet...PowerPro is a freeware utility that allows you to create button/icon bars, hotkeys, timers etc. with the ability to place such a bar within the caption of an active window.This is a good solution if you are only wanting to implement this for yourself and whenever Windows is loaded. Link to comment Share on other sites More sharing options...
seandisanti Posted September 1, 2005 Share Posted September 1, 2005 Here's an example of what I want to do:I don't want to change the GUI of my script, I want to add another button to any other active window.<{POST_SNAPBACK}>I think this would involve modifying the window class definitions in the registry... Link to comment Share on other sites More sharing options...
Raindancer Posted September 1, 2005 Share Posted September 1, 2005 sounds like a HOOK is necessary... out of AutoIt's range at the moment.Lar.<{POST_SNAPBACK}>Plugins are comming :-) Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer Link to comment Share on other sites More sharing options...
AznSai Posted September 1, 2005 Author Share Posted September 1, 2005 Plugins are comming :-)<{POST_SNAPBACK}>Even if plugins weren't coming I'm sure you could use a dll to do this anyway . Link to comment Share on other sites More sharing options...
AznSai Posted September 2, 2005 Author Share Posted September 2, 2005 did this for fun. adds a button to your title bar. knows right and left click. unfinished (some position tuning needed).Lar.<{POST_SNAPBACK}>Thanks for your work Larry, I guess I'll have to use this or something similar until what I want to do becomes doable . Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now