Sign in to follow this  
Followers 0
Hayly

guigetmsg... return value?

4 posts in this topic

#1 ·  Posted (edited)

I beat my head against my desk over this one. I will explain the problem, then explain why it's a problem.

I need to return a value, when windows sends a message to the gui in autoit, explicitly I need to have the gui wait while I process that message, figure out the return value, poke it back, then continue on. or more precisely, I need the option of returning a value or not.

the reason, is I'm trying to emulate the winamp window, so I can retrieve all commands it would otherwise be sent from a plugin that I cant change. the problem is that while most are direct messages, some require return values, such as version, and the plugin faulters if it doesnt get a logical value, it assumes it has the wrong window B)

any feedback on how I can either achieve it, or perhaps get it put into the works if it's not an option would be really appreciated! :o

edit: this thread explains what I'm trying to modify that the plugin uses to control winamp: http://forums.winamp.com/showthread.php?s=&threadid=180297

Edited by Hayly

Share this post


Link to post
Share on other sites



To my knowledge GUIGetMsg() only returns messages related to the script's GUI -- it's not possible to receive and process custom Windows messages.

I'd love to be corrected on this personally.

Share this post


Link to post
Share on other sites

To my knowledge GUIGetMsg() only returns messages related to the script's GUI -- it's not possible to receive and process custom Windows messages.

I'd love to be corrected on this personally.

I'm pretty sure you are right, that's why I brought it up, there are a lot of messages that I'm sure people would love to have access to, and GuiGetMsg is a good function to handle those.

Share this post


Link to post
Share on other sites

GUIRegisterMsg() d(^.^d)

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