| View previous topic :: View next topic |
| Author |
Message |
TheLaughingMan
Joined: 21 Aug 2006 Posts: 51
|
Posted: Sat Aug 11, 2007 10:21 pm Post subject: Re: An Advanced Technique. |
|
|
Sorry had to BUMP this post..
| ezuk wrote: | There was one thing I didn't understand below. I worked through the whole thing with WinSpy and my application (in this case, ToDoList by AbstractSpoon), but ... ... All my messages are "0x0000001eb", or "..ef" or "...e4" and other such hex values. What am I looking for?
Also, what does the script ... do? I can't make it do anything... |
1st off the example script for insert picture in OE is not working for me either even with sleep padding??
2ndly when using Winspector Spy filtering commands seems to block out the one(s) I may need.. Wish there was a way to auto convert them to AHK..
Maybe there are solutions??
TLM _________________
 |
|
| Back to top |
|
 |
Rad777
Joined: 05 Jul 2007 Posts: 12
|
Posted: Mon Aug 27, 2007 4:14 pm Post subject: |
|
|
In winspector there is a column after the time with (P) and (S) when I am getting messages for WM_Command
I got the (P) messages to work fine... but The ones that have a preceding (S) I cannot get to work.
Could anyone assist me with this winspector message:
(S) WM_COMMAND Code: 0 Control ID: 5011 Control HWND: 0x00050300
Return: 0x00000001
Thanks |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 6223
|
Posted: Mon Aug 27, 2007 4:35 pm Post subject: |
|
|
Try (S)endMessage instead of (P)ostMessage  |
|
| Back to top |
|
 |
Rad777
Joined: 05 Jul 2007 Posts: 12
|
Posted: Fri Aug 31, 2007 7:18 pm Post subject: |
|
|
| Rad777 wrote: |
In winspector there is a column after the time with (P) and (S) when I am getting messages for WM_Command
I got the (P) messages to work fine... but The ones that have a preceding (S) I cannot get to work.
Could anyone assist me with this winspector message:
(S) WM_COMMAND Code: 0 Control ID: 5011 Control HWND: 0x00050300
Return: 0x00000001
Thanks
|
| Skan wrote: | Try (S)endMessage instead of (P)ostMessage  |
I tried using SendMessage without success. The Sendmessage commands are not visible in winspector. Would there be an explanation why the program displays both S.msg & P.msg commands in winspector but when I use them in AHK it only responds to P.msg? I am by far a newb to coding and ahk so if the above does not make sense I apologize.
Rad777 |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 6223
|
Posted: Fri Aug 31, 2007 9:35 pm Post subject: |
|
|
| Rad777 wrote: | | I tried using SendMessage without success. |
What is the errorlevel received ?  |
|
| Back to top |
|
 |
Rad777
Joined: 05 Jul 2007 Posts: 12
|
Posted: Mon Sep 10, 2007 7:06 pm Post subject: |
|
|
| Skan wrote: | | Rad777 wrote: | | I tried using SendMessage without success. |
What is the errorlevel received ?  |
If I use the specific HWND:
SendMessage, 0x111, 5005, 0, , ahk_id %0x00050300%
I get an error level of "FAIL"
If I use the window class I get error level "1".
Does the Return: 0x00000001, have anything to do with it?
Thanks! |
|
| Back to top |
|
 |
fredchf Guest
|
Posted: Fri Dec 07, 2007 11:31 pm Post subject: |
|
|
Hi Rajat,
thanks for this tutorial!
Unfortunately,
the text file is no longer accessible!(messages.txt)
I seek for a postmessage to create a new folder in windows explorer,thank you for the support.
Greetings, fredchf |
|
| Back to top |
|
 |
rajat as guest Guest
|
|
| Back to top |
|
 |
lilljimpa
Joined: 18 Apr 2007 Posts: 92
|
Posted: Sat Dec 08, 2007 3:19 pm Post subject: |
|
|
i just found out about this and i now realysize that AHK is a realy powerfull tool, i am very intresting in just this subjec now
but i can not figure out how it works. isent ther a video tourtual or something i can watch to learn?
dident find any on youtube...
can some1 teach me meaby something esay to start _________________ you'll have to excuse me...I'm from Sweden, so my English is not that good...(but now it's better cuz JSLover/Guest is helping me)... |
|
| Back to top |
|
 |
schoolboy Guest
|
Posted: Sun Dec 23, 2007 9:20 am Post subject: How to sent title of song |
|
|
Hello Everyone, Well I am quite confused using the auto-hotkey, could someone give me the direct script command to send the title of the current playing winamp song?
Thanks in advance. |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Dec 29, 2007 9:13 pm Post subject: |
|
|
i use scripts with postmessages to Total Commander but they dont work with a old version of Windows Commander 5.11.. Anyone know whats been changed?
other than ahk_class TTOTAL_CMD to ahk_class TWINDOWSCMD
like this one for TCMD:
PostMessage, 1075, 2002 ; cm_GoToParent |
|
| Back to top |
|
 |
heresy
Joined: 11 Mar 2008 Posts: 291
|
Posted: Wed Apr 16, 2008 6:23 am Post subject: |
|
|
Firstly Thanks for great tutorial. Rajat
now i can play with WM_COMMAND.
but what about other Messages?
Post/SendMessage does nothing with other messages?
i've tried to simulate WM_CONTEXTMENU (0x7B) that i captured from while right clicking on notepad,
i have wParam, lParambut no luck
is there any other advance Message tutorials? |
|
| Back to top |
|
 |
Guest
|
Posted: Fri May 02, 2008 7:32 pm Post subject: |
|
|
anyone can tell me how to get messages from Windows Media Player?
on winspector, WMP has lots of sub windows so i've tried them all
but there were no WM_Command. Only ShellHook(Registered) Messages (except filtered)
i've read the tutorial and help file. i noticed that Rajat found messages of WMP
i don't think it's impossible.
could anyone tell me the techniques?
i'm using Windows Media Player v11
thanks in advance and many thanks Rajat for this fantastic tutorial |
|
| Back to top |
|
 |
SomeGuy
Joined: 21 Apr 2008 Posts: 96 Location: somewhere
|
Posted: Fri May 02, 2008 8:10 pm Post subject: |
|
|
| there are windows media player scripts in the forum....you can get the list of messages (with examples) from one of them. |
|
| Back to top |
|
 |
Guest
|
Posted: Fri May 02, 2008 10:12 pm Post subject: |
|
|
yeah i've saw them. but i'm following Rajat's tutorial.
i want to learn the method. not just results.
i can grab the messages from other normal windows
but not on Windows Media Player
it's strange.. |
|
| Back to top |
|
 |
|