RE: Moving the Mouse by Code
"Gagnon, Jerry" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.jedi |
|---|---|
| Message-ID | <[email protected]> |
A variable named Mouse (of type TMouse) is defined in the Controls unit. Simply use something like this to change the location the mouse is pointing to: Mouse.CursorPos := Point(10,10); -----Original Message----- From: Tameem Bahri [mailto:[email protected]] Sent: Friday, March 19, 2004 10:04 AM To: [email protected] Subject: [Delphi-JEDI] Moving the Mouse by Code Hello ... I want to know if I can move the mouse by using a code in my Application. what I want is to create an application that moves the mouse automatically around the screen (even outside my Application's Form). I dont want to click ... just want to move the mouse. any tip - small piece of code - Free Component is welcomed. thank you. Tameem Bahri (Dr.T) Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Delphi-JEDI/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/