rk-Calendar-Update: Mass Update 'all day Calendar events'[15OCT2007] - Windows Mobile Development and Hacking General

There is an issue with the calendar reminders, that is when you have an ‘all day event’ then the device would wake up at 12:00 AM to remind you. For some people it might be ok but most of us want device to show the reminder at some convenient time (such as 08:00 AM when having a coffee).
Here is the possible fix(There might be other solutions too which I am not aware of)
This is a small utility I built which will allow you to mass update all such events to some fixed time span. That is converting all these all day events to non all day with the option to set your own time span.
Update 1.0.1
Now the application also updates all All Day Event's default reminder time as per your requirement.
Choose your reminder hours from the new tab added and update all All day events
It also has a command line interface so if you want to automate this process you could do it as follows.
Code:
To Full day to non full day --> \Program Files\rk-Calendar-Update.exe “08:00” “22:00”
[COLOR=blue]To just change the reminder time(in hours) --> \Program Files\rk-Calendar-Update.exe 13[/COLOR]
Watch the format above and space between the two times specified
For the reminder update just supply the reminder time in hours such as 13 hours in the above example
Important notes:
Utility would convert the actual events to fixed time events permanently. So when synchronize with your desktop pc changes applied back to your pc and all your all day events have been changed to fixed time! If that is acceptable use this app.
I have tested it only on my device(Hermes/WM6) so you test it on your devices (I will recommend some kind of backup before running it just in case )
I have seen some of the events did not convert right away when there is a conflict in appointments. But running the utility again converted all successfully.
You can run this update any number of times, it only updates the full day events if found.
I can add some automation to it, but only if anyone needs that
Note: This application requires Compact Framework 2.0
You need compact framework 2.0 installed inorder to run this application. The compact framework is already part of WM6, so if your device is WM6 skip this step. But most of the WM5 devices do not have this update. So you must download here and run the installation on your desktop (then active sync to update your device). Only after completing this step install the application.
Download from here

Very cool. I am definitely going to try this out as this has been a pet peeve of mine for the longest time! Thanks!

What may have been a better fix would have been to change all the default reminder times from 18 hours to 16 hours (so the reminder goes off at 8am instead of 6am). Then you can still have the "all day event" instead of a fixed period of time, and you can avoid the annoying 6am reminder.
Would it be possible to create a similar fix to the one you created so that all "All day events" are converted to a 16 hour reminder instead of the default 18 hour reminder?

andylen said:
What may have been a better fix would have been to change all the default reminder times from 18 hours to 16 hours (so the reminder goes off at 8am instead of 6am). Then you can still have the "all day event" instead of a fixed period of time, and you can avoid the annoying 6am reminder.
Click to expand...
Click to collapse
For me the 'All Day Events' always woke me up at 12:00 AM(Midnight) irrespective of default reminder time you specified. So what you are saying looks like you are getting the reminders at 6AM since your default reminder time is 18Hrs! Please confirm the above.
andylen said:
Would it be possible to create a similar fix to the one you created so that all "All day events" are converted to a 16 hour reminder instead of the default 18 hour reminder?
Click to expand...
Click to collapse
It is very well possible, but let me understand the issue first(based on the question above)

good stuff........

Yes. That's correct.
I have the default reminder box checked in Tools -> Options -> Preference Tab (Calendar). I do this because I actually do prefer the default reminder of 15 minutes for the meetings/appointments. However, when this is checked, it also sets the new All Day Events to have the default reminder of 18 hours, which causes the reminder alarm to go off at 6am!
The annoying thing is that the default reminder in the "Options" is set at 15 minutes for new meetings/appointments (which can be changed); however, it doesn't give you an option to change the default of the All Day Event reminders from 18 hours to something else.
After some research, I realized it's actually not possible to change the 18 hour default in Outlook. See the bottom of page 3 of this Office Online training: http://dace-rancho.org/QuickRef_MSCal.pdf
So you have to go into each event manually and change the reminder to a different time (change the 18 hours to some other time) in order for it not to wake you up at flippin' 6am! I have so many all day events created that this will be a major pain. Not to mention that I'm sure I will forget to change it each time I create a new one.
So if you can work some magic so that I can keep the default reminder box checked, but have the default reminder changed on "All Day Events" to 16 hours instead of 18 hours, I would really appreciate it (and be very amazed!).
Thanks!

