mouse clicks

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ndbaker
Posts: 1
Joined: Fri Aug 28, 2009 2:27 am

mouse clicks

Post by ndbaker » Fri Aug 28, 2009 2:37 am

Do'es anyone know how to simulate a mouse click in a external program? I've read that it can't be done, but I've seen it done in other programs. Any help would be greatly appreciated. Thanks :D

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Fri Aug 28, 2009 8:21 am

Hi ndbaker,

on a Mac you could use AppleScript to do this, but on Windeows you will need an external.

The built-in caypabilities of Rev cannot do this.


Best

Klaus

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Fri Aug 28, 2009 8:29 am

Hi ndbaker,

You might try QuicKeys. QK tasks can started from within Revolution and on the Mac you should be able to use QK as an OSA langauage.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Post by shadowslash » Fri Aug 28, 2009 1:27 pm

If you want more control and small output size, I suggest you try out AutoIt scripting. It's quite different from the way Revolution scripting works but it's got great sets of functions for controls in the Windows environment. It's got the function you need about the mouse and lots more to typing the text or closing processes and stuff. Image
Parañaque, Philippines
Image
Image

Post Reply