Sign in to follow this  
Followers 0
sex123

How to use autoit to load link in firefox

21 posts in this topic

I want to log in the website use firefox. The url is 

after log in I want to download the pdf use firefox
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.
 

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

#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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

_IIECREATE("YOUR URL",?)  ; GOINTO HELP FILE AND FIND SETTING FOR LOAD HIDDEN I THINK IT .2 BUT YOU CAN GO INTO YOUR HELP FILE

Share this post


Link to post
Share on other sites

post-77187-0-74384100-1427798767_thumb.p

log in picture You have add your usename and password here

 

post-77187-0-16542500-1427798911_thumb.p

after log in successfully this web do not link out to anther . just shown like this picture.

Share this post


Link to post
Share on other sites

YOULL

HAVE TO TRAT IT LIKE A GUI

WIN TITLE MATCH MODE AND SO ON

EASY REALLY

WHY NOT USE IE THO

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

post-77187-0-84394500-1427800953_thumb.p

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 by sex123

Share this post


Link to post
Share on other sites

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? 

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

Did you have Mozrepl installed and running?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

I want to download ff.au3 and ffex.au3 but now I can not find it. where is the post?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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/

Share this post


Link to post
Share on other sites

INetGet should work if you use an embedded browser (_IECreateEmbedded).

P.S. That website is working fine for me.

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

Sorry, but I'm not sure what example you are referring to. You can search the forum for some threads containing example code.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0