14 - 16 hours chang
or even 12 to start at 10:00 a.m. is rather enought -
would appreciate that toooooooo - plzzz change - beside
it is one of my most prefered features as i keep my brains
sticking in the touch - contacts, calendar, notes ...
thxs in advance

Update 1.0.1
Now the application supports mass update of 'Reminder Time' of all day events

Awesome! I'm excited to try it out. (The stupid alarm woke me up again this morning.) Thanks so much for your help!!!

other solution
This script above did not work for me. I got some error after installing it. Therefore I decided to write my own macro.
This is what it does: when outlook start, it checks all calendar items, if one of them has a reminder set to18 hours before, then the reminder is disabled
Running this script takes a few seconds (depending on the number of items in your calender) every time Outlook starts.
To install this script do the following:
• In outlook type Alt-F11 (the VBA editor window will pop up).
• Double click on Microsoft outlook Objects/ThisOutlookSession and copy/paste the following code in the right window:
Code:
‘This script was created by Ruut Brandsma on 12/04/2007
Private Sub Application_Startup()
Call Check_all_calender_items_and_disable_reminder_if_set_to_18_hours
End Sub
Sub Check_all_calender_items_and_disable_reminder_if_set_to_18_hours()
Set myNamespace = Application.GetNamespace("MAPI")
Set Application.ActiveExplorer.CurrentFolder = myNamespace.GetDefaultFolder(olFolderCalendar)
For Each item In Application.ActiveExplorer.CurrentFolder.Items
With item
If .Class = olAppointment Then
If .ReminderMinutesBeforeStart = 18 * 60 And .ReminderSet Then
.ReminderSet = False
.Save
End If
End If
End With
Next
Set Application.ActiveExplorer.CurrentFolder = myNamespace.GetDefaultFolder(olFolderInbox)
End Sub
• Close your outlook. Say yes to the save changes popup.
• Restart outlook and during startup all calendar items are checked and if needed adjusted.
If you not want to disable the reminders, but only to adjust the reminder time from 18 hours to e.g. 15 hours, just replace ".ReminderSet = False" in the code above to ".ReminderMinutesBeforeStart = 15 * 60"
I used Outlook Profesiional 2003 to test the script, but might also work for other version.

How do you make it run when new appointments are received
I did some modifications for all day event and made it start at the end of outlook startup.. But a new appointement requires me to rerun the script or restart outlook.
Private Sub Application_MAPILogonComplete()
Call Check_all_calender_items_and_disable_reminder_if_set_to_18_hours
End Sub
Sub Check_all_calender_items_and_disable_reminder_if_set_to_18_hours()
Set myNamespace = Application.GetNamespace("MAPI")
Set Application.ActiveExplorer.CurrentFolder = myNamespace.GetDefaultFolder(olFolderCalendar)
For Each Item In Application.ActiveExplorer.CurrentFolder.Items
With Item
If .Class = olAppointment Then
If .AllDayEvent = True Then
.ReminderSet = True
.ReminderMinutesBeforeStart = 15 * 60
.Save
End If
End If
End With
Next
Set Application.ActiveExplorer.CurrentFolder = myNamespace.GetDefaultFolder(olFolderInbox)
End Sub

I think I have found a bug. The automatic update daylight savings time happened twice last month on my HD2 after using this.

Related

Download email period more than 60 min

