Page 1 of 1
Robotask hangs
Posted: Wed Dec 19, 2007 6:17 pm
by crazycorkey
Hi,
I am running a task that is just inputing numbers into a document and then saving the document. I am just running a simple loop but when it gets to 89 to 90 it just stops. Does anyone have any suggestions? Is there a time limit that stops a task or something?
Thanks
Robotask hangs
Posted: Wed Dec 19, 2007 11:18 pm
by Oleg
There are no limits.
Maybe you need to insert some pauses when you input numbers into document. I think you use "Send keystroke" action. If yes, you have to make some pause in order to wait whet another application will do necessary operations.
Also it would be great, if you send your example of task.
Robotask hangs
Posted: Wed Dec 19, 2007 11:43 pm
by crazycorkey
I am embeding pdfs into webpages.
so 1_1.pdf into ******ch1_1.html
i have loops just inserting #s into the webpage program and then saving the webpage with that number also.
I have dreamweaver open with the cursor sitting in the code right after the second "1" *****ch1_1.pdf
Its wierd cause it always happens right between 89 and 90 when it opens the save window "(+(S))" for 90 and inserts part of the text for the file name (it varies how much), so I just type in the rest and then change robotask to do finish the loops and it works fine until I try to do another 2-125
yes i am using send keystroke
1 Focus window
2 Simple loop start 2 stop 10 variable A
3 Send keys to active window "{BACKSPACE}{A}^(+(S))statics_6th_meriam_kraige_ch1_{A}.html %(S)"
4 End loop
5 Simple loop start 11 stop 100 variable C
6 Send keys to active window "{BACKSPACE}{BACKSPACE}{C}^(+(S))sta tics_6th_meriam_kraige_ch1_{C}.html%(S)"
7 End loop
8 Simple loop start 101 stop 125 variable W
9 Send keys to active window "{BACKSPACE}{BACKSPACE}{BACKSPACE}{W}^(+(S))statics_6th_meri am_kraige_ch1_{W}.html%(S)"
10 End loop
Robotask hangs
Posted: Thu Dec 20, 2007 12:08 am
by Oleg
Advice:
select the task, press CTRL-C to copy task, select edit field on forum, press CTRL-V in order to paste task as text
I think that this will be better.
Robotask hangs
Posted: Thu Dec 20, 2007 12:12 am
by Oleg
Also try to put the step "pause(500)" (pause 0.5 s) after each "Send keystroke" action (points 3, 6, 9)
Robotask hangs
Posted: Thu Dec 20, 2007 11:17 am
by crazycorkey
That worked thank you