AutoHotkey Community

It is currently May 26th, 2012, 1:37 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 93 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7  Next
Author Message
PostPosted: August 11th, 2007, 11:21 pm 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
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

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 5:14 pm 
Offline

Joined: July 5th, 2007, 6:30 pm
Posts: 65
Location: www.newfreethinker.com
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 5:35 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
Try (S)endMessage instead of (P)ostMessage :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 31st, 2007, 8:18 pm 
Offline

Joined: July 5th, 2007, 6:30 pm
Posts: 65
Location: www.newfreethinker.com
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 31st, 2007, 10:35 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
Rad777 wrote:
I tried using SendMessage without success.


What is the errorlevel received ? :roll:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 10th, 2007, 8:06 pm 
Offline

Joined: July 5th, 2007, 6:30 pm
Posts: 65
Location: www.newfreethinker.com
Skan wrote:
Rad777 wrote:
I tried using SendMessage without success.


What is the errorlevel received ? :roll:


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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 8th, 2007, 12:31 am 
Hi Rajat,
thanks for this tutorial! :lol:
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 8th, 2007, 12:42 am 
here you go..
http://www.angelfire.com/ultra2/rajat/messages.txt


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 8th, 2007, 4:19 pm 
Offline

Joined: April 18th, 2007, 9:03 am
Posts: 127
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)...


Report this post
Top
 Profile  
Reply with quote  
PostPosted: December 23rd, 2007, 10:20 am 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 29th, 2007, 10:13 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 16th, 2008, 7:23 am 
Offline

Joined: March 11th, 2008, 11:36 pm
Posts: 291
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 2nd, 2008, 8:32 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 2nd, 2008, 9:10 pm 
Offline

Joined: April 21st, 2008, 9:02 pm
Posts: 86
Location: somewhere
there are windows media player scripts in the forum....you can get the list of messages (with examples) from one of them.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 2nd, 2008, 11:12 pm 
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..


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 93 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Stigg and 19 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group