Hi, im try to upload my profile pictures in facebook by put the url on a "field file" without click "Choose" with this code, but, is not working:
Set IE = CreateObject("InternetExplorer.Application")
set WshShell = WScript.CreateObject("WScript.Shell")
IE.Navigate "https://m.facebook.com/photos/upload?profile_pic"
IE.Visible = True
Wscript.Sleep 2000
IE.Document.All.Item("file1").Value = "C:/10001.jpg"
The script can't populate that field. Why? any solution?
Set IE = CreateObject("InternetExplorer.Application")
set WshShell = WScript.CreateObject("WScript.Shell")
IE.Navigate "https://m.facebook.com/photos/upload?profile_pic"
IE.Visible = True
Wscript.Sleep 2000
IE.Document.All.Item("file1").Value = "C:/10001.jpg"
The script can't populate that field. Why? any solution?