swzoh wrote:

>>  Win.Mouse("re 50 355 lc")
>>    
>>
>Is the cursor positioned properly over the button?
>What is this button? Maybe you need a double click, i.e.,
>ll, instead of lc.
>
Thanks for all the input guys - yes, as Alan said I'm trying to click a 
button within another application.  But unfortunately (and 
frustratingly) this button doesn't have a keyboard equivalent.

The pgm is MYOB, and the partic. button is the Task Start/Stop button on 
the single Enter Activity Slip page.

Yep, Sean the cursor position is exactly over the button, and I've just 
tried a double click but no luck with that either.

Has anyone else got MYOB they could try this on?

This is my script:
----------
@TaskStartStop

    Local m = "MYOB*"
   
    VDesk.SwitchTo("MiinxBase")
   
    if (not activewindow(m)) do
        Window.Show(m)
        Wait.For(2000, activewindow(m))
    endif
   
    Win.Mouse("re 50 355 ll")
   
Quit
----------

Thanks again,
Karen



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to