screenMouseLoc

Thomas McGrath III 3mcgrath at adelphia.net
Wed Jun 8 19:17:47 EDT 2005


Oh yeah and then put a click at  in there like:

click at the loc of group h

if it is from one window to another you could also bring to front the 
new window or click in the new window.

HTH

Tom

On Jun 8, 2005, at 6:56 PM, Thomas McGrath III wrote:

> Roger,
>
> You might want to have a list of the coordinates in a variable and 
> then go through each line in a loop with:
>
> on mouseUp
>   put "252,348" & cr & "267,323" & cr & "274,318" & cr & "285,275" & 
> cr & "292,248" into myLocs -- for a sample
>
> --or adjust this to your needs
> --put globalLoc(the loc of group h) & cr after myLocs
>
> repeat with x = 1 to the number of lines in myLocs
>   set the screenMouseLoc to (line x of myLocs)
>    wait 500 milliseconds
> end repeat
> end mouseUp
>
> thereby making the mouse move to the points in the list. IMPORTANT 
> this is not normal HIG behavior and users do not like it when the 
> mouse is moved for them. It does have it's good points and I use it in 
> animated tutorials.
>
> I set points
> On Jun 8, 2005, at 6:12 PM, Roger Guay wrote:
>
>> Hi Eric,
>>
>> Not quite what I want.  I want to simulate (script) the MOVEMENT of 
>> the mouse from one location to another across stacks.  I don't want 
>> to just set the mouse location but rather move it uniformly from one 
>> location to another.  Am I still missing something obvious??
>>
>> Cheers, Roger
>>
>>
>> On Jun 8, 2005, at 1:41 PM, use-revolution-request at lists.runrev.com 
>> wrote:
>>
>>> What you need is: set the screenMouseLoc to tH,tV
>>> Check the screenMouseLoc property in the docs :-)
>>>
>>> Le 8 juin 05 à 23:08, Roger Guay a écrit :
>>>
>>>
>>>> Thanks, Xavier.  I am aware of the ability to drag a tool from one
>>>> point to another, But drag mouse does not work!  And of course,
>>>> this is what I really want . . . I want to drag the mouse from one
>>>> point to another across open stacks.  Since I could not figure out
>>>> how to do this specifically, I then decided to move a tiny window
>>>> with a "hand" shape from a point within one stack to a point in
>>>> another stack.  To do this, I have successfully worked out the
>>>> required geometry.  But, I still wonder if there is a way to move
>>>> the mouse itself??  Am I missing something obvious??
>>>>
>>>
>>> Best regards from Paris,
>>>
>>> Eric Chatonet.
>>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>
> Thomas J. McGrath III
> SCS
> 1000 Killarney Dr.
> Pittsburgh, PA 15234
> 412-885-8541
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541


More information about the use-livecode mailing list