How to click the mouse on another application

Generic Email generic.email.30022 at gmail.com
Fri Jan 9 14:04:56 EST 2009


I believe these are my requirements. Would anyone like to send me an  
estimate?

Please provide an estimate and timeline for developing software based  
on these requirements.

1) All rights for software developed and work products created as a  
result of this work become property of the client (me)
2) Software is to me implemented as a Runtime Revolution (RunRev)  
external
3) Software can be distributed as one single external file in a RunRev  
distribution.
4) Software must support Win32, Linux and Mac OS X
5) Must trap and report errors correctly.
6) function ScreenClick(button, h, v) as string
button can be "Primary" "Secondary" "Left" "Right" "Middle"
h is the horizontal screen location
v is the vertical screen location
the return value is the name of the application that was clicked on,  
or empty if there was an error
7) function ScreenKeys(text, h, v) as string
text can be a series of keys to send, including key combinations like  
Alt-S and Alt-F4
h is the horizontal screen location
v is the vertical screen location
the return value is the name of the application that was clicked on,  
or empty if there was an error
8) function ScreenDrag(button, starth, startv, endh, endv) as string
button can be "Primary" "Secondary" "Left" "Right" "Middle"
starth is the horizontal screen location of the drag start
startv is the vertical screen location of the drag start
endh is the horizontal screen location of the drag end
endv is the vertical screen location of the drag end
the return value is the name of the application that the drag started  
on, a return, then the name of the application the drag finished on,  
or empty if there was an error

If there is a better way to request an estimate for the creation of an  
external, of if I am making any mistakes in my request, please let me  
know.

On Jan 9, 2009, at 1:44 PM, Bernard Devlin wrote:

> I believe that I have done this before on Windows using VBScript  
> (although
> in my case I had to start the other application from Rev).  After  
> the other
> app was started I needed to click on some menus, then close it all via
> VBScript).
>
> If that sounds like what you need to do, then let me know and I'll  
> hunt out
> the code.
>
> Bernard
>
> On Thu, Jan 8, 2009 at 7:23 PM, Generic Email <generic.email.30022 at gmail.com
>> wrote:
>
>> I am using:
>> set the screenMouseLoc to (h,v)
>>
>> to move the mouse over a button on another application.
>>
>> Now I need to "Click" the mouse.
>>
>> The transcript click function does not seem to actually click the  
>> mouse,
>> but instead simulate a mouse click only in a rev stack.
>>
>> Any help would be appreciated.
>>
>> Bert
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list