How to click the mouse on another application
Thomas McGrath III
mcgrath3 at mac.com
Fri Jan 16 10:29:01 EST 2009
tell application "Extra Suites"
set x to ES mouse location
ES move mouse {item 1 of x, (item 2 of x) + 10}
end tell
tell application "Extra Suites"
ES move mouse {10,30}
end tell
tell application "Extra Suites"
ES move mouse -30 with locally
ES click mouse
end tell
ES is $10 shareware but can be distributed for run only applications
I have no affiliation with ES
Tom McGrath III
Lazy River Software
3mcgrath at comcast.net
iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html
On Jan 15, 2009, at 5:38 PM, Generic Email wrote:
> This is perfect! Thanks so much.
>
> On Jan 15, 2009, at 1:44 PM, Thomas McGrath III wrote:
>
>> This can be done easily using Applescript. If you use the Extra
>> Suites.sdef you will see dictionary commands for ES click mouse, ES
>> move mouse, ES select menu item, ES type key, ES type string, ES
>> mouse location, ES keys down.
>>
>> There is only a limited ability to do this in VBScript, however.
>> But it is straight forward in Applescript.
>>
>>
>> Tom
>>
>> On Jan 8, 2009, at 2:48 PM, Bert Shuler wrote:
>>
>>> Then my guess is this would require an external.
>>> What would be the best mechanism to request a quote for the
>>> development of an external?
>>>
>>> SendClick (h,v)
>>> SendKeys (h,v) "string to send" (including Alt+F style key
>>> combinations)
>>>
>>> Should would correctly on OS X, Win32, and linux.
>>>
>>> Thanks
>>>
>>> Bert
>>>
>>>
>>>
>>> On Jan 8, 2009, at 2:23 PM, Generic Email 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
More information about the use-livecode
mailing list