Hi Try creating a pointer for $hdr_buf like you do $str_buf. Most of C works with pointers, so I think that may be the key. my $hdr_buf_ptr = pack( "l l l", ...
Hi thanks I have tried that attached but it didn't seem to work. Is there any easy way to debug the messages with MFC to see where it is going? Below is a copy...
... UltraVNC offers such a feature: If your remote control a PC, there is a button in the ultraVNC client's tool bar which shuts off the real keyboard and...
I have managed to break my problem down slightly and found message that sends only NMHDR part of the structure. This is the NM_RCLICK message. Looking at the...
You shouldn't have to create a pointer for the HWND. Just send in the HWND for the ListView object should work. The one I'm testing with (Windows Explorer...
Thankyou very much for your help I will go with your work around for now. It is strange that the PostMessage seems to cause a crash but the SendMessage doesn't...
PostMessage crashes things, eh? I haven't tried it before since I thought the only difference would be that it doesn't return anything. But I just tried it...
Hello, I've been trying to automate a small application called Attrib from Network Appliance. I do not have access to the source code or the developers. The...
FindWindowLike puts it's result into an array. You may have to use the second (or third) item in that array if you can be sure that the number of such windows...
I use the controls' locations to keep them apart. I know the one I want is always on the right. I have no idea if the order in which they show up in the array...
Looking at this link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/common/messages/wm_notify.asp it states "For...
Finally got it working. For some reason I had to use PostMessage rather then SendMessage. Also I think the reason it was crashing before was because the memory...
So that's how you're suppose to create the struct. That's good to know, thanks. The funny thing is that I now see the notify message with WinSpector, with the...
Thats strange I am using XP and just tried to run the script and it sent the message correctly and didn't crash. If I can find a 2K system around here I will...
This code works on XP & 2K had to use the HDN_ITEMCLICKW message as explorer didn't seem to respond to LVN_COLUMNCLICK. The message is sent to the list but in...
Hello, Are you able to run the recorded script without any errors? If no errors when running the script, it is possible you may have to troubleshoot the script...
Cool...found something that works. http://www.see.ed.ac.uk/~mrichar1/perl/scripts/blockinput.pl Found here: http://www.see.ed.ac.uk/~mrichar1/perl/ Seems to...
I just discoved GuiTest yesterday - great tool - and this group about 5 minutes ago! Has anyone ever used GuiTest to try and control a remote system via the...
Mark, I use STAF to launch Win32::GUI scripts remotely. STAF runs in application mode under terminal server. I'm not sure it would work as a service when no...
I've got to believe this is possible but didn't see anything in the documentation that talked about combining more than two keys. I did try a one line script...
Don't worry about it. It's part of Activestate. You already have it. Have you tried to use it already? I ran into the same issue a few weeks ago. Very odd that...
Thank you Sander. I will try to use it tomorrow in the office. I have one more problem in using system( "start notepad.exe"); But it is not opening notepad in...
As I posted in an earlier note I'm trying [and failing] to run GuiTest from a remote machine via the 'rcmd' command and I'm guessing it's because it redirects...
Sandeep, go to CPAN or the documentation that comes with ActiveState and look at the example. I'm pretty sure there is no need for 'start39;. It also shows how...