krihith Posted February 18, 2011 Posted February 18, 2011 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.
Vindicator209 Posted February 18, 2011 Posted February 18, 2011 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]
krihith Posted February 18, 2011 Author Posted February 18, 2011 Yes I did... I am not getting _FF functionalities lik how we get for_IE
somdcomputerguy Posted February 21, 2011 Posted February 21, 2011 You have the Firefox MozRepl add-on? - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
krihith Posted February 21, 2011 Author Posted February 21, 2011 Yes i do... Also its activated on startup
krihith Posted February 23, 2011 Author Posted February 23, 2011 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")
somdcomputerguy Posted February 23, 2011 Posted February 23, 2011 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.
krihith Posted February 25, 2011 Author Posted February 25, 2011 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.
JohnOne Posted February 25, 2011 Posted February 25, 2011 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.
ProgAndy Posted February 25, 2011 Posted February 25, 2011 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
krihith Posted February 27, 2011 Author Posted February 27, 2011 Since the _FFCreate was not recognised i used Shell Execute.. My issue is none of the _FF functions are working.
JohnOne Posted February 27, 2011 Posted February 27, 2011 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.
BrewManNH Posted February 27, 2011 Posted February 27, 2011 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 GudeHow 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
krihith Posted February 28, 2011 Author Posted February 28, 2011 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.
JohnOne Posted February 28, 2011 Posted February 28, 2011 lol You're just taking the piss now. Top trolling. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now