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 

An Advanced Technique.
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
TheLaughingMan



Joined: 21 Aug 2006
Posts: 51

PostPosted: Sat Aug 11, 2007 10:21 pm    Post subject: Re: An Advanced Technique. Reply with quote

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
View user's profile Send private message
Rad777



Joined: 05 Jul 2007
Posts: 12

PostPosted: Mon Aug 27, 2007 4:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 6223

PostPosted: Mon Aug 27, 2007 4:35 pm    Post subject: Reply with quote

Try (S)endMessage instead of (P)ostMessage Smile
Back to top
View user's profile Send private message
Rad777



Joined: 05 Jul 2007
Posts: 12

PostPosted: Fri Aug 31, 2007 7:18 pm    Post subject: Reply with quote

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 Smile


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
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 6223

PostPosted: Fri Aug 31, 2007 9:35 pm    Post subject: Reply with quote

Rad777 wrote:
I tried using SendMessage without success.


What is the errorlevel received ? Rolling Eyes
Back to top
View user's profile Send private message
Rad777



Joined: 05 Jul 2007
Posts: 12

PostPosted: Mon Sep 10, 2007 7:06 pm    Post subject: Reply with quote

Skan wrote:
Rad777 wrote:
I tried using SendMessage without success.


What is the errorlevel received ? Rolling Eyes


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
View user's profile Send private message
fredchf
Guest





PostPosted: Fri Dec 07, 2007 11:31 pm    Post subject: Reply with quote

Hi Rajat,
thanks for this tutorial! Laughing
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. Question

Greetings, fredchf
Back to top
rajat as guest
Guest





PostPosted: Fri Dec 07, 2007 11:42 pm    Post subject: Reply with quote

here you go..
http://www.angelfire.com/ultra2/rajat/messages.txt
Back to top
lilljimpa



Joined: 18 Apr 2007
Posts: 92

PostPosted: Sat Dec 08, 2007 3:19 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
schoolboy
Guest





PostPosted: Sun Dec 23, 2007 9:20 am    Post subject: How to sent title of song Reply with quote

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






PostPosted: Sat Dec 29, 2007 9:13 pm    Post subject: Reply with quote

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

PostPosted: Wed Apr 16, 2008 6:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Fri May 02, 2008 7:32 pm    Post subject: Reply with quote

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

PostPosted: Fri May 02, 2008 8:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Fri May 02, 2008 10:12 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 6 of 7

 
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