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?
MS starts as scheduled but mouse click function doesn't work
Moderators: JRL, Dorian (MJT support)
-
- Newbie
- Posts: 2
- Joined: Sun Jul 10, 2005 3:05 pm
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
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.
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!
Bob
A humble man and PROUD of it!
-
- Newbie
- Posts: 2
- Joined: Sun Jul 10, 2005 3:05 pm
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.Bob Hansen wrote:How do you know the "click" does not work? What does not work? What are you expecting to see happen?...
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â€â€
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact: