Script to change timezones?

E

Ernie

Hello,

I am in the Eastern Time Zone, US. Somehow all of my 'All Day' events have had their time-zones set to Casablanca, Monrovia.

I am told the only way to fix this is to manually change them or to run a script that will fix them.

Since I don't know how to write Applescript (yet), I am wondering if anyone has, or knows where I might download, an existing script that will set timezones for calendar events.

Thanks in advance
 
B

Barry Wainwright

Hello,

I am in the Eastern Time Zone, US. Somehow all of my 'All Day' events have
had their time-zones set to Casablanca, Monrovia.

I am told the only way to fix this is to manually change them or to run a
script that will fix them.

Since I don't know how to write Applescript (yet), I am wondering if anyone
has, or knows where I might download, an existing script that will set
timezones for calendar events.

Thanks in advance

tell application "Microsoft Entourage"
set theEvents to every event whose time zone = 5 -- Monrovia
repeat with anEvent in theEvents
set time zone of anEvent to 4 -- Eastern
end repeat
end tell
 
E

Ernie

Oh my god. You truly rule.

Thank you so much!!!

I ran the script and my events are fixed.

You saved me at least a day of trying to figure this out myself.

Thank you once again!!
 
B

Barry Wainwright

Oh my god. You truly rule.

Thank you so much!!!

I ran the script and my events are fixed.

You saved me at least a day of trying to figure this out myself.

Thank you once again!!

You're welcome :)
 
S

Sarah

Barry,
I have a similar issue. All my current events are set on eastern time and I
need them to be in central.
I just upgraded office from Office X to 2008. Very exciting.
How would the script change?

Thanks
Sarah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top