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?
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.
> 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
Did you get my other mail about that error message that, once appeared,
never will disappear unless you restart your PC?
Cheers
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.
[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
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?
>
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
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?
>
Have a great week.
Cheers
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.
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
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.