Jump to content

FFAddOn - Firefox Hotkey GUI [Updated 2009-Jun-21]


KaFu
 Share

Recommended Posts

See last post for description of most recent version...

FirefoxAddOn v0.2.5.3

FirefoxAddOn is a helper GUI for Firefox. It gives a framework to define automated tasks and hotkeys to use.

Requirements

  • Firefox installed...
  • Currently only working for 'en-US' localized version
  • Extension 'MozRepl.xpi' installed (included in source package, download at http://wiki.github.com/bard/mozrepl)
  • 'MozRepl.xpi' started and set to listen on port 44242 (customizable in the script)
  • Based on FF.au3 UDF by http://www.thorsten-willert.de/ (included in source package), thanks for this great package!

Posted Image

General

  • Program only visible (on top) AND hotkeys only set if Firefox is active window
  • Only Program Header visible, main body slides in on mouseover()
  • Defined Hotkeys

    [-]ESC Close Tab

    [-]F2 Save Image As... => Select Destination

    [-]F3 Save Image... => ENTER => Close Tab

    [-]F4 Set Mouse coords to use with commands

    [-]PAUSE Toggle Hotkey Activity

  • Checkbox to autoconfirm FlashGet downloads

Posted Image

Source and Executable are available at

http://www.funk.eu

Work in Progress

For sure there are still some flaws in the code. I'm happy if you could point them out. On the other hand I'm also open to new ideas to add to the GUI.

A minor error I already found: If you want to SaveAs an image, FFAddOn looks out for a 'Save As' dialog... if you have another program running (like e.g. Photoshop) which is opening a 'Save As' dialog, FFAddOn will try to react on that dialog too :). Will see that this is somehow corrected in the next version.

Best Regards

Edited by KaFu
Link to comment
Share on other sites

@KaFu

CloseTab has already Hotkey in Firefox : Ctrl+W

Upsa, didn't know that :). But this way you can use all hotkeys without moving your hand on the keyboard :).

For other functions its good work ^_^

Cheers, FireFox.

Thanks :huh2:

Link to comment
Share on other sites

@KaFu

I found how to change port in the javascript, but you should show path for members :

AppDataDir\Mozilla\Firefox\Profiles\c5blcefl.default\extensions\mozrepl@hyperstruct.net\defaults\preferences\mozrepl.js

In france it doesn't work as you said :

'Currently only working for 'en-US' localized version'

:)

Cheers, FireFox.

Link to comment
Share on other sites

Or the easy way :)

Posted Image

In france it doesn't work as you said :

Yeah, the reason is that the script snoops for the dialog window titles:

Firefox

[TITLE:Save Image; CLASS:#32770;]

[TITLE:Save As; CLASS:#32770;]

FlashGet (Upsa :) , for FlashGet I use still German expressions...)

[REGEXPTITLE:Opening ; CLASS:#32770;]

[REGEXPTITLE:Neuen Download-Auftrag ; CLASS:#32770;]

If you could provide be the translations AND the corresponding language string from your 'about:' tab I could easily use an ini-file to make it multi-lingual.

Cheers

Link to comment
Share on other sites

@Kafu

[TITLE:Enregistrer l'image; CLASS:#32770;]
[TITLE:Enregistrer sous; CLASS:#32770;]

'about:' tab

# Copyright © 1998-2008 Les contributeurs du projet Mozilla.

#    Lire les informations sur la licence pour ce produit.

#    Voir la configuration de compilation utilisée pour cette version.

#    Identifiant de compilation : Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6

Cheers, FireFox.

Link to comment
Share on other sites

Changelog v0.2.5.3 > v0.2.5.8

General

  • Added support for French version, localized Firefox versions now supported are:

    [-] English - ; en-US;

    [-] French - ; fr;

  • Changed logic how Firefox common dialog windows are detected (Kudos to wraithdu for this)
  • Defined Hotkeys

    [-] ESC Close Tab

    [-] F2 Save Image As => Select Destination

    [-] F3 Save Image => ENTER => Close Tab

    [-] F4 Save Image => ENTER

    [-] F6 Set Mouse coords to use with commands

    [-] F7 Save Link As => ENTER

Source and Executable are available at

http://www.funk.eu

If you want your localized Firefox version to work with FFAddOn, send my a copy of the text display on the 'about:' page, tell me your language and send me the two accelerator keys needed for FFAddOn.

Accelerator Keys can be found if you look at the right click context menu, there is one character underlined for:

- 'Save Image As' - in English it's the 'v'

- 'Save Link As' - in English it's the 'k' (right click on hyperlink)

Send me those information via a post in this thread, PM or via http://www.funk.eu and I will incooperate your language into FFAddOn.

Best Regards

Edited by KaFu
Link to comment
Share on other sites

@KaFu

MozRepl is Started and Connected to port 44242, Allow Outside Connections is checked

But I get msgbox error with abandon, retry, cancel... error 6, 0

Then I got this error : _FFDisConnect ==> Socket Error: -1

Any suggestions ?

Cheers, FireFox.

Edited by FireFox
Link to comment
Share on other sites

This is the line which is stopping you

$Socket = _FFConnect("127.0.0.1", $MozRepl_Port, 5000)

where $MozRepl_Port is 44242. Hmmm, strange. Does the FF.au3 work for you in other projects? You mentioned that you tweaked the MozRepl js somehow, maybe try to make a clean reinstall from

http://wiki.github.com/bard/mozrepl

. For me it seems as if MozRepl isn't working with your firefox. To verfiy that go to commandline cmd and type 'telnet 127.0.0.1 44242' and see if you get a reply. If you don't, it's not an FFAddOn issue.

Link to comment
Share on other sites

This is the line which is stopping you

$Socket = _FFConnect("127.0.0.1", $MozRepl_Port, 5000)

where $MozRepl_Port is 44242. Hmmm, strange. Does the FF.au3 work for you in other projects? You mentioned that you tweaked the MozRepl js somehow, maybe try to make a clean reinstall from

http://wiki.github.com/bard/mozrepl

. For me it seems as if MozRepl isn't working with your firefox. To verfiy that go to commandline cmd and type 'telnet 127.0.0.1 44242' and see if you get a reply. If you don't, it's not an FFAddOn issue.

I am getting the exact same errors. I can use ff.au3 otherwise, just not with the add-on.

Bob

--------------------bobchernow, Bob ChernowWhat a long strange trip it's beenUDFs: [post="635594"]Multiple Monitor Screen Resolution Change[/post]

Link to comment
Share on other sites

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...