AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

is it possible to add a menu item to a non ahk gui?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
tinku99



Joined: 03 Aug 2007
Posts: 35

PostPosted: Tue May 06, 2008 8:22 pm    Post subject: is it possible to add a menu item to a non ahk gui? Reply with quote

I want to add menu items to existing windows.
For example, add a ahk menu to firefox right after the tools menu and help menu...

Essentially, i want window specific gui buttons / other items.
Instead of creating a separate ahk gui window.
Back to top
View user's profile Send private message
tinku99



Joined: 03 Aug 2007
Posts: 35

PostPosted: Tue May 06, 2008 8:29 pm    Post subject: dock a hotkey window to another window Reply with quote

i guess a way to do it is to create an ahk gui with a menu, and then dock it to firefox or whatever window...
using http://www.autohotkey.com/forum/viewtopic.php?t=19400&highlight=dock


another way is to use control set text to modify some part of the existing window to give clues as to the hotkeys that can be used in that window...

is there a way to directly add controls to a window?
Back to top
View user's profile Send private message
tank



Joined: 21 Dec 2007
Posts: 1033

PostPosted: Tue May 06, 2008 10:37 pm    Post subject: Reply with quote

your second post is really the only way
anything more requires decompiling the executable and editing it in the IDE of choice for the given language
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
Zippo()
Guest





PostPosted: Tue May 06, 2008 11:20 pm    Post subject: Reply with quote

tank wrote:
...anything more requires decompiling the executable and editing it in the IDE of choice for the given language


Or using a technique known as Remote Subclassing. Depends on how desperate you are Smile
Back to top
tank



Joined: 21 Dec 2007
Posts: 1033

PostPosted: Wed May 07, 2008 12:56 am    Post subject: Reply with quote

interesting concept but then if your going to bother with all of that then i suppose its time to learn programing and loose the ahk
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group