Jump to content

Recommended Posts

Posted

Hi,

I need help with firefox please...

I need to integrate my app to firefox's menu (link menu, and if possible, the menu of selected text). I need there only one item, for example: "My App", and when user press this item, my application is executed with special command line paramteres (passing the link/selected text).

Is it would be possible to write a module on AutoIt, so it will be able to integrate apps to firefox? i know a little about extentions, but i need something simple, something that will not increes the size of my main app. :)

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

This shows you how to build an extension:

http://developer.mozilla.org/en/docs/Building_an_Extension

Here is the main developer extensions page:

http://developer.mozilla.org/en/docs/Extensions

The extension must be written in XUL and Javascript because, "Firefox's user interface is written in XUL and Javascript. XUL is an XML grammar that provides user interface widgets like buttons, menus, toolbars, trees etc. User actions are bound to functionality using Javascript."

There is more information regarding this subject on the Building an Extension page.

- The Kandie Man ;-)

"So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire

Posted

  MsCreatoR said:

Hi,

I need help with firefox please...

I need to integrate my app to firefox's menu (link menu, and if possible, the menu of selected text). I need there only one item, for example: "My App", and when user press this item, my application is executed with special command line paramteres (passing the link/selected text).

Is it would be possible to write a module on AutoIt, so it will be able to integrate apps to firefox? i know a little about extentions, but i need something simple, something that will not increes the size of my main app. :)

Hello,

under: http://www.autoit.de/index.php?page=Board&boardID=32

you will find a complete UDF to handle the firefox-browser!

Hope that helps!

Greetings Carsten

Posted

  The Kandie Man said:

This shows you how to build an extension:

http://developer.mozilla.org/en/docs/Building_an_Extension

Here is the main developer extensions page:

http://developer.mozilla.org/en/docs/Extensions

The extension must be written in XUL and Javascript because, "Firefox's user interface is written in XUL and Javascript. XUL is an XML grammar that provides user interface widgets like buttons, menus, toolbars, trees etc. User actions are bound to functionality using Javascript."

There is more information regarding this subject on the Building an Extension page.

- The Kandie Man ;-)

Thanks, i read that all, but the example there shows how you create a status bar, but i need integrate items to menu. And how i execute my app...

  fielmann said:

Hello,

under: http://www.autoit.de/index.php?page=Board&boardID=32

you will find a complete UDF to handle the firefox-browser!

Hope that helps!

Greetings Carsten

Hm... i can't find it, could you please give me the direct link to the UDF? or better, post it here on the forum, i sure many people will love it :)

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

Thanks, this should be posted here in the Examples forum :).

But i still need help on create an extention that will put two items to the context menu of firefox -> 1) is for selected text, and 2) is for the active link. When item clicked, then executed my app with params (clicked link or selected text)...

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

  ResNullius said:

I believe that UDF depends on Firefox having MozRepl plugged into it. I don't think it allows IE.au3-like functionality with an unmodified instance of Firefox.

I haven't used it, so I could be wrong... but that's what it looks like reading the FF.au3 code (I don't read German).

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Posted

Moin Moin,

PsaltyDS is right.

A little translation from here

[translation]

Rather still a theoretical project:

Controling FireFox with AutoIt by the use of http://dev.hyperstruct.net/mozlab. This seems to be the only possibility to handle it. The only thing which is additional required is the matching FireFox plug-in. The communication is going over Telnet port 4242 (ability to change the port).

With that (UDF) you could also control (remotly) FireFox on other computers & OS's !!! :)

The GUI of FireFox is codet purely in XUL and Javascript. With MozLab you can retrieve every control (read and modify).

See Video:

http://dev.hyperstruct.net/movie/mozrepl.html

So the AutoIt Functions resultet on that are pure communications via Telnet.

What do you think about that ?

[/translation]

Greetz

Greenhorn

Posted

  Greenhorn said:

A little translation from here

[translation]

Rather still a theoretical project:

Controling FireFox with AutoIt by the use of http://dev.hyperstruct.net/mozlab. This seems to be the only possibility to handle it. The only thing which is additional required is the matching FireFox plug-in. The communication is going over Telnet port 4242 (ability to change the port).

With that (UDF) you could also control (remotly) FireFox on other computers & OS's !!!

The GUI of FireFox is codet purely in XUL and Javascript. With MozLab you can retrieve every control (read and modify).

See Video:

http://dev.hyperstruct.net/movie/mozrepl.html

So the AutoIt Functions resultet on that are pure communications via Telnet.

What do you think about that ?

[/translation]

Thanks for the translation!

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
  • 6 months later...
Posted

Is there any one ho wrote such extension? i only need to see an example...

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

  • 8 months later...
Posted

*Bump* :D:D

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

  big_daddy said:

I wrote a Firefox extension. See my signature (AutoIt Menu).

I sow this, thanks. And i even tried to modify this extension to my needs, but no success. Can you please make from it one small working extension, that will do just this:

  ' said:

create an extention that will put two items to the context menu of firefox -> 1) is for selected text, and 2) is for the active link. When item clicked, then executed my app with params (clicked link or selected text)...

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

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
  • Recently Browsing   0 members

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