View Full Version : sendmessage parameters how do I know
rajeshvb
August 16th, 2003, 04:25 AM
How do i come to know what are sendmessage parameters for certain application? instead of passing keys to it...
e.g for winamp jump event to song no.
message number = 1024
wparam=song no.
lParam=121
How do i come to know the same for other events in application??
RSC
JimHugh
August 16th, 2003, 05:38 AM
I don't know of any way to easily reverse engineer an application to determine wParam and lParam that it will accept, not all apps can even be controlled via sendmessage.
Experimenting with random numbers can and probably will cause system crashes!
The best way is to look for an existing GML group export file where someone has done the work for you.
Secondly search for info using the vendors web site and/or Google.
Third, contact the vendor directly to see if they have published that info.
Ron
August 16th, 2003, 06:18 AM
1. Use Command Capture
2. Use Spy++ (or similar tool)
rajeshvb
August 16th, 2003, 07:43 PM
I tried spy++ but diffcult to traceto senmessage in huge log, can u take below example
can u tell specifically, i want to select line & mic on certain commands i tried command capture this works only when sounvol recording window is visible, what about when its in system tray it does not work, so what is the solution i think sendmessage should work but what r the parameters can u tell me how do i check in spy++ & what r the parameters or any other method
RSC
Monkeys Cry
August 18th, 2003, 12:20 AM
find the commands by opening the program (winamp etc.) then select 'capture' in girder. Then do all the things you can think of, that you want to control in the app. When you are done, click on 'stop capture', and now comes the fun part. highlight a line and click 'test'....woo hoo, you have some new codes to post here at Girder (Grider, Gidrer, and all the other basterdised versions of the word Girder). make sure when you have the code right for the command you want that you select apply in the main girder window before you move on to the next command or you wont have the settings saved.
Oh, and i thought we were Girding ourselves to take on the world..
Happy Girdering.
rajeshvb
August 18th, 2003, 02:22 AM
i know this, but suprsingly the command does not appear during capture and shows only leftclick!!! if this is tried it works only for current instance of application on rerun of appln. it does not work
so wanna spy sendmessage but unable to trace from huge list, any tips & tricks?
RSC
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.