I have a TYTN.
If I want to download emails automaticaly with a POP acount it is possible to set the period for checking emails between 1 to 60 min.
What if I want ot set the period to mor than 60 min ? (for example only 3 x per day)
This would help me to save battery power (because If you set to periodical checking the networkconnection does not disconnect automaticaly. You can disconnect only manualy).
I measured 25 % more battery drain if I am permanet online in the UMTS network.
If I am permanet online I have this nerving bug to get no phonecall when bluetooth is switched on too.
Anyone knowes a trick how to set up?
andreasfuntastic said:
I have a TYTN.
If I want to download emails automaticaly with a POP acount it is possible to set the period for checking emails between 1 to 60 min.
What if I want ot set the period to mor than 60 min ? (for example only 3 x per day)
This would help me to save battery power (because If you set to periodical checking the networkconnection does not disconnect automaticaly. You can disconnect only manualy).
I measured 25 % more battery drain if I am permanet online in the UMTS network.
If I am permanet online I have this nerving bug to get no phonecall when bluetooth is switched on too.
Anyone knowes a trick how to set up?
Click to expand...
Click to collapse
i'd interested in this too. thanks!
andreasfuntastic said:
This would help me to save battery power (because If you set to periodical checking the networkconnection does not disconnect automaticaly. You can disconnect only manualy).
Click to expand...
Click to collapse
Please follow my articles - I've also published a solution to this in my article "The secrets of being notified of new, incoming E-mail messages on the Pocket PC" (see the section "The problem of staying-on connection" at http://www.pocketpcmag.com/blogs/index.php?blog=3&p=915&more=1&c=1&tb=1&pb=1 ):
GB-SOFT Tweak will be your friend; go and read http://www.pocketpcmag.com/blogs/index.php?blog=3&p=611&more=1&c=1&tb=1&pb=1
thank you,Menneisyys, for your answer. Of course I already read your (very interesting and usefull) articles and I know the program GB-softtweak already too.
My question is not how to disconnect network after each mailchecking.
I am searching for a programm or a reg.tweak to set the period of checking mails automaticaly to more than 60 min. I prefere a value of 8 hours, thats enough for me. (this saves battery, less downloadvolume, and no disturbing mail notifications at night while sleeping between 23 to 7 h)
So many settings can be changed in the registry, why not this value too?
Maybe someone knows?
andreasfuntastic said:
So many settings can be changed in the registry, why not this value too?
Click to expand...
Click to collapse
I haven't checked this myself, but: most Messaging-related stuff is either stored as a binary flag (in large chunks of binary values) or in WindowsCE databases. I think in this case the latter is the case.
With other words, does this mean that I can not change? (I dont know how to fiddle around in the database).
Anyone with a solution?
andreasfuntastic said:
I have a TYTN.
If I want to download emails automaticaly with a POP acount it is possible to set the period for checking emails between 1 to 60 min.
What if I want ot set the period to mor than 60 min ? (for example only 3 x per day)
This would help me to save battery power (because If you set to periodical checking the networkconnection does not disconnect automaticaly. You can disconnect only manualy).
I measured 25 % more battery drain if I am permanet online in the UMTS network.
If I am permanet online I have this nerving bug to get no phonecall when bluetooth is switched on too.
Anyone knowes a trick how to set up?
Click to expand...
Click to collapse
I have built a custom program to check emails based on the schedule you built.
I do not know if that's what you are asking.. Please check under my signature for link 'rk-OSR'
thanks for your answer!
before trying I would like to know:
I still use WM5
1) can I set the period for acess to a mailserver as I like? (multiple settings possible?), for example during day every 1 h, at night nothing?
2) I have manny emailacounts. Can I set for each a different period?
3) I dont use wifi. Can I use Umts connection? ( can I set your program use the 'standard internet connection' too? I mean the one which I normaly use for browsing with IE)
4) will the device wake up from standby when checking mailserver (of cours I guess it will wake up when a mail arrives because you mentioned that your programm is notificaton based)
I know, many questions.
thanks in advance
andreasfuntastic said:
thanks for your answer!
before trying I would like to know:
I still use WM5
1) can I set the period for acess to a mailserver as I like? (multiple settings possible?), for example during day every 1 h, at night nothing?
2) I have manny emailacounts. Can I set for each a different period?
3) I dont use wifi. Can I use Umts connection? ( can I set your program use the 'standard internet connection' too? I mean the one which I normaly use for browsing with IE)
4) will the device wake up from standby when checking mailserver (of cours I guess it will wake up when a mail arrives because you mentioned that your programm is notificaton based)
I know, many questions.
thanks in advance
Click to expand...
Click to collapse
First of all, rk-OSR just performs email account send receive at specified time. Not from the exchange server.
All your email accounts will be available for sync using rk-OSR
1)Sync schedules you have to manually setup each... You can not set up eg for every 1 hr OR sync from 10Am to 5pm. You need to configure each sync
2)Number of mail account does not matter, but you can not specify which account to sync when. All choosen accounts are synced up
3)It will work on wifi or gprs/edge/3g etc
4)You can set up either way. Wake up or not to wake up.
But why don't you install the app and see if satisfies your requirements.
I hated this on WM5. However on Smartphone you could always have it check once a day not just from 1-60 mins. Gladly WM6 Pro fixes all this. You can have it check once a day and also have it send emails when you click "send". You still can't set times for your pop 3's to auto check but once a day is better than every 60 mins.
WM6 Black on the Tytn is solid.
Thank you juiceppc!
now I upgraded to WM6 too (and I am glad I did it)
I set to check mail once a day (I use a pop3 account) and it is working well.
Can somebody tell me how to find out at which time such dayly mailcheck happens?
Is it possible to set the exaxt time for a dayly mailcheck ?
(for example: check mail every day at 12.00 h)

