Redemption 0 Posted October 22, 2014 Report Share Posted October 22, 2014 I am triying to create a bot to fill some information in a flash page. However for some reason when i run the program, it cycles but does not enter information. Any suggestions? I am using hte image from ubotstudios and I take picture of the rectangular box where the info would be typed. Quote Link to post Share on other sites
Redemption 0 Posted October 22, 2014 Author Report Share Posted October 22, 2014 http://gyazo.com/a8e49ca9a649c81fc450c6a275116d8e That is what the form looks like. I am playinig with diff pictures. some times it works some others it types in the wrong box. Quote Link to post Share on other sites
HaHaItsJake 25 Posted October 22, 2014 Report Share Posted October 22, 2014 So, you're trying to use the image recognition to type text into a forum box correct? Link the page so we can test out a solution. Regards,HaHaItsJake Quote Link to post Share on other sites
Redemption 0 Posted October 22, 2014 Author Report Share Posted October 22, 2014 Hi, Thanks for the prompt reply. http://www.infinitecredit.com/misc/untitled.html Quote Link to post Share on other sites
HaHaItsJake 25 Posted October 22, 2014 Report Share Posted October 22, 2014 Not going to lie, I gave up. I did find out, using $Type Text command and have the element attached to the flash window. type text(<id="Yourfilename">, "Hello", "Standard") But, the box has to be highlighted. Which, would have to do a $Click Mouse or something to select it. Which would almost always be inaccurate. Same with the image recognition as fair as I can tell. Not sure if there's a hidden plugin out there that I don't know about or not which could help in this matter. I'll come back to this tomorrow afternoon if you're still stuck. Regards, HaHaItsJake Quote Link to post Share on other sites
Redemption 0 Posted October 22, 2014 Author Report Share Posted October 22, 2014 Thanks, It appears that it cannot be done Quote Link to post Share on other sites
UBotDev 276 Posted October 22, 2014 Report Share Posted October 22, 2014 You can't scrape/click flash elements, although you can get it working with UBot's built in plugin called Windows Commands (especially "click mouse" and "type keys" commands). When using those you should know that you can only use one thread, since those commands will actually move your mouse around and so on...further more you also shouldn't be doing anything else on the computer that is running the the bot (UBot is actually automating Windows in this case), meaning that this approach occupies your whole computer/OS. Quote Link to post Share on other sites
Redemption 0 Posted October 22, 2014 Author Report Share Posted October 22, 2014 You can't scrape/click flash elements, although you can get it working with UBot's built in plugin called Windows Commands (especially "click mouse" and "type keys" commands). When using those you should know that you can only use one thread, since those commands will actually move your mouse around and so on...further more you also shouldn't be doing anything else on the computer that is running the the bot (UBot is actually automating Windows in this case), meaning that this approach occupies your whole computer/OS. Thanks for the suggestion. I tried your suggestion, but unfortunatelly I have to enter information from a list and the username is an email and the @ is not being entered, instead I get 2. Thre is no option to select Flash to correct that problem. So back to square one. The clicks is not ideal but something is better than nothing. Back to the drawing board, suggestions appreciated. Thanks Quote Link to post Share on other sites
a2mateit 395 Posted October 23, 2014 Report Share Posted October 23, 2014 Thanks for the suggestion. I tried your suggestion, but unfortunatelly I have to enter information from a list and the username is an email and the @ is not being entered, instead I get 2. Thre is no option to select Flash to correct that problem. So back to square one. The clicks is not ideal but something is better than nothing. Back to the drawing board, suggestions appreciated. Thanks You do the @ by using key down + shift, the type 2, then key up + shift. This will simulate holding shift while hitting the 2 key and will give you @ symbol... Quote Link to post Share on other sites
HaHaItsJake 25 Posted October 23, 2014 Report Share Posted October 23, 2014 I might have came up with a solution. Have you tried having UBot send a keystroke of "Tab". I haven't done testing, and it might work if you focus to the flash elementTabFill in BoxTabFill in BoxEtc, Regards, HaHaItsJake Quote Link to post Share on other sites
Redemption 0 Posted October 24, 2014 Author Report Share Posted October 24, 2014 Great suggestions. I will give them a try and report back 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.