Jump to content

FF.au3 (V0.6.0.1b-10)


Stilgar
 Share

Recommended Posts

Which version of FF do you run?

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

Please be patient. This is no 24 hours support forum.

There are threads on the forum which never got a reply because no one had an answer.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

I would suggest that you first validate your install of Mozrepl by connecting to is with telnet or putty (see troubleshooting in wiki). Next, you may want to try a newer version of FF.au3 to see if that makes any difference.

FWIW, I'm not having any issues running Mozrepl under FF20/21.

 

Thanks DanP2..i going to troubleshoot that

Please be patient. This is no 24 hours support forum.

There are threads on the forum which never got a reply because no one had an answer.

thanks water..i see :)

Link to comment
Share on other sites

  • 2 weeks later...

if you r having problems with Mozrepl, open cmd prompt as admin and type:

telnet localhost 4242

if cmd prompt says that telnet is not a command, then you need to type this:

pkgmgr /iu:"TelnetClient"

you may get a User Control prompt asking if it is ok to instal telnet, say yes

windows will then ask to restart; restart.

once rebooted, open up FF and go to Tools>MozRepl>Start

open cmd prompt as admin (important to run as admin) and type the first command. it should sit for a sec or so and then reply with:

Welcome to MozRepl.
- If you get stuck at the "...>" prompt, enter a semicolon ( ;) at the beginning of the line to force evaluation.
- If you get errors after every character you type, see http://github.com/bard/mozrepl/wikis/troubleshooting
(short version: stop using Microsoft telnet, use netcat or putty instead)

Current input mode: syntax
Hmmm, seems like other repl's are running in repl context.
To avoid conflicts,yours will be named "repl2".
                            repl2>

or something to that effect. if you do not get that, that means MozRepl is not running or not able to be connected to.

Edited by Kidney
Link to comment
Share on other sites

I use Firefox 21.0, Mozrepl 1.1.2, Autoit 3.8.1, FF v0.6.0

When I run 

 

#include <FF.au3>

#include <array.au3>
 
_ffstart()

friefox open 2 window: 1 with page http://www.4242.com/ and 1 with blank page. Anotherway, when i run any scrip for firefox this page alway open.

Why page 4242.com open?

And why I can't run autologin scrip ?

http://www.thorsten-willert.de/Themen/FFau3/Beispiele/FF_AutoLogin.au3?a

Link to comment
Share on other sites

Welcome to AutoIt and the forum!

If you search the forum for the 4242.com site you will find some hits. IIRC it's a bug in the FF UDF.

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

It seems that it can not connect to my FireFox 21.0

[06.05 15:55:40] AutoIt3.exe - 127.0.0.1:4242 error : Could not connect to 127.0.0.1:4242 - connection attempt failed with error 10061

And here is my code :

#include <FF.au3>
Local $FF =__FFStartProcess("http://10fastfingers.com/typing-test/english")
_FFConnect()
Sleep(3000)
Local $Word = _FFGetValue("highlight","class")
MsgBox(1,"Word",$Word,10)
Link to comment
Share on other sites

Hello, got confused with a function, as stated in the udf:

 

; #FUNCTION# ===================================================================
; Name ..........: _FFFormSubmit
; Description ...: Submits a form
; Beschreibung ..: Sendet ein Formular ab.
; AutoIt Version : V3.3.0.0
; Syntax ........: _FFFormSubmit([$vForm = 0[, $sMode = "index"[, $sSubmitMode = "submit"[, $bLoadWait = True]]]])
; Parameter(s): .: $vForm       - Optional: (Default = 0) : Index-number, name or id
;                  $sSubmitMode - Optional: (Default = "auto") :
;                               | auto
;                               | click
;                               | submit
;                               | keydown
;                               | keypress
;                  $bLoadWait   - Optional: (Default = true) :
;                               | True
;                               | False
; Return Value ..: Success      - 1
;                  Failure      - 0
;                  @ERROR       -
; Author(s) .....: Thorsten Willert
; Date ..........: Tue Apr 07 17:56:46 CEST 2009 @706 /Internet Time/
; Link ..........:
; Related .......: _FFFormCheckBox, _FFFormOptionSelect, _FFFormReset, _FFFormRadioButton
; Example .......: Yes
; ==============================================================================

 

My problem is that the syntax talks about the mode: $sMode = "index"

but it doesn't explain the syntax as the other parameters... as you can see,

it jumps from $vForm to $sSubmitMode.

EDIT: Also getting a weird problem, after i login, and logout, i get this:

_FFClick ==> No match: $sElement: FFau3.WCD.getElementById('sgnBt')

Doesn't matter much what i use, the _FFClick() or the _FFFormSubmit(), i always get a not match AFTER i login once. :S

Edited by careca
Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

Examining the actual function code reveals that the acceptable values for this parameter are index, id, and name.

Also getting a weird problem, after i login, and logout, i get this:

_FFClick ==> No match: $sElement: FFau3.WCD.getElementById('sgnBt')

Doesn't matter much what i use, the _FFClick() or the _FFFormSubmit(), i always get a not match AFTER i login once.

 

Not sure that I can help on this one without additional information. Are you sure that the element "sgnBt" exists on the page at that point in time?

Link to comment
Share on other sites

Im getting a lot of these "no match", and i'll give you a practical example, so you can try yourself...see if this works for you:

In this site: https://www.portaldasfinancas.gov.pt/pt/CD/inicio.action

This code:

_FFSetValue('123', '_username', 'name')
_FFSetValue('456', '_password', 'name')

_FFSetValue('123', 'form_senhaNIF', 'id')
_FFSetValue('456', 'form_senha', 'id')

As you can see, two different ways of doing the same, none works here.

Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

Sure thing

#include <FF.au3>

ShellExecute('https://www.portaldasfinancas.gov.pt/pt/CD/inicio.action')
WinWaitActive('Mozilla Firefox')
_FFConnect ()
Sleep(3000)
_FFLoadWait(0, False)
_FFSetValue('123', '_username', 'name')
_FFSetValue('456', '_password', 'name')
_FFSetValue('123', 'form_senhaNIF', 'id')
_FFSetValue('456', 'form_senha', 'id')
Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

I will, Thank you very much! :)

Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...