sex123 Posted March 31, 2015 Share Posted March 31, 2015 I want to log in the website use firefox. The url is https://weblogin.utoronto.ca/ after log in I want to download the pdf use firefox https://login.library.utoronto.ca/auth/start.pl?url=http://www.jbc.org/content/290/7/4163.full.pdf Can u help me? Especially how to log in ? name: loginname password: 123456 above is not a correct password, just for example. and the pdf can not download directly. Only can download by log in firstly. Link to comment Share on other sites More sharing options...
fbar Posted March 31, 2015 Share Posted March 31, 2015 this code below will log you into facebook to download the pdf just creat a link button or simly ad a url to your script for automated download i hoop this helped #include <ff.au3> Local $uName="The_E-Mail_adress_to_your_facebook_account" Local $Pwd="Your facebook password" _FFstart() If _FFConnect(Default, Default, 3000) Then _FF_AutoLogin($uName, $Pwd, "www.facebook.com","","keypress") if _FFLoadWait() Then MsgBox("","Your Facebook is loaded","OK") endif Link to comment Share on other sites More sharing options...
fbar Posted March 31, 2015 Share Posted March 31, 2015 #include <ff.au3> Local $uName="CHANGE ME The_E-Mail_adress_to_your_facebook_account" Local $Pwd="CHANGE ME Your facebook password" _FFstart() If _FFConnect(Default, Default, 3000) Then _FF_AutoLogin($uName, $Pwd, "CHANGE ME www.facebook.com","","keypress") if _FFLoadWait() Then MsgBox("","Your CHANGE MEFacebook is loaded","OK") endif JUST CHANGE THE CHANGE ME I HOPE THIS HELPED Link to comment Share on other sites More sharing options...
sex123 Posted March 31, 2015 Author Share Posted March 31, 2015 I have use ff.au3 last year, but it does not work well on my PC. I have to find another way. because I have to do this way thousand times everyday. Link to comment Share on other sites More sharing options...
fbar Posted March 31, 2015 Share Posted March 31, 2015 _IIECREATE("YOUR URL",?) ; GOINTO HELP FILE AND FIND SETTING FOR LOAD HIDDEN I THINK IT .2 BUT YOU CAN GO INTO YOUR HELP FILE Link to comment Share on other sites More sharing options...
sex123 Posted March 31, 2015 Author Share Posted March 31, 2015 log in picture You have add your usename and password here after log in successfully this web do not link out to anther . just shown like this picture. Link to comment Share on other sites More sharing options...
fbar Posted March 31, 2015 Share Posted March 31, 2015 YOULL HAVE TO TRAT IT LIKE A GUI WIN TITLE MATCH MODE AND SO ON EASY REALLY WHY NOT USE IE THO Link to comment Share on other sites More sharing options...
sex123 Posted March 31, 2015 Author Share Posted March 31, 2015 YOULL HAVE TO TRAT IT LIKE A GUI WIN TITLE MATCH MODE AND SO ON EASY REALLY WHY NOT USE IE THO I am not native English speaker, But I can understand simple English. I have already consider to use IE. but before download the pdf, there is a block You have to choose save open cancel. And my software is run on server. I can not use mouse move click etc. I cannot click save button which IE shows after put pdf link into IE. However I think firefox do not shown save cancel open button etc. firefox can just download pdf file. So I have to choose firefox to download pdf. Well, if anyone can help me to download pdf by IE. That is ok. But how to click the save Button on Server 2008 R2 enviorment? Link to comment Share on other sites More sharing options...
sex123 Posted March 31, 2015 Author Share Posted March 31, 2015 (edited) just like this save button (I take this pic on win7). But my autoit run on server. sometime when I use __IECREATE("YOUR URL",?) the pdf save button shown to another type. I will screen to you another time. Edited March 31, 2015 by sex123 Link to comment Share on other sites More sharing options...
Danp2 Posted March 31, 2015 Share Posted March 31, 2015 I have use ff.au3 last year, but it does not work well on my PC. I have to find another way. because I have to do this way thousand times everyday. Can you describe what issues you ran into with FF.au3? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
sex123 Posted March 31, 2015 Author Share Posted March 31, 2015 Can you describe what issues you ran into with FF.au3? I remember that I use ff.au3 and then firefox start, but sometimes after firefox started, no reaction do next. If you want to know the exact reaction on my firefox, I have to use that udf again. But I am totally sure that udf do not work well on my pc becuase I tried for about one month, finally I gave up! Link to comment Share on other sites More sharing options...
Danp2 Posted March 31, 2015 Share Posted March 31, 2015 Did you have Mozrepl installed and running? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
sex123 Posted March 31, 2015 Author Share Posted March 31, 2015 Did you have Mozrepl installed and running? yes last year I install mozrepl and run as firefox started. ok I shall install again and run the some example to show you what I have met. Link to comment Share on other sites More sharing options...
sex123 Posted March 31, 2015 Author Share Posted March 31, 2015 I want to download ff.au3 and ffex.au3 but now I can not find it. where is the post? Link to comment Share on other sites More sharing options...
Danp2 Posted March 31, 2015 Share Posted March 31, 2015 You could also try logging into the website with the _IE functions and then use INetGet() to download the files. The latest version of FF.au3 can be found >here. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
sex123 Posted March 31, 2015 Author Share Posted March 31, 2015 You could also try logging into the website with the _IE functions and then use INetGet() to download the files. The latest version of FF.au3 can be found >here. I think INetGet() can not work well because this kind of download need cookie? Am I right? You have to log in first and the download it. So I have to download it by browser such as ie and firefox. I cannot find any example about ff.au3. I have download ff.au3 now, where is the ff.au3 example? I can not open the author website now. http://www.thorsten-willert.de/ Link to comment Share on other sites More sharing options...
Danp2 Posted March 31, 2015 Share Posted March 31, 2015 INetGet should work if you use an embedded browser (_IECreateEmbedded). P.S. That website is working fine for me. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
sex123 Posted March 31, 2015 Author Share Posted March 31, 2015 INetGet should work if you use an embedded browser (_IECreateEmbedded). P.S. That website is working fine for me. Can you do me a favor to upload the example to me to another netdisk so I can download it to test ff,au3 ? Link to comment Share on other sites More sharing options...
Danp2 Posted March 31, 2015 Share Posted March 31, 2015 Sorry, but I'm not sure what example you are referring to. You can search the forum for some threads containing example code. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
sex123 Posted March 31, 2015 Author Share Posted March 31, 2015 Sorry, but I'm not sure what example you are referring to. You can search the forum for some threads containing example code. ok does not matter. I SHALL WAIT. I DO NOT WANT TO WAST TIME ON INSTALL AND TEST. I HAVE ALREADY TEST ONCE. FF.AU3 DOES NOT WORK WELL, I AM TOTALLY SURE. Link to comment Share on other sites More sharing options...
Recommended Posts