FireFox Posted February 4, 2009 Posted February 4, 2009 (edited) Hi,I want to click on a skype button.Chat window :I tried 3 solutions :ControlClick('[CLASS:TskMultiChatForm.UnicodeClass]', '', '[CLASS:TChatEntryControl; INSTANCE:1]', 'left', 1) ControlClick('[CLASS:TskMultiChatForm.UnicodeClass]', '', '[CLASS:TChatEntryControl]', 'left', 1) ControlClick('[CLASS:TskMultiChatForm.UnicodeClass]', '', 67770, 1)oÝ÷ ض*ÝÂíÂäj|¦¢·yÆ®±ëayÊ'¶º% 7!jxjׯz¼¬µªí¡ô¤Êz·¢²Ø^±Êâ¦ÖuçRzwLzËèj|¨èZ²'^k+ZºÚ"µÍÛØ[ÛÛÝ ÌÍÕÓWÐÒTHLÚ[ÛYH ÓZØË]LÉÝÂYÝÚ[^ÝÊ ÌÎNÖÐÓTÔÎÚÓ][PÚ]ÜK[XÛÙPÛÜ×IÌÎNË ÌÎNÉÌÎNÊH[ÛÛÛÛUÜ]J ÌÎNÔÚÞHÚ[ÝÈÝ^ÝÈ ÌÌÎÉÌÎNÈ [ÈÔB^][YÌÍØÙÚHÛÛÛÙ][J ÌÎNÖÐÓTÔÎÚÓ][PÚ]ÜK[XÛÙPÛÜ×IÌÎNË ÌÎNÉÌÎNË ÌÎNÖÐÓTÔÎXÚY]ÑY]IÌÎNÊBÛÛÛÛXÚÊ ÌÎNÖÐÓTÔÎÚÓ][PÚ]ÜK[XÛÙPÛÜ×IÌÎNË ÌÎNÉÌÎNË ÌÎNÖÐÓTÔÎÚ][PÛÛÛÈSÕSÑNWIÌÎNË ÌÎNÛY ÌÎNËJBßÚ[Ù]Ý]J ÌÎNÖÐÓTÔÎÚÓ][PÚ]ÜK[XÛÙPÛÜ×IÌÎNË ÌÎNÉÌÎNËÕ×ÒQJBÚ[HBÜ ÌÍÛHHÈ LÔÙ[YÜØYÙJ ÌÍØÙÚ ÌÍÕÓWÐÒT PJBYÒÔÜÙY ÌÎNÌPÌÎNÊH[^]ÛÜ^^]ÛÜÑ[ßÚ[Ù]Ý]J ÌÎNÖÐÓTÔÎÚÓ][PÚ]ÜK[XÛÙPÛÜ×IÌÎNË ÌÎNÉÌÎNËÕ×ÔÒÕÊB[ÈÔÙ[YÜØYÙJ ÌÍÚÛ ÌÍÚSÙË ÌÍÝÔ[HH ÌÍÛ[HH ÌÍÚT]H ÌÍÝÔ[UHH ÌÎNÝÜ[IÌÎNË ÌÍÛ[UHH ÌÎNÛ[IÌÎNË ÌÍÜÔ]HH ÌÎNÛ[IÌÎNÊBØØ[ ÌÍØTÝ[HØ[ ÌÎNÝÙÌ ÌÎNË ÌÍÜÔ]K ÌÎNÔÙ[YÜØYÙIÌÎNË ÌÎNÚÛ ÌÎNË ÌÍÚÛ ÌÎNÚ[ ÌÎNË ÌÍÚSÙË ÌÍÝÔ[UK ÌÍÝÔ[K ÌÍÛ[UK ÌÍÛ[JBYÜ[]Ù]ÜÜ^[Y ÌÎNÉÌÎNÊBY ÌÍÚT] ÝÏH[ ÌÍÚT] ÏH [] ÌÍØTÝ[ÉÌÍÚT]B] ÌÍØTÝ[[[ÈÏOIÝ×ÔÙ[YÜØYÙThanks for anyhelp Cheers, FireFox. Edited February 4, 2009 by FireFox
Authenticity Posted February 4, 2009 Posted February 4, 2009 (edited) Hmm..You can use Spy++ and WinSpy to capture all WM_COMMAND similar to this post, maybe it has something to with this issue.From what I think that I understand, you send 50 times 'z' and then what? Edited February 4, 2009 by Authenticity
FireFox Posted February 4, 2009 Author Posted February 4, 2009 @Authenticity Its an example, the window is minimized or hidden, I send some caracters (50*Z) and I want to click on send button Thanks for your example, I will take a look Cheers, FireFox.
FireFox Posted February 5, 2009 Author Posted February 5, 2009 @AuthenticityI tried all possiblitys to click on the control...Here is control infos :Cheers, FireFox.
FireFox Posted February 5, 2009 Author Posted February 5, 2009 Skype is very hard to click on... I tried to ControlClick on any Skype Control with failure... Any ideas ? Cheers, FireFox.
FireFox Posted February 6, 2009 Author Posted February 6, 2009 Bump... ControlClick returns 1, but there isn't anyclick...perhaps Skype not allow this ? Cheers, FireFox.
Authenticity Posted February 6, 2009 Posted February 6, 2009 (edited) Read the post in the link again because I'm sure you're missing something or skipping the necessary part. This control probably sends WM_COMMAND even if it's an owner-drawn control... If so, you can send the same (or almost same) message to the correct process's message loop and it'll register the same event. Read again steps 2 through 5, it's probably same concept. Edited February 6, 2009 by Authenticity
FireFox Posted February 6, 2009 Author Posted February 6, 2009 @Authenticity I couldn't find Spy++, only other programs that do almost same thing.... Cheers, FireFox.
Authenticity Posted February 6, 2009 Posted February 6, 2009 http://download.microsoft.com/download/f/2.../ManagedSpy.exeIt's quite capable to do almost the same as Spy++. Anyway it's only the first step to capture the WM_COMMAND that I believe the control is sending, you'll need also WinSpy17 or just find WinSpy and try to find the handle within the process tree view of WinSpy (just click the "More >>" and you'll see a tree view processes list)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now