How to set up the Account or the folder that should be used with the skin?

168 views
Skip to first unread message

markimark

unread,
Jul 11, 2011, 6:00:17 AM7/11/11
to rainmete...@googlegroups.com
It is in the title. I feel that I do have to fill in some information in the skin settings to make it work BUT where exactly and what do I have to type in? A path? What paths? Any account information, like passwords? 
For example. Outlook tells me that all new messages of my email accounts are delivered to this location:
C:\Users\Hardy\...\Outlook\Outlha...@online.de-00000003.pst

Do I have to type in this information and where?

I installed the files as you told me in your last mail to me. But the skin is always showing "Posteingang 0".

Hope you can help me. I really would like to have that skin on my desktop and I really would love to create a nice visual look around it as my first rainmeter skin.

markimark

unread,
Jul 11, 2011, 6:13:43 AM7/11/11
to rainmeter-outlook
OK, after some more testing I found out that the skin actually works.
If I move some of my mails that I have received to the personal folder
inbox, they show up on the skin. Unfortunately most of the people that
are using outlook are not using the personal folder struction at all.
So all I need for now is the information where and how to tweak the
settings to use my original inbox path location.

On Jul 11, 12:00 pm, markimark <hardy....@online.de> wrote:
> It is in the title. I feel that I do have to fill in some information in the
> skin settings to make it work BUT where exactly and what do I have to type
> in? A path? What paths? Any account information, like passwords?
> For example. Outlook tells me that all new messages of my email accounts are
> delivered to this location:
> C:\Users\Hardy\...\Outlook\Outlhardy....@online.de-00000003.pst

Arian Treffer

unread,
Jul 12, 2011, 5:15:09 AM7/12/11
to rainmete...@googlegroups.com
If I understand you correctly, you are using different outlook data files
for your email accounts?

I will try to reproduce that and add support for this setup (it should be
possible).

Thanks for your feedback.

-----Ursprüngliche Nachricht-----
Von: rainmete...@googlegroups.com
[mailto:rainmete...@googlegroups.com] Im Auftrag von markimark
Gesendet: Montag, 11. Juli 2011 12:14
An: rainmeter-outlook
Betreff: Re: How to set up the Account or the folder that should be used
with the skin?

markimark

unread,
Jul 12, 2011, 5:30:12 AM7/12/11
to rainmeter-outlook
Yes. that is true because actually noone is getting any mails into
that "Personal Folder". What you ussually do in Outlook is to set up
the email accounts you have, like an 1und1 or Strato Account or
whatever account you may have. I have no idea how you can make that
but there are 2 ways to go. You can mirror to the skin whatever
happens in those inboxes that are set up within outlook (like the path
I gave you in the previous post) if you create a new account or you
can get the information right from the email server. For the second
scenario you would need to be able to type in the server (like imap.
1und1.de), the port, the user and the password in settings.

Can you follow what I am talking about.

markimark

unread,
Jul 16, 2011, 5:15:03 AM7/16/11
to rainmeter-outlook
Hi there.

Is there any chance to move forward with this? Does it have any chance
to make it work with email accounts other than the personal inbox
folder which only can be used if mails from a real email account is
copied into it.

Have a great day.

On Jul 12, 11:15 am, "Arian Treffer" <derar...@gmail.com> wrote:

derari

unread,
Jul 17, 2011, 3:00:09 PM7/17/11
to rainmeter-outlook
You'll find a new version in the downloads section.

In the measure that fetches the email folders you can use the Root
parameter to specify your email folder locations. Use a pipe |
character to specify multiple roots. Small example:

[MeasureUnreadEmails]
Measure=Plugin
Plugin=Plugins\OutlookPlugin.dll
Resource=MAPIFolder
Root=\\MyAccount1|\\MyAccount2\Inbox
Filter=%HasUnreadItems

This will include all emails from the folder MyAccount1, including
junk mail and the recycle bin, and the inbox of the folder MyAccount2.

Arian Treffer

