UBotDev 276 Posted May 5, 2011 Report Share Posted May 5, 2011 Hey guys, I'm having hard time with uploading profile picture to Twitter. If I choose upload field and then "send keys file chosen" I get stucked with "Open file" popup window. I use ie8 and I found out that "this command no longer works if you have internet explorer 8 installed.", which I found here: http://ubotstudio.com/scriptreference.aspx Do I need to downgrade ie in order to upload image to twitter/use "send keys file chosen" function? Thanks for helping me out! Greetings, thenimalix Quote Link to post Share on other sites
Praney Behl 314 Posted May 5, 2011 Report Share Posted May 5, 2011 Hi thenimalix, Here is what you need : Praney_twitter_image _change.ubot Cheers! Praney 1 Quote Link to post Share on other sites
UBotDev 276 Posted May 6, 2011 Author Report Share Posted May 6, 2011 Strange, now it works, but still not sure what the problem was. I was choosing field same as you, with id... Thanks for help and quick reply! Update: Now I noticed, you used "change file field choosen" instead of "send keys file chosen". Quote Link to post Share on other sites
Praney Behl 314 Posted May 7, 2011 Report Share Posted May 7, 2011 Yes, "change file field chosen" just make life easier, with less coding does the same thing 1 Quote Link to post Share on other sites
skanck 2 Posted August 20, 2011 Report Share Posted August 20, 2011 Yes, "change file field chosen" just make life easier, with less coding does the same thing As Frank Lucas would say "My Man!" saved me 100's of hours fucking about thanks Praney Quote Link to post Share on other sites
Praney Behl 314 Posted August 20, 2011 Report Share Posted August 20, 2011 glad I could help Quote Link to post Share on other sites
Kev 69 Posted September 19, 2012 Report Share Posted September 19, 2012 Hey Praney, Just tried this but it's not ubot 4 compatable. Any pseudo steps you could tell me about how to upload this? I am using IE 6 as useragent and can see the change proto option. Tried Change File Field but cant get the profile pick to load. Cheers Kev Quote Link to post Share on other sites
zenos 13 Posted August 29, 2014 Report Share Posted August 29, 2014 Sorry to up this thread, but I cannot add an image on a tweet... The "change file field" doesn't work... Nothing's work... I've tried many user agents with the same problem. Someone has the solution here ? Thanks a lot Quote Link to post Share on other sites
luis carlos 94 Posted August 29, 2014 Report Share Posted August 29, 2014 yes, but u should have the http plugin. Sorry to up this thread, but I cannot add an image on a tweet... The "change file field" doesn't work... Nothing's work... I've tried many user agents with the same problem. Someone has the solution here ? Thanks a lot Quote Link to post Share on other sites
zenos 13 Posted August 30, 2014 Report Share Posted August 30, 2014 yes, but u should have the http plugin. Thank you, I'm gonna check this out Quote Link to post Share on other sites
UBotDev 276 Posted August 31, 2014 Author Report Share Posted August 31, 2014 Omg, why are you opening up such old topics? That one was opened while we still used UBot v3....I think next time you should be better by opening a new topic or at least comment one the one with more recent date... However, back to the problem....you don't need any plugin for that, here is the code for v4/v5 ( make sure you run this code once you are on the "edit profile" page): click(<id="profile_image_upload">, "Left Click", "No") wait for browser event("DOM Ready", "") wait for element(<(type="file" AND name="media[]")>, "", "Appear") change file field(<(type="file" AND name="media[]")>, "C:\\Users\\Tadej\\Pictures\\Tadej-300x225.png") wait for browser event("DOM Ready", "") click(<id="settings_save">, "Left Click", "No") wait for browser event("Everything Loaded", "") Profile image will appear once the code submits the page. Quote Link to post Share on other sites
zenos 13 Posted September 3, 2014 Report Share Posted September 3, 2014 Omg, why are you opening up such old topics? That one was opened while we still used UBot v3....I think next time you should be better by opening a new topic or at least comment one the one with more recent date... However, back to the problem....you don't need any plugin for that, here is the code for v4/v5 ( make sure you run this code once you are on the "edit profile" page): click(<id="profile_image_upload">, "Left Click", "No") wait for browser event("DOM Ready", "") wait for element(<(type="file" AND name="media[]")>, "", "Appear") change file field(<(type="file" AND name="media[]")>, "C:\\Users\\Tadej\\Pictures\\Tadej-300x225.png") wait for browser event("DOM Ready", "") click(<id="settings_save">, "Left Click", "No") wait for browser event("Everything Loaded", "") Profile image will appear once the code submits the page.Sorry to up again... But my problem is to Tweet an image. I just can't... Make me crazy 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.