|
Re: Computer playing Bejeweled Blitz project
Wow, that helps a whole bunch more, thanks! That function is one of what I'm looking for. I even poked around, found user32.dll, configured the node, and it worked! Screenshots of configuration attached. It certainly helped to know a little bit about C-like functions for the parameters tab.
I looked at msdn before but couldn't find anything...thanks for the link. I looked at the other cursor functions but there wasn't one to click the mouse/cursor, so maybe the user will have to do that quickly when prompted to.
Thanks Greg for the tip about the GDI and GetPixel calls, I'll look them up on msdn. Yes, I've looked at that example you were talking about and some other ones too, but they were still a little over my head.
So let me get this straight for my sake and anyone else's who might look at this and not know--the Call Library Function Node basically calls/uses a function in a library that you specify. A .dll file is a compressed library with many functions that can be used universally with many systems/programs. And user32.dll is a library that has many/all of the Windows API functions, which can be used by other programs to interact with windows. Aren't they written in a unique programming language that is very similar to C/Java/most text-based languages?
EDIT: well now that I think about it, of course there wouldn't really be a function to "click" the mouse; you're the one that's clicking it and the software is sensing that. But maybe if there was a function to send a universal "click signal" to all of Windows, or all the programs waiting for a click, or the general windows mouse driver, etc.
Last edited by RoboMaster : 07-11-2010 at 18:23.
|