Changing Reminder Interval (5/15/1hr etc) on Exec

Hi All,
have been searching for the past hour for a solution to my problem, but to no avail. Is there any software/registry hack in WM5 that will give me the option to 'snooze' an alarm/reminder for 30mins?
The default list that pops up has 5mins, 15mins, 1hrs, 1day but I need 30mins. Currently I do 2 x 15mins then a Dismiss.
I use PI 2007 and Pocket Plus, but the snooze times appear to be a feature of WM5 rather than either of these two programs.
Even better would be a custom snooze, so I could say remind me again in, e.g, 22hrs.
All the work arounds I have seen so far involve going into Calendar and duplicating the event with a later remind time which is far from ideal.
Thanks in advance.
Mike

How to set reminder time for 'all day event'?

At the moment - I get woken up every day at 6am by my Trion reminding me I have an all day event that day scheduled in my calender.
How can I set this to go off at 9am instead by default please?
Thanks for any help!
Dan
you set it in clocks and alarmes in settings
Can't find anything in there apart from setting specific alarm times which is not quite what I want.
I need it so that when I create an 'all day event' in the calander with a reminder, that that alert time is relative to say 9am and not 6am!
Technically it would have made sense to have the all day event alert at 12 midnight but that wouldn't have been much better for my sleep than 6am...
Uncheck "all day event" and set the meeting to start at 9am, then select the rest of the day in the calendar........
Yeah except I synchronise my pda with Outlook.
Outlook puts 'all day events' in a separate section at the top, allowing me to schedule other things during the day. If i set it to start at 9am and finish at 9pm it has the disadvantage of
1. being a longer process
2. blocking up the day
Surely they can't mean to wake everyone up at 6am every day there is an all day event??
Dan
Shouldn't an 'all day event' block the whole day anyway?
It seems you're not using 'all day events' as they are intended, and then complaining that they are not working the way you want them to work.
You must be an executive.
I'm assuming you're already at work for these 'all day events' of yours that all start at 9am but don't take up the whole day, so just turn the reminders for them off altogether.
Forums are for being helpful..
Dear Doom, it has to be said that your suggestion was not helpful and your comment as "you must be an executive" was particularly childish. I too have this problem and am not an executive I assure you. What kind of events do I wish to schedule as all day, have a reminder for, but yet have no start time? Scheduling things like birthdays which have no start time and no impact on my day would seem a fair example, it is after that person's birthday all day... Then there are system installs that span whole days, they don't have a time they are expected to start, or end, they are in fact pencilled in for when the engineers arrive. There are also loads of those jobs that have no particular time associtaed with them but need to be done - check tapes, contact customer, etc.
If anyone has a suggestion on how we can schedule events making use of the Outlook reminder facility, without logjamming our Calendar and without being woken up at midnight or 6AM it would be appreciated! My Outlook is configured so my working day starts at 8AM.
Sounds like that would be better served by using tasks....
Yep. Listen to AlbertoM.
I too have suffered this problem and now have to set the reminder to n.5 days (e.g. 1.5 days) so that the reminder goes off at 12 noon rather than midnight. Bit of pain having to remember to do this but it is better than getting woken.
in outlook you can set it as 'busy'. Can you do the same thing in calandar on the 8525/tytn?
Even I had a similar problem waking up at midnight, I thought there must be a way to fix it and I was lazy to look for it. Since this post came up, I thought of building something up to convert all my 'All day events' to fixed time events.
Here it is
http://forum.xda-developers.com/showthread.php?t=330850
I am not sure if it completely solves the problem but might help someone
This could also be handled easily if you have outlook installed on your desktop. Just go into options and on the preferences tab select calendar options and adjust the start and end times, as far as I know this just highlights those hours differently as they are considered your peak hours. The begin time you set will also be the time your all day event reminders go off. Sync your device and these settings will be applied to your device as well.
marnel47 said:
The begin time you set will also be the time your all day event reminders go off
Click to expand...
Click to collapse
Are you sure on the above? I have already the Start time and the End Time set in outlook on pc. Still my device notifies me at 12:00 AM for all day events.
Is there any other setting to change?
Are you sure on the above? I have already the Start time and the End Time set in outlook on pc. Still my device notifies me at 12:00 AM for all day events.
Is there any other setting to change?
Click to expand...
Click to collapse
My appologies you are correct i must have been thinking back to my last palm device. Oddly enough i'm suprised i haven't set up a all day event with a reminder to have noticed this That is very odd that this is the way it is handled. I mean it makes sense and all since 12am is when the device moves the date forward. Kinda makes me wonder when my first birthday reminder goes off 2 weeks in advance, guess i'll be woken up at the the stroke of midnight 2 weeks prior to the birthdate.
marnel47 you don't have to apologize it is obvious to assume that device would notify to on your start of the day, even though it is logically correct to wake up at 12:00 AM. But there should have been some setting to notify at day start time. (Exactly same behavior is experienced on the desktop reminder too)
marnel47 said:
My appologies you are correct i must have been thinking back to my last palm device. Oddly enough i'm suprised i haven't set up a all day event with a reminder to have noticed this That is very odd that this is the way it is handled. I mean it makes sense and all since 12am is when the device moves the date forward. Kinda makes me wonder when my first birthday reminder goes off 2 weeks in advance, guess i'll be woken up at the the stroke of midnight 2 weeks prior to the birthdate.
Click to expand...
Click to collapse
sorry posted in wrong thread

