voidale Posted February 27, 2010 Share Posted February 27, 2010 I'm trying to have picture uploaded to facebook but even the example won't work #include <IE.au3> $oIE = _IE_Example("form") $oForm = _IEFormGetObjByName($oIE, "ExampleForm") $oInputFile = _IEFormElementGetObjByName($oForm, "fileExample") ; Assign input focus to the field and then send the text string _IEAction($oInputFile, "focus") Send("C:\myfile.txt") I have found this code for IE 8 but I can't understand it $ie.Navigate("file: ///L:/miniedit_tst3.htm") $ie.Visible=1 Sleep(1024) ;wait for full load inputfile('champinput','C:\fichier.dat') Exit Func inputfile($id,$filename) $ie.Navigate("javascript: document.getElementById('"& $id &"').click();") Sleep(1024) ;wait depend of computer's speed Send($filename) ;Sleep(1024) ;wait only for user see the filename sended Send("{ENTER}") EndFunc How can i upload pic to facebook (http://facebook.com/editpicture.php) using IE 8 i have win 7 can't get IE 7 please help Link to comment Share on other sites More sharing options...
Developers Jos Posted February 27, 2010 Developers Share Posted February 27, 2010 Why are you starting a new thread when you already posted this in your other thread? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now