unread,
Jul 24, 2011, 1:11:26 PM7/24/11
to rainmete...@googlegroups.com
If I understand you correctly, you prefer IMAP to POP. Both should work with
the new version. For IMAP, the default folder name Outlook chooses is the
email address, so maybe just try Root=\\...@online.de

If it does not work, delete the plug-in from your Rainmeter installation and
install it again. Maybe you are still using the old dll.

On Jul 21, 12:41 pm, markimark <hardy....@online.de> wrote:
> Hi there.
>

> Thanks for working on this again but I am afraid there is some
> misunderstanding between us on that issue. I am not talking about
> having my emails in a seperate folder on my local drive other than the
> outlook default folder. The personal inbox folder within outlook does
> not have any importance for outlook users, same with inbox folders
> that I may create on my local drive.
>
> In outlook you connect to your actual inbox on the server of your
> provider. Like my inbox on my 1und1 account hardy...@online.de.
> Outlook mirrors that inbox to the outlook UI. To set up those accounts
> in outlook you need to type in user and password information in order
> to have it all linked. You would have to make the same with the
> rainmeter plugin.
>
> Are you using outlook? Noone is using those local inbox folders. They
> are only good for copying emails from your server inbox into it to
> have it also available offline from your local disk but this is not
> what you usually do with outlook.
>
> Please let me know if you understand what I am talking about and if
> you see a chance to make it happen. There must be a reason why there
> is no outlook plugin available at this time anywhere.
>
> Have a great day.

markimark

unread,
Jul 29, 2011, 4:46:05 AM7/29/11
to rainmeter-outlook
Test

On Jul 24, 7:11 pm, "Arian Treffer" <derar...@gmail.com> wrote:
> If I understand you correctly, you prefer IMAP to POP. Both should work with
> the new version. For IMAP, the default folder name Outlook chooses is the
> email address, so maybe just try Root=\\....@online.de

markimark

unread,
Jul 29, 2011, 4:48:35 AM7/29/11
to rainmeter-outlook
I can not see any other post than the last one from you, dated Jul24.
Whatever I write you does not appear in this group? Did you get
anything from me since Jul24? There should be 2 more posts from my
site plus a short "Test" one. Please let me know if we are still
connected. Thanks.

On Jul 24, 7:11 pm, "Arian Treffer" <derar...@gmail.com> wrote:
> If I understand you correctly, you prefer IMAP to POP. Both should work with
> the new version. For IMAP, the default folder name Outlook chooses is the
> email address, so maybe just try Root=\\....@online.de

Arian Treffer

unread,
Jul 29, 2011, 2:57:14 PM7/29/11
to rainmete...@googlegroups.com
Hi,

> That works perfect now for me

Good to hear.

> Once it is completed I would like to publish it
> under our both names if you don´t mind?

If you only use the plug-in, you don't have to list me as the author of the
skin.

> I don´t know how familar you
> are with rainmeter but do you have any idea what the script line would
> look like for changing the BG image if the number of the
> "UnreadItemCount" is >0 ?

A similar problem is solved in the Gnometer skin
(http://code.google.com/p/rainmeter-outlook/source/browse/trunk/RainmeterOut
look/Skins/Outlook/Mail/Gnometer/Outlook-4.ini). This is the relevant part:

