Jump to content
Sign in to follow this  
KaFu

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

Recommended Posts

KaFu

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

Share this post


Link to post
Share on other sites
FireFox

@KaFu

CloseTab has already Hotkey in Firefox : Ctrl+W

For other functions its good work :)

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
KaFu

@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:

Share this post


Link to post
Share on other sites
FireFox

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


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
KaFu

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

Share this post


Link to post
Share on other sites
FireFox

@KaFu

Can you say me how can I get the window you've specified ?

I only found the first one :

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

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
KaFu
FireFox

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


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
KaFu

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

Share this post


Link to post
Share on other sites
FireFox

@KaFu

The download link doesn't work, it redirects to google page...

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
KaFu
FireFox

@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

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
KaFu
FireFox

@KaFu

It doesn't work even I disable XP firewall...

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
KaFu

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.

Share this post


Link to post
Share on other sites
Stilgar

I've tried it, too.

The only thing I found is, I can use portnumbers lik 14242 or 34242 or 3500 but NOT 44242 ?( without any firewall.

Share this post


Link to post
Share on other sites
bobchernow

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]

Share this post


Link to post
Share on other sites
KaFu

Strange... this is what you got taking security too much into consideration :) ... changed port back to 4242 and re-uploaded packages, pls try those.

Cheers

Share this post


Link to post
Share on other sites
FireFox

'telnet 127.0.0.1 44242' doesn't work for me....

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.