Jump to content
UBot Underground

Recommended Posts

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)

 

post-8496-0-18401300-1366899583_thumb.png

 

When I click on the "Add Files" button it launches what seems to be an actual windows browser window (see Image 02)

 

post-8496-0-15050300-1366899636_thumb.png

 

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...