Still waiting for a decent calendar reminder

Hi ,
just a question: I tried a huge q.ty of applications and widgets but I cannot find an application to delay my google calendar appointments as much as I want. Is it possible that (i.e.) if the boss of Google has 3 reminders to delay, he must delay them all together simply adding a reminder 5 minutes after?
I simply want to shift a reminder maybe in 1 hour, another appointment in 2 hours the last one in 20 minutes. Why I cannot do it? I have to manually modify the appointemts. Simple function, still missing after Android 1, 1.5, 1.6, 2.0, 2.1
Any idea/suggestion? I know there are a lot of apps/widgets doing this, but no one is integrated with google calendar (as far as I Know).
Sorry for my bad english.
I'm sorry, but I have no idea what you are talking about. Could you try to explain again?
Try COL Reminder.
Thanks. COL Reminder is the nearest apps but it's not what I'm looking for.
@olafos: when you have i.e. 1 reminder from google calendar, you have a notification in the top bar, right? Ok, when you click on it, you can only dismiss or delay of 5 minutes the appointment.
If you want to delay the appointment choosing from a menu and selecting between "remind me in" 5, 10 ,20 minutes, or maybe 1 or 2 hours or maybe 1 day (as you can find in windows mobile since 10 years....), you cannot do it (with the buil-in notification system).
Now, if you have maybe 3 notifications (not 1), you can do only "Dismiss ALL" or remind all of them in 5 min.
Is it clear? Sorry for my bad english. Do you have any suggestion?
I suppose everyone of you use the reminders with google calendar. So everyone of you will need at least one time to delay the appointment. Maybe the appointment is "Call Jack". But now I have no time. I can do it after 3 hours, but I don't want to go in calendar-->edit-->modify-->save. I would like to choose in a menu "remind me again in 3 hours"--> DONE!
p.s.
@jackhab: it's a very good program....but its not integrated with google calendar. In addition, when you dismiss an appointment...it is deleted, you cannot see it anymore. Not very useful in case of mistake (pressing dismiss for a mistake).
I agree, the lack of flexible snooze sucks big time.