[MeasureUpdateSubtitle]
Measure=Calc
Formula=MeasureTotalUnreadCount
IfAboveValue=1
IfAboveAction=!Execute [!RainmeterSetVariable Subtitle "%1 new
mails"][!RainmeterSetVariable MailState "New"]
IfEqualValue=1
IfEqualAction=!Execute [!RainmeterSetVariable Subtitle "%1 new
mail"][!RainmeterSetVariable MailState "New"]
IfBelowValue=1
IfBelowAction=!Execute [!RainmeterSetVariable Subtitle "No new
mail"][!RainmeterSetVariable MailState "NoNew"]

[Icon]
Meter=IMAGE
MeterStyle=sIcon
ImageName=#SKINSPATH#\Gnometer\Gmail\#MailState#.png

You will need version 1.0.1 to get this working though, as there was a bug
with %TotalUnreadItemCount. I just added the new download.

Best,
- Arian

> -----Ursprüngliche Nachricht-----
> Von: markimark [mailto:hard...@online.de]
> Gesendet: Mittwoch, 27. Juli 2011 19:07
> An: Arian Treffer


> Betreff: Re: How to set up the Account or the folder that should be
> used with the skin?
>

> Hi Arian.
>
> That works perfect now for me. I already started to work on some skin
> around the plugin. Once it is completed I would like to publish it
> under our both names if you don´t mind? I don´t know how familar you
> are with rainmeter but do you have any idea what the script line would
> look like for changing the BG image if the number of the
> "UnreadItemCount" is >0 ?
>
> Actually this is the last thing I want to do for the skin but I just
> cannot figure it out how this should be done. Any help is
> appreciated.
>
> Great work from your site. I am very glad that you put your hand on
> that because all other skins are about gmail ONLY.
>
> Cheers


>
> On 24 Jul., 19:11, "Arian Treffer" <derar...@gmail.com> wrote:
> > If I understand you correctly, you prefer IMAP to POP. Both should
> work with
> > the new version. For IMAP, the default folder name Outlook chooses is
> the

> > email address, so maybe just try Root=\\....@online.de

Hardy

unread,
Jul 29, 2011, 3:05:30 PM7/29/11
to rainmete...@googlegroups.com
OK, cool. I will try this out.

Did you get my other mail about that error message that, once appeared,
never will disappear unless you restart your PC?

Cheers

Hardy

unread,
Jul 29, 2011, 7:41:50 PM7/29/11
to rainmete...@googlegroups.com
Hi there.

So I tried, very hard but it is not working. I deleted the skin and plugin
before reinstalling the new one to make sure to get the new dll but I can do
what I want it never does anything related to the number of email in the
inbox.

I did like this, for example...
[MeasureUpdateSubtitle]
Measure=Calc
Formula=MeasureTotalUnreadCount
IfAboveValue=1
IfAboveAction=!Execute [!RainmeterShowMeter GotMail][!RainmeterRedraw]
IfEqualValue=1
IfEqualAction=!Execute [!RainmeterShowMeter GotMailIcon][!RainmeterRedraw]
IfBelowValue=1
IfBelowAction=!Execute [!RainmeterHideMeter Emty][!RainmeterRedraw]


;----------METERS------------

[GotMail]
Meter=image
ImageName=gotmail.png
Hidden=1

[Emty]
Meter=IMAGE
ImageName=BG_blanc.png
Hidden=1


BUT the only thing that reacts is when I type something in the
ifBelowAction. If I say show something, it is showing something, if I say
hide something, then it hides something but always not related to the fact
if there is a mail in the inbox or not. I really have not expected that this
will become such a problem. All I want is to toggle 2 images , depending on
an emty or filled inbox. Any other ides how to make that happen or any idea
why my customization does not work?

Thanks again for your kind help.

Hardy

unread,
Jul 29, 2011, 7:58:44 PM7/29/11
to rainmete...@googlegroups.com
UFF, I found it! I also had to copy this part from the gnometer ini...

[MeasureTotalUnreadCount]
Measure=Plugin
Plugin=Plugins\OutlookPlugin.dll
Resource=[MeasureUnreadEmails]
Result=%TotalUnreadItemCount

That was missing, of course, makes sense now. It is in the middle of the
night now and I need to sleep. Thanks for all.

Cheers

-----Original Message-----
From: rainmete...@googlegroups.com
[mailto:rainmete...@googlegroups.com] On Behalf Of Hardy
Sent: Freitag, 29. Juli 2011 21:06
To: rainmete...@googlegroups.com

markimark

unread,
Jul 30, 2011, 4:07:44 AM7/30/11
to rainmeter-outlook
Hi Arian,

After last night I can say that I achieved what I wanted. Thank you
for your help and your modifications. Since there were a lot of posts,
leaving me always unsure if you got all of them, I would like to point
out the last discovered problem again.

Under some circumstances, a error messages is displayed. That, for
example, happens if outlook is not running but you manually refresh
the skin. However, regardless of the reason that makes that error
message appear, you can not get rid of it anymore. There is no way
other than restarting your PC. That sets it all back to normal state.

I don´t know if this happens only because my path is set up like Root=\
\.....@online.de or if this happens in general.

Hopefully this is the last time that I need to ask you for your help.

Enjoy your weekend.
> (http://code.google.com/p/rainmeter-outlook/source/browse/trunk/Rainme...
> look/Skins/Outlook/Mail/Gnometer/Outlook-4.ini). This is the relevant part:
>
> [MeasureUpdateSubtitle]
> Measure=Calc
> Formula=MeasureTotalUnreadCount
> IfAboveValue=1
> IfAboveAction=!Execute [!RainmeterSetVariable Subtitle "%1 new
> mails"][!RainmeterSetVariable MailState "New"]
> IfEqualValue=1
> IfEqualAction=!Execute [!RainmeterSetVariable Subtitle "%1 new
> mail"][!RainmeterSetVariable MailState "New"]
> IfBelowValue=1
> IfBelowAction=!Execute [!RainmeterSetVariable Subtitle "No new
> mail"][!RainmeterSetVariable MailState "NoNew"]
>
> [Icon]
> Meter=IMAGE
> MeterStyle=sIcon
> ImageName=#SKINSPATH#\Gnometer\Gmail\#MailState#.png
>
> You will need version 1.0.1 to get this working though, as there was a bug
> with %TotalUnreadItemCount. I just added the new download.
>
> Best,
>   - Arian
>
> > -----Ursprüngliche Nachricht-----
> > Von: markimark [mailto:hardy....@online.de]

Arian Treffer

unread,
Jul 31, 2011, 8:54:54 AM7/31/11
to rainmete...@googlegroups.com
Hi,

I believe I got all your messages; just to be sure, in future, use "reply"
and not "reply to author". But I think I got all of them. Often, I'm just
not able to reply quickly, especially if the answer requires some research.

Towards your problem, I can remember observing something similar, but I
could not reproduce it. I will look into this again, but for now I'm afraid
there is nothing you can do except trying to avoid such situations.

Best,
- Arian

> -----Ursprüngliche Nachricht-----
> Von: rainmete...@googlegroups.com [mailto:rainmeter-
> out...@googlegroups.com] Im Auftrag von markimark
> Gesendet: Samstag, 30. Juli 2011 10:08
> An: rainmeter-outlook


> Betreff: Re: How to set up the Account or the folder that should be
> used with the skin?
>

Hardy

unread,
Jul 31, 2011, 9:36:58 AM7/31/11
to rainmete...@googlegroups.com
Hi,

Actually I cannot reproduce the error either. I thought it happens if you
refresh and outlook is not running but that actually isn´t the case. It was
just strange that you have to restart the entire system to get rid of it.

Changing the picture (inbox empty/inbox has mail) works quite good but after
watching the behavior for a while now I have noticed this:

Assume that mails arrives.
The name of the folder and the number of mails appears.
The background image is changing.
-- so far so good.
Now I open Outlook, read the mails and they all get marked as read.
With the next refresh that is set as default in the ini file, folder name
and number of emails disappears because they were read.
-- so far so good, BUT
The background image is not changing back to the picture that is mend for an
empty box. That only happens if I manually refresh the skin OR at the second
default refresh.

Can you follow? Right now it is set up like this but have tried many other
combinations. Any what else I could try?

[MeasureUpdateBG]
Measure=Calc
Formula=MeasureTotalUnreadCount
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter GotMail][!RainmeterHideMeter
Emty][!Update][!RainmeterRedraw]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterShowMeter Empty][!RainmeterHideMeter
GotMail][!Update][!RainmeterRedraw]

Thanks, enjoy your Sunday.
Mark

Arian Treffer

unread,
Jul 31, 2011, 2:50:57 PM7/31/11
to rainmete...@googlegroups.com
With "default refresh", you are referring to the automated refresh triggered
by rainmeter?

I guess what you described is a general problem of rainmeter and has to do
with the order in which measures are updated. As far as I know, the only
thing you can do here is to reduce the refresh interval. You don't have to
worry about performance, the outlook plug-in caches the data and syncs with
outlook only every few minutes.

> -----Ursprüngliche Nachricht-----
> Von: rainmete...@googlegroups.com [mailto:rainmeter-

> out...@googlegroups.com] Im Auftrag von Hardy
> Gesendet: Sonntag, 31. Juli 2011 15:37
> An: rainmete...@googlegroups.com
> Betreff: RE: How to set up the Account or the folder that should be
> used with the skin?
>

Hardy

unread,
Aug 1, 2011, 9:31:28 AM8/1/11
to rainmete...@googlegroups.com
I have decreased the interval and it is working pretty good now. Thanks for
all of your help. If you ever come across that Error problem again and find
a solution for it, please let me know.

Have a great week.

Cheers

Hardy

unread,
Aug 5, 2011, 4:27:18 AM8/5/11
to rainmete...@googlegroups.com
Hi Arian again.

I really appreciate your hard work on this plugin, especially since it is
the only one for outlook that makes some sense somehow. Unfortunately I
think that it still needs some improvement to make it really work.

The Error message happens just too often, under different circumstances.
Since you always have to restart the entire system, it makes it unusable.
This is a shame because you already put some time and work in it.

Don´t you think you can find out why you always have to restart the system
after an error message was shown? I mean in general an error message is
nothing bad but it should be enough to refresh the skin to get rid of it if
the reason for the message does not exist anymore. Usually the error message
pops up if anything went wrong with outlook itself. In that case you usually
restart outlook and if you then refresh the skin, the error message should
disappear, right? Please let me know if you might consider any step to solve
the problem.

Also, don´t you think it would be much better to connect with the mail
server (login and password, imap, smtp) directly instead of having it just
linked to the local folder. You always have to run outlook which would not
be necessary if it would be linked to the server directly. This also could
avoid those error messages. At least most of them, I guess. All plugins for
gmail work that way. Do you think you could make that happen? Would cou
consider this?

I know, I am sitting at your neck but I really think a skin and plugin for
outlook should be available for the community. Yours is the only one with
the best approach.

Please let me know what you think.

Cheers, have a great day.

Arian Treffer

unread,
Aug 9, 2011, 4:05:12 PM8/9/11
to rainmete...@googlegroups.com
Hi,

I will upload a new version in a few days; until then, please try these
steps:

Add OnError=%Message to a measure that selects a single folder, like this

[MeasureFolder0]


Measure=Plugin
Plugin=Plugins\OutlookPlugin.dll
Resource=[MeasureUnreadEmails]

Index=0
OnError=%Message

Once the error occurs, please send me the message that is shown.

Then, open the task manager and see if the OUTLOOK process exists, if so
kill it. After that, restart Outlook and then Rainmeter. Please tell me if
this works. I need this information to complete the next release.

Best,
- Arian

> -----Ursprüngliche Nachricht-----
> Von: rainmete...@googlegroups.com [mailto:rainmeter-
> out...@googlegroups.com] Im Auftrag von Hardy

> Gesendet: Freitag, 5. August 2011 10:27

Hardy

unread,
Aug 9, 2011, 4:51:28 PM8/9/11
to rainmete...@googlegroups.com
OK, what I did.

I added OnError=%Message

And tried to recreate the error. I closed Outlook and then hit "refresh
skin". The error message (see screenshot) appeared.

I killed the Outlook process in the task manager and restarted the skin.

It appeared just the same as it was shown before I closed it, including the
error message that is shown on the screenshot.

Does that help you? I think it is not so much about the error message in
general. The error has a reason but it should be possible to get rid of it
without restarting the pc. Right?

Tell me if I can do anything else.

rain_error.JPG
Reply all
Reply to author
Forward
0 new messages