argumentum

ThunderBird to Tray

9 posts in this topic

#1 ·  Posted (edited)

gmail does not allow to things that a regular email client do, so, thunderbird is a good option.

But ThunderBird does not have a minimize to tray option. There are plugins but I read around forums and they have problems depending on the version, so, I wrote a non-plugin solution to my wanting.

Sources and compiled executable files are at https://www.autoitscript.com/forum/files/file/438-thundrebirdtotray/

The tray icons are:

Pruple = ThunderBird is not running. A double click will run it.
Blue = ThunderBird is visible. A double click will hide it
Green = ThunderBird is hidden. A double click will unhide it.

Right click will show a menu to:

Minimize to tray.
Show/hide ( just as a double click on the tray icon would )
Compose a new email.
Browse some folders that may be of interest.

In new version 0.2017.3.11
added: command line options /RunAs "UserName" [/minimized] [/hidden].
ThunderBirdToTray.RunAsGui.20170311.png
  the user/password is saved encrypted to the ini file to each user's configuration.
added: -purgecaches as its needed from time to time to clear the javascript cache.
fixed: "dyslexia induced" misnamed files.
added: browse startup folders

 

PS: I run this from "C:\Program Files (x86)\Mozilla Thunderbird" but I guess you can run it from anywhere. The features implemented are those to fit my needs. If you'd like to add a feature, I could go the extra mile line of code and add it. You may even make me aware of things that can be done, and be of use, that I did not know at the time of coding this.

Edited by argumentum
clarify a bit what it is

Share this post


Link to post
Share on other sites



#2 ·  Posted

Where?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#4 ·  Posted

Ah, bad timing on my part :)

1 person likes this

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#5 ·  Posted

Been using this for a while now...

1 person likes this

AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

#7 ·  Posted

Oh... Ok :)


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

#8 ·  Posted

I needed to run this as another user ( as Admin ), so I added the functionality, to ease the burden to have to type the password each time. I can now also put a shorcut in the startup :) 
Added the ability to run -purgecaches, which fixes some troubles with the javascript cache ( as far as I read ), so it may come in handy.
And since I was at it, to start minimized or hidden. ( tho, now that I think about it, the /h or /m will only work with RunAs, for non-RunAs, the whole /minimized or /hidden must be used , .... I'll fix that some time soon )

so, new version 0.2017.3.10 on the first post.

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

  • Similar Content

    • argumentum
      By argumentum
      So, Thunderbird does not have a minimize to tray option. Here is a handler to do just that.
      More info. at https://www.autoitscript.com/forum/topic/187431-thundrebird-to-tray/
    • Akshay07
      By Akshay07
      Hi all,

      I am trying to achieve the following:

      When an email is received with a specific subject field, I want to trigger an autoit script.
      I am not sure how to do the first part (monitor emails and check for the email subject filed, or even better, email content).
      I have no specific requisites about the email client, it could be outlook, thunderbird, or other. It would be okay as well to read the email header only from an online gmail account.

      I know it is possible with a gmail account (there are severals widgets that can do that) but I was wondering if this can be done using autoit ? My programming knowledge is very poor, and I doubt I can go through the use of Google APIs for this.