calendar reminder bug (?)

Not sure if this is my phone or how the HD2 is programmed: If a calendar event reminder is due while my phone is switched off, then I completely miss the reminder after I switch it back on. Same is true for alarms.
Any thoughts?
Many thanks.
jae_ said:
Not sure if this is my phone or how the HD2 is programmed: If a calendar event reminder is due while my phone is switched off, then I completely miss the reminder after I switch it back on. Same is true for alarms.
Any thoughts?
Many thanks.
Click to expand...
Click to collapse
This happens to me too.
I believe it goes as follows:
If the phone is completly switched off (not on standby),
the windows' event queue does not exist.
When the phone boots up, it re-builds the event queue from the time it is switched on.
Is it a bug ?
May be (maybe it's design flaw)
Is it an HTC bug or Microsofts ?
I Really do not know whom to blame
Should thay have saved the event queue on power off and reload it on bootup, instead of re-building?
probably.
On my WM2003, if I loaded the event queue from a backup,
and the event queue contained an overdue alarm/reminder
it would have just clogged the queue, and no remonders popped up,
Which is worse than skipping an alarm/remonder or two.
But - nevetheless, they should have fixed the problem, instead of dropping the alarms.
on a side note, does anybody know how to make the phone not remind you before 15 minutes and on the time?i just need to see the appointment is there on manila. ive loaded all my appointments from outlook - till june and on my outlook, ive turned the reminders for each individual one off. however, the phone still reminds me and its annoying. i dont really want to have to go through each one of them (theres 100) and turn it off. itll take me a day!
Som30ne,
thanks for your reply. At least I don't feel that there's something wrong with MY device, and that I need to send it back ---there is only something WRONG with my device.
Strangely enough, on my HTC Touch Diamond, these reminders (and alarms) seemed to work perfectly well and wouldn't miss a single event, so, in upgrading, either Windows or HTC have made a blunder.
Cheers!
munzab,
I know Outlook by default seems to remind you not only at the user set time before the event, but also when it starts to occur, but I don't think my HTC does that. And certainly not the 15 minutes before one.
Hi,
In my personal experience the ability to switch the phone on when an appointments et. is due is unavailable in Windows Mobile. I remember having this on Symbian S60 years ago but not on any Windows Mobile device.
For the second issue. In calendar menu, settings there is an option to change the deault reminder from anything from 1 week before to 5 minutes before as well as None. Have you tried setting it to None to see what happens? I haven't tried it but know its there. The standard alarm doesn't have a delay reminder option so its the time you set only I believe.
Hope this helps in some way.
Regards.
cMMY69 said:
Hi,
In my personal experience the ability to switch the phone on when an appointments et. is due is unavailable in Windows Mobile. I remember having this on Symbian S60 years ago but not on any Windows Mobile device.
For the second issue. In calendar menu, settings there is an option to change the deault reminder from anything from 1 week before to 5 minutes before as well as None. Have you tried setting it to None to see what happens? I haven't tried it but know its there. The standard alarm doesn't have a delay reminder option so its the time you set only I believe.
Hope this helps in some way.
Regards.
Click to expand...
Click to collapse
I have done this for htc, but i have the impression it will only do that for new appointments that are created on the pocket pc.
i can turn each one off by selecting one after the other and editing each. but not from outlook.

Categories

Resources