MozillaZine

special extension but how?

Talk about add-ons and extension development.
pebosi
 
Posts: 4
Joined: September 23rd, 2004, 9:21 am

Post Posted September 23rd, 2004, 9:24 am

i need a special extension to open a external programm when firefox is closing...is there any way to do that?

-- pebosi

asqueella
 
Posts: 4019
Joined: November 16th, 2003, 3:05 am
Location: Russia, Moscow

Post Posted September 23rd, 2004, 12:12 pm

I think no, but it could probably be easily created (not by me).

It's something like Bookmark Backup + External Application Buttons (for a developer).

pebosi
 
Posts: 4
Joined: September 23rd, 2004, 9:21 am

Post Posted September 23rd, 2004, 11:33 pm

and who can do this for me?
is there anyone?

pebosi
 
Posts: 4
Joined: September 23rd, 2004, 9:21 am

Post Posted September 26th, 2004, 6:59 am

hm. noone here who can do this?

asqueella
 
Posts: 4019
Joined: November 16th, 2003, 3:05 am
Location: Russia, Moscow

Post Posted September 26th, 2004, 8:34 am

Perhaps if you explain why it is useful for anybody but you, a volunteer will magically appear?

mozby
 
Posts: 343
Joined: December 21st, 2002, 10:40 am
Location: Germany

Post Posted September 26th, 2004, 7:53 pm

pebosi wrote:i need a special extension to open a external programm when firefox is closing...is there any way to do that?

-- pebosi


Does it have to be an extension?
Easiest way (for Windows) - a batch file:

@echo off
start /w firefox.exe
start c:"Program Files"\NextProgram\NextProgram.exe

If you don't like the open console window, start the batch file from a short-cut with the "minimized" option. There are also tools to completely hide it.

pebosi
 
Posts: 4
Joined: September 23rd, 2004, 9:21 am

Post Posted September 27th, 2004, 6:34 am

this extension is only for personal use i will start a programm that deletes all temporary files after closing fiefox

peter

johann_p

User avatar
 
Posts: 8479
Joined: November 5th, 2002, 3:05 am
Location: Sheffield, UK

Post Posted September 27th, 2004, 6:56 am

And why is mozby's solution not suitable for you then? Making a batch file that will first run ff then the commands necessary to delete whatever you want to delete looks a lot more reasonable to me anyways.
“Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.”

asqueella
 
Posts: 4019
Joined: November 16th, 2003, 3:05 am
Location: Russia, Moscow

Post Posted September 27th, 2004, 7:55 am

Yes, looks like a bat file is the easiest way to achieve this. You can even perform the cleanup in the bat file.

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 3 guests