SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
HELP ! WHY MY JOB WAITS I MOVE THE MOUSE TO CONTINUE??

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
HELP ! WHY MY JOB WAITS I MOVE THE MOUSE TO CONTINUE??
Author Message
marnicos1



Joined: 15 Oct 2007
Posts: 2

Post HELP ! WHY MY JOB WAITS I MOVE THE MOUSE TO CONTINUE?? Reply with quote
Each time a macro is called, I have to move my mouse to continue, and no code was written to do that!



Please help, I can't go on programming as this problem is not resolved.
thanks

here it goes :
this is my macro

Keyboard(\wait(000321)\wait(000109)\enter )

and this is the code in job:


Dim macro_z_07, String
FileReadAll( "C:\\prueba\\trucho\\producto\\compra\\ASDOK\\4_saca.mcs", macro_z_07 )
MacroPlayBack( macro_z_07, 0, 1, true )

This problem appears sometimes only, it's amazing!! In fact, every time I try to find where it comes from, it seems to work but sometime later problem is steel there : ex: I plug another mouse in USB port, it works 2 times and then problem again, or I tape a stroke or open my cd writer and it doesn't wait any more!

I don't really understand at all. Is that enough info?

Thanks for your reply!

Nico


Last edited by marnicos1 on Mon Oct 15, 2007 4:29 pm; edited 1 time in total
Mon Oct 15, 2007 2:49 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Reply with quote
Hard to say what could be causing that without seeing your script or knowing what you are doing. Please post the actual macro so we can at least try to figure out what is going on. Make sure to indicate in which place it gets stuck, what happens before you move your mouse and after you move it..
Mon Oct 15, 2007 3:52 pm View user's profile Send private message
marnicos1



Joined: 15 Oct 2007
Posts: 2

Post Reply with quote
here it goes :
this is my macro

Keyboard(\wait(000321)\wait(000109)\enter )

and this is the code in job:


Dim macro_z_07, String
FileReadAll( "C:\\prueba\\trucho\\producto\\compra\\ASDOK\\4_saca.mcs", macro_z_07 )
MacroPlayBack( macro_z_07, 0, 1, true )

This problem appears sometimes only, it's amazing!! In fact, every time I try to find where it comes from, it seems to work but sometime later problem is steel there : ex: I plug another mouse in USB port, it works 2 times and then problem again, or I tape a stroke or open my cd writer and it doesn't wait any more!

I don't really understand at all. Is that enough info?

Thanks for your reply!

Nico
Mon Oct 15, 2007 4:31 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Reply with quote
This job and macro don't have much sense. In essence, the job loads macro file and runs it. The macro makes the job wait for 321 millisecond then wait again for 109 millisecond then shoot Enter key to whatever application currently has the focus. If focus is not on any button, this Enter keystroke has no effect. Since there are no checks for active applications or attempts to start a particular application, the result of this processing could be anything. You are lucky if the focus is not on some Windows shutdown button such as these appearing after various automatic software updates or antivirus updates.

What arte you trying to automate?
Mon Oct 15, 2007 5:05 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.