Thanks for the reply cattle rustler but I don't know what numeric values to pass in though. When you say enumerated constants do you mean using something like the following (taken from a blueGUI file)
#constant RIGHTBUTTON_UP 0x205
I have no idea what that value is or where to get it from. I've never even used the constant command before
This is pretty much new territory for me.
Ok I did some searching and found that 2 and 4 seem to be the values I need to use for down and up. Which I got from this link
http://www.borg.com/~jglatt/rexx/scripts/gci/mousesim.rex
call dll 1,"mouse_event",2,0,0,0,0
call dll 1,"mouse_event",4,0,0,0,0
Don't fully understand what's going on but at least I got it working.