Sign in to follow this  
Followers 0
krihith

FF library is not included

16 posts in this topic

Hi,

I am amateur to AutoIt. I just tried automating a webpage. I found i shud have FF.au3 included in my script so that i could click any button or image in a webpage using Firefox. Hence I did download ff.au3 and place the same in the "Include" folder. However the scripts doesnt recognize the _FF.... Options.

Share this post


Link to post
Share on other sites



Did you include it in your script?

#include <FF.au3>


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites

Yes I did... I am not getting _FF functionalities lik how we get for_IE

Share this post


Link to post
Share on other sites

Someone pl help me on this

Share this post


Link to post
Share on other sites

You have the Firefox MozRepl add-on?


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Yes i do... Also its activated on startup

Share this post


Link to post
Share on other sites

Hi Someone pl help me to resolve this issue.

For example the below code is not working.

#Include <FF.au3> ShellExecute("C:\Program Files\Mozilla Firefox\firefox.exe") Sleep(500) WinActivate("Mozilla Firefox") Send("www.google.co.in{ENTER}") Sleep(1000) _FFLinkClick("Images","name")

Share this post


Link to post
Share on other sites

If you could be a bit more descriptive than 'the code is not working', you'll get better replies than 'make sure your pc is plugged in and turned on'.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

The functions of FF.au3 are not being called. (say _FFimg click or _FF...)

I did copy paste the ff.au3 in the include folder. However the functionality of the same is not being identified.

Share this post


Link to post
Share on other sites

I've never used it, but I'm certain you would have to attach an instance of firefox to your script in some fashion, else how would it know what window to interact with.

I suggest you look at some of the examples in ff thread.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

To use the FF-functions, you must not use ShellExecute to start Firefox, but _FFStart.


*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites

Since the _FFCreate was not recognised i used Shell Execute..

My issue is none of the _FF functions are working.

Share this post


Link to post
Share on other sites

To use the FF-functions, you must not use ShellExecute to start Firefox, but _FFStart.

Since the _FFCreate was not recognised i used Shell Execute..

My issue is none of the _FF functions are working.

That'll be because there isnt one.

Have you even looked at the UDF?


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

You can't just substitute FF for IE in the commands and think they'll work. You need to actually use the commands in the FF udf and not make them up.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

Please note, the Function _FFLinkClick is available in the FF.au3 class file. Please find the screen shot of the library file and the script.

post-63148-0-28528700-1298865200_thumb.j

post-63148-0-37938000-1298865211_thumb.j

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0