Advanced Blitzplus - human interfaces

BlitzPlus Forums/BlitzPlus Programming/Advanced Blitzplus - human interfaces

Rob(Posted 2003) [#1]
Hi there,
many of you will know about arexx, the amiga's macro style desktop language. I'd like to discuss a similar thing for BlitzPlus.

Ideally, we'd be able to time and perform mouse clicks, drags and keyboard strokes.

It is easy to record this, but at the moment, we have no way of performing a click at a specified location and so forth. I think it will be a very powerful addition to Blitzplus.

Now who's brave enough to try? :)


BlitzSupport(Posted 2003) [#2]
Rob, check mouse_event and keybd_event in the Win32 API if you're familiar with it -- they fake inputs for you...


EOF(Posted 2003) [#3]
Yes. Arexx was just *one* of the Amigas many wonderfull features. Especially for getting other apps to perform scripted stuff.

Some commands worth checking:

sendInput

SendMessage

I think it will be a good idea to set a challenge such as:

> Open MSPaint
> Set painting mode to 'BRUSH'
> choose 'RED'
> scribble 'BLITZ+ RULES'

However, I don't know much about how to get the gadget handles from mspaint.