charnovbpi 0 Posted April 25, 2013 Report Share Posted April 25, 2013 I am trying to get my bot to submit images to mobypicture (http://www.mobypicture.com). The bot logs me in. It gets me to the upload page. There I don't know how to interact with the image submission field (see image 01) When I click on the "Add Files" button it launches what seems to be an actual windows browser window (see Image 02) At this point I cannot add nodes to uBot the windows popup window won't allow any other interaction until you deal with it. If i note the window's tittle and add a window command with the window closed--like to tell it insert the path to the image I want to upload and then press the open button, the bot still stops functioning. Is there a way around this? Any help would be appreciated, AC Quote Link to post Share on other sites
richim1 2 Posted April 25, 2013 Report Share Posted April 25, 2013 Just add this after "Add Files" plugin command("WindowsCommands.dll", "set dialog text", "File Upload", "File name:", #imgFile) plugin command("WindowsCommands.dll", "click dialog button", "File Upload", "Open") If you want to test, just run the bot or create entire upload node to define, then run define command. Quote Link to post Share on other sites
LazyBotter 188 Posted April 25, 2013 Report Share Posted April 25, 2013 Can you not just use the change file field command? Quote Link to post Share on other sites
charnovbpi 0 Posted April 25, 2013 Author Report Share Posted April 25, 2013 1. Thanks for replying. 2. Lazy, Change File is not working with it., Member: will give it a shot.... will update. Quote Link to post Share on other sites
charnovbpi 0 Posted April 25, 2013 Author Report Share Posted April 25, 2013 member: Worked like a charm.--I was trying it with type keys--whops 1 more question: on our NT servers the pop up window's caption is open. On windows 7, the pop up is upload file. I want to scrape the window for its caption--that way the bot will work anywhere, but as soon as the pop up, pops up I cannot access ubot commands. How do I scrape a windows caption under those circumstances? Thanks for everything, AC Quote Link to post Share on other sites
nuc63 27 Posted April 25, 2013 Report Share Posted April 25, 2013 member: Worked like a charm.--I was trying it with type keys--whops 1 more question: on our NT servers the pop up window's caption is open. On windows 7, the pop up is upload file. I want to scrape the window for its caption--that way the bot will work anywhere, but as soon as the pop up, pops up I cannot access ubot commands. How do I scrape a windows caption under those circumstances? Thanks for everything, AC Make a options file and put os in there and call variable and run define based on system is way i have gotten around some issues Quote Link to post Share on other sites
charnovbpi 0 Posted April 25, 2013 Author Report Share Posted April 25, 2013 Nuc63, I will have to research "options file" 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.