Comments (15)
Hi, you should take a look at https://developer.mozilla.org/en/nsIProcess#Example.
A good start is probably updateMsgCount() function
And you'll have to add preference UI
from firetray.
Thanks for your hints!
I will have a look at them and comment here if I've got anything working. Maybe a few others are interestent in this too.
from firetray.
I'm just gonna say I'm very intrested in this. If you could have some sort of API it would be awesome. For example arg 1 could be the number of messages and the rest of the args could be a string of "sender|subject" or something. Or stdin could be the messages one-per line. I'm not sure on the best way to doit but you could do some cool things.
from firetray.
I already implemented basic functionality that allows to run a script on both events without any arguments.
I've send a pull request to foufou so hopefully it is available soon.
I will think about your ideas and these features, but it might take some time for me to implement them as I am busy right now with my bachelor thesis.
from firetray.
that's cool, I haven't tried out your version yet but adding argument passing shouldn't be hard to add. I might look into it if I get time.
I was thinking though, shouldn't this be a separate addon? I don't get how it is related to minimizing to the tray (other than notifications in the tray are nice). what are your thoughts?
from firetray.
I'm not quite sure. On the one hand you are right because FireTray simply provides the possibility to minimize to the tray. But on the other hand it has all the functionality to get the number of mails and other related parameters.
Imho it would be great to have a separate addon with this functionality but it wouldn't be too reasonable to implement all these features again (respectively reuse the code) just to have the possibility to run external scripts.
from firetray.
Since this is a Unix-style addon it would make sense to harbor this feature
here, but as you said I don't know.
On May 24, 2012 9:21 AM, "David Wille" <
[email protected]>
wrote:
I'm not quite sure. On the one hand you are right because FireTray simply
provides the possibility to minimize to the tray. But on the other hand it
has all the functionality to get the number of mails and other related
parameters.
Imho it would be great to have a separate addon with this functionality
but it wouldn't be too reasonable to implement all these features again
(respectively reuse the code) just to have the possibility to run external
scripts.
Reply to this email directly or view it on GitHub:
#33 (comment)
from firetray.
Maybe we just wait what foufou thinks and discuss afterwards. I think that might be the best idea as long it is his addon ;-)
from firetray.
@kevincox, in a way, the API already exists: all you describe should be achievable with bare XUL. What do you imagine by "some cool things" ? What are your needs exactly ? There is an addon suggestion forum BTW.
As to whether it should be a separate extension, again, this depends on your needs. My feelings are that if all you need for now is passing and getting a few arguments, it might not be worth the effort trying to extract relevant code from FireTray, and build addon dependency.
But if anyone is willing to do so, I'll be glad to help.
from firetray.
By API I meant that the called shell script would be given some
information (number of unread, subject, from, to, ...) I (and I think
David) was thinking about something a user could easily set up and that
"fancy" scripts could be shared.
from firetray.
Hi, I consider this issue as solved by David's contribution.
@kevincox, don't hesitate to open a new issue/request if you have further needs.
from firetray.
Hi, I consider this issue as solved by David's contribution.
@kevincox, don't hesitate to open a new issue/request if you have further needs.
from firetray.
Hi, I consider this issue as solved by David's contribution.
@kevincox, don't hesitate to open a new issue/request if you have further needs.
from firetray.
Hi, I consider this issue as solved by David's contribution.
@kevincox, don't hesitate to open a new issue/request if you have further needs.
from firetray.
I opened #41 for the enhancement of this feature. Please consider that a low-priority enhancement though. I just put it there so it doesn't get forgotten.
from firetray.
Related Issues (20)
- Interesting ABI Test HOT 2
- Tray icon changes back to default
- Feature request: close all tabs when closing-to-tray
- Extremely small Icon HOT 7
- no "check for mail" on tray right click HOT 1
- support sound option and "socal-play"
- every window tray
- ffx show from shortcut
- Thunderbird segfault on start with FireTray enabled HOT 4
- Leave default new mail notification intact
- [REQ] Outline font
- left mouse click on tray icon brings up menu and not the window
- Thunderbird 57+ support HOT 86
- FFx64 HOT 1
- Firetray not support IMAP
- Not work with Thunderbird 60 HOT 2
- Thunderbird 60 version @Ximi1970 HOT 31
- Does not work on Windows 10 64-bit
- Can I add Japanese to this add-on language? HOT 2
- Please update for TB v68.* HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firetray.