TommyTx 5 Posted May 21, 2010 Report Share Posted May 21, 2010 Does anyone know any secrets to keeping the "in sub window" open as long as you need it open.. it closed following the loading.... I need to keep it open awhile.. but can't use simple delay as the time will vary drastically..Let me give an example..1. I autofill in the craigs list with the info to post..2. Then I scroll and review to make the auto fill looks ok..3. Then hit continue... and in that same window it shows me what the posted results will look like.4. I scroll to look it over... 5. The hit contine and it gives me the capture and then I hit continue again.6. If the capture is ok... then I am done..7. But if capture was wrong I try again..8. Finally I am done.. so i want to now use the red x to close the window...9. on window close the auto fill gets and fills another page for my review.. The window has a sign that says "Sub Window" I tried to wait for this to go away.. when I close the window but no work... Any Ideas on possible ways to wait for the Sub Window to close and then continue the automation program.. Thanks in advance. Quote Link to post Share on other sites
The_Brit 13 Posted May 21, 2010 Report Share Posted May 21, 2010 Does anyone know any secrets to keeping the "in sub window" open as long as you need it open.. it closed following the loading.... I need to keep it open awhile.. but can't use simple delay as the time will vary drastically..Let me give an example..1. I autofill in the craigs list with the info to post..2. Then I scroll and review to make the auto fill looks ok..3. Then hit continue... and in that same window it shows me what the posted results will look like.4. I scroll to look it over... 5. The hit contine and it gives me the capture and then I hit continue again.6. If the capture is ok... then I am done..7. But if capture was wrong I try again..8. Finally I am done.. so i want to now use the red x to close the window...9. on window close the auto fill gets and fills another page for my review.. The window has a sign that says "Sub Window" I tried to wait for this to go away.. when I close the window but no work... Any Ideas on possible ways to wait for the Sub Window to close and then continue the automation program.. Thanks in advance. Set a variable when you start your flow in the main window. Run your sub window tasks in a while loop that checks the value of that variable. When the variable is changed to whatever value you chose in the main window to indicate the process has finished, use that as the condition to end the loop in the sub window and close it. That's off the top of my head but I think it should work. Dave Quote Link to post Share on other sites
Luke 18 Posted May 21, 2010 Report Share Posted May 21, 2010 Set a variable when you start your flow in the main window. Run your sub window tasks in a while loop that checks the value of that variable. When the variable is changed to whatever value you chose in the main window to indicate the process has finished, use that as the condition to end the loop in the sub window and close it. That's off the top of my head but I think it should work. Dave Loop? Then wouldn't it keep going through his many-stepped process? How about a While instead? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.