Jump to content

obscurant1st

Active Members
  • Posts

    50
  • Joined

  • Last visited

About obscurant1st

  • Birthday 06/24/1985

Profile Information

  • Location
    %y0ur_CompuTer%\root
  • WWW
    http://obscurant1st.biz/blog

Recent Profile Visitors

229 profile views

obscurant1st's Achievements

Wayfarer

Wayfarer (2/7)

1

Reputation

  1. Do anyone know anyway to click on browse and select the image without actually showing the windows, I would like to do it hidden so that user can normally use the computer?
  2. $iewindow = _IECreate($fbuploadurl, 0, 0, 1, 1) ;_IEAction($iewindow,"invisible") $ieformname = _IEFormGetCollection($iewindow, 0) $ieformobj = _IEFormElementGetCollection($ieformname, 6) _IEAction($ieformobj, "focus") _IEAction($ieformobj, "selectall") Local $hIE = _IEPropertyGet($iewindow, "hwnd") ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", $imgpath) But this works for only ie6. So currently I am using a Vm with ie6 in that. I am yet to find out a way to do this in IE9/8
  3. Its finished, thanks for the support guys!
  4. This error is showing up! So I would need to find a way to do this in another means! :/
  5. The problem is, "I don't know what is index". Is it the number of the input element or something else? $ieformobj = _IEFormElementGetCollection($ieformname, "6") _IEFormElementSetValue($ieformobj, $imgpath) Once when I changed that number ("6") in the first line above, the upload button changed to show the data in $imgpath.
  6. Thanks, but if my way works that would be awesome. If it works then I don't want to waste time on rewriting this stuff, also libcurl is pretty new concept for me! :/
  7. While $filecount < $filelist[0] $imgpath = $folder & "" & $filelist[$filecount] $filecount = $filecount+1 $iewindow = _IECreate($fbuploadurl, 0, 1, 1, 1) $ieformname = _IEFormGetCollection($iewindow, 0) $ieformobj = _IEFormElementGetCollection($ieformname, "6") _IEFormElementSetValue($ieformobj, $imgpath) $ieformobj2 = _IEFormElementGetObjByName($ieformobj2, "caption") _IEFormElementSetValue($ieformobj2, "lolololol! <3") ;_IEFormSubmit($ieformname) WEnd This is not working. I guess I am not getting the index concept right. Can you please tell me Whats the thing I am doing wrong? _IEFormElementSetValue($ieformobj, $imgpath) <- this is the part where it doesn't do anything! :/
  8. <form method="post" action="[url="http://upload.facebook.com/mobile_upload.php?m_sess=sozCTPRr-gn6zkmo_"]http://upload.facebook.com/mobile_upload.php?m_sess=sozCTPRr-gn6zkmo_"[/url] enctype="multipart/form-data"><input name="fb_dtsg" value="AQDj8tcb" autocomplete="off" type="hidden"><input name="charset_test" value="€,´,€,´,水,Д,Є" type="hidden"><input name="return_uri" value="[url="http://m.facebook.com/lamestjokes?v=feed&amp;fc=0"]http://m.facebook.com/lamestjokes?v=feed&amp;fc=0"[/url] type="hidden"><input name="return_uri_error" value="[url="http://m.facebook.com/upload.php?target=310788438934239"]http://m.facebook.com/upload.php?target=310788438934239"[/url] type="hidden"><input name="id" value="100001054085125" type="hidden"><input name="target" value="310788438934239" type="hidden"><input name="file1" type="file"><br><span class="mfss">Photo caption:</span><br><textarea class="input" rows="2" name="caption"></textarea><br><input value="Upload" class="btn btnC" type="submit"></form> The above is the form, but there is no name to it. So how can I use _IEFormGetObjByName ?
  9. I don't want to work with api. API requests has some limitations and so and so. I was thinking like submitting the form and stuffs like that. Isn't it possible? -- I just found out this thing, in the mobile version of facebook, we can actually type in the path to the image on our system to the field instead of actually clicking on the browse button and then selecting it. I beleve we can use the IE form actions to enter th path to images easily!
  10. No the user should be already logged so, I don't have to discuss the logon method. What I am thinking is, I have a page on which I need to post photos every hour or so. My plan: Login to facebook manually (not the autoit part) in IE.Start the scriptEnter the page id and image directoryget the image one by one from the folderpost it to the page for which id is given.wait for some time.Goto step5Stopeed when clicked on the stop button!I don't think this violates the forum rules. This has only legitimate uses. I just want to schedule the photo posting proecess!
  11. I would like to build a csript which can upload a photo to facebook. But not by clicking on the browse button or antyhing. I want it to happen invisibly. The user should be able to use the system without any issues. Is it even possible?
  12. I was searching for this. Thanks !
  13. its not solved, i am still trying.
  14. I think 1st option will do the work for me. Can you suggest any forums which can help me?
  15. But saving it as txt file will cause the formatting of my word file to loose right? if not its ok.
×
×
  • Create New...