MS starts as scheduled but mouse click function doesn't work

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Sinister76
Newbie
Posts: 2
Joined: Sun Jul 10, 2005 3:05 pm

MS starts as scheduled but mouse click function doesn't work

Post by Sinister76 » Sun Jul 10, 2005 3:34 pm

OS Windows XP Professional

Macro starts running as scheduled but sometimes mouse click function doesn't work ---> it does the same thing as always - mouse moves
but doesn't perfom a "click" function.
It happens absolutely randomly: my scheduled macro can run normally 4 tmes in a row and then next 2 times skip "clicking" .

Does anybody has the same problem?

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sun Jul 10, 2005 10:25 pm

How do you know the "click" does not work? What does not work? What are you expecting to see happen?

Are you setting focus before clicking?
Are you using actual or relative mouse positions?
Is Window ready to accept clicks
Have you inserted a Wait> before click?

Maybe submit sample of code and show where clicking does not work. Do not retype the code, copy/paste here to the forum.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Sinister76
Newbie
Posts: 2
Joined: Sun Jul 10, 2005 3:05 pm

Post by Sinister76 » Sun Jul 10, 2005 11:12 pm

Bob Hansen wrote:How do you know the "click" does not work? What does not work? What are you expecting to see happen?...
Thank you very much for taking your time and trying to help me. I don't write these macros myself, I use a "record" option. I'm a newbie here. I have my macro on another computer and will copy & paste part of it tomorrow, but before doing this I'll try to explain more clearly what had happened.

I have a macro which runs every 4 hours and starts another program. What it has to do is start my program (double click an icon on a desktop), open a specific file and hit "play" button. Usually there are no problems. My macro runs at scheduled times performing all these moves, but occasionally macro starts running – mouse moves, goes to my .exe file --- nothing happensâ€â€

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Mon Jul 11, 2005 2:02 am

Good explanations, will be more useful after we see copy of script. Don't think we can do much without that as a reference.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts