PDA

View Full Version : moving the mouse cursor to a screen coordinate (for IL2)



fiasco69
20th February 2008, 09:32 AM
In IL2 there is no button to toggle the map resolution. What I would like to do is set up a button to cause the mouse cursor to jump to the map and click on it.

Can I do this with a CMS script?

Thanks

Bob Church
20th February 2008, 11:08 AM
Hi fiasco69,

There is, but it may not be permanent. I think what you're trying to do is similar to what's described on the thread here:

http://www.ch-hangar.com/forum/showthread.php?t=5367

It depends on whether the SCREENX/SCREENY functions survive for precise placement. If the placement isn't terribly critical, you might get by with time and speed. Anyway, have a look at the thread and see if it helps. It talks about the pointer-positioning problems and should help some.

Best regards,

- Bob

The StickWorks
http://www.stickworks.com

fiasco69
20th February 2008, 11:32 AM
I found another post on the subject thanks bob.

http://www.ch-hangar.com/forum/showthread.php?t=2659