Bot-Factory 602 Posted November 8, 2010 Report Share Posted November 8, 2010 Hi. My work only works correctly when I run it the first time. Here's what I want to do: 1. Text box where I can enter a value2. Create list from file3. Text box number has to be equal or lower than $list total I have a stat monitor. Which monitors the variable of the Text box variable.When I enter a number, the monitor gets updated. The List contains 7 items. I start with entering a 1 then a 2 then a 3 and so on.Everything works fine. Let's assume the number I enter is 10. Now I hit start. The variable gets reset to the 7. Now I enter 10 again, and it stays 10. When I enter 50 I get 50.When I enter 500 I get 126 Very strange. Don't know if this is an issue. Maybe I should use an additional variable instead of the text box one? Bot Download Link:http://dl.dropbox.com/u/10322/Test.zip Video of the issue:http://goview.com/?id=65a53d8b-d28b-4d52-b06a-91c8a4a61e50 Thanks a lot for your helpDan Quote Link to post Share on other sites
MiriamMB 63 Posted November 8, 2010 Report Share Posted November 8, 2010 Hi. My work only works correctly when I run it the first time. Here's what I want to do: 1. Text box where I can enter a value2. Create list from file3. Text box number has to be equal or lower than $list total I have a stat monitor. Which monitors the variable of the Text box variable.When I enter a number, the monitor gets updated. The List contains 7 items. I start with entering a 1 then a 2 then a 3 and so on.Everything works fine. Let's assume the number I enter is 10. Now I hit start. The variable gets reset to the 7. Now I enter 10 again, and it stays 10. When I enter 50 I get 50.When I enter 500 I get 126 Very strange. Don't know if this is an issue. Maybe I should use an additional variable instead of the text box one? Bot Download Link:http://dl.dropbox.com/u/10322/Test.zip Video of the issue:http://goview.com/?id=65a53d8b-d28b-4d52-b06a-91c8a4a61e50 Thanks a lot for your helpDan I think you might need a clear list at the top of the script. Have you tried that?otherwise every time you run the script, the contents of the file are being added again and again to the list. 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.