Jump to content
UBot Underground

Recommended Posts

I am attempting to upload images to this site, but alas, no luck: http://www.usedokanagan.com/FormInsertUsedAdNew?selected_category_code=house-for-sale

 

Anyone got any tricks for that? Don't want to use the win automation commands.

 

Thanks.

 

 

Link to post
Share on other sites

try.

navigate("http://www.usedokanagan.com/FormInsertUsedAdNew?selected_category_code=house-for-sale","Wait")
wait for browser event("Everything Loaded","")
wait for element(<class="dz-message rborder-full">,"","Appear")
click(<class="dz-message rborder-full">,"Left Click","No")
wait(1)
plugin command("WindowsCommands.dll", "set dialog text", "Open", "File name:", "C:\\Users\\Apichai\\Pictures\\2015-08-31_12-58-48.png")
plugin command("WindowsCommands.dll", "click dialog button", "Open", "Open")

The other method is to use plug-ins.

  • Like 1
Link to post
Share on other sites

Just the good old change file field worked for me!

 

change file field(<innertext="DRAG AND DROP OR CLICK TO UPLOAD MULTIPLE PHOTOS.">"D:\\void.jpg")
wait for element(<title="Delete photo">"""Appear")

  • Like 1
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...