Re: Mac files on Windows and web
Re: Mac files on Windows and web
- Subject: Re: Mac files on Windows and web
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 14 Mar 2002 21:03:13 -0800
On 3/14/02 1:22 PM, "Shane Stanley" <email@hidden> wrote:
>
On 15/3/02 6:35 AM +1000, Paul Berkowitz, email@hidden, wrote:
>
>
> import it, from a Mac, into the Hotmail online website Calendar
>
>
I know nothing about this beast, but when you say "import", how does that
>
happen? I suspect therein lies the problem. Can you import a Windows .csv
>
file from a Mac?
>
>
FWIW, I deal in Windows .csv files all the time, and there's nothing magic
>
in them.
Thanks, Shane. That got me thinking. I had a sample calendar .csv file which
I had exported from Outlook 2000 (in Virtual PC) and brought over to the Mac
side. (I had used it as my model.) I tried importing that file to Hotmail
calendar within IE 5.1 on the Mac. It worked fine. So there's no problem
with the file structure. I did a Get Info on that file and my converted
file. No difference.
I then opened them up and compared them. There was a difference in the
Header line. (The first paragraph of the file contains the "headers" for
each column if opened in Excel, or for using to match fields in Outlook
Import wizard), as I found when I checked for equality of the first
paragraph of each file. I had inadvertently added an extra space between two
words in one of the headers. (A routine comparing each character in a repeat
loop in Script Debugger with a Watchpoint set on a boolean variable ch:
set r1 to read alias "HD:File 1"
set r2 to read alias "HD:File 2"
set p1r1 to paragraph 1 of r1
set p1r2 to paragraph 1 of r2
set n to (count p1r1 )
repeat with i from 1 to n
set x to i
set ch1 to character i of p1r1
set ch2 to character i of p1r12
set ch to (ch1 = ch2)
end repeat
found it, as soon as ch changed from true to false (x= 217). ch1= "I", ch2 =
" ". ) As soon as I removed the extra space and tried again, the file was
now imported by Hotmail Calendar.
Now Entourage users will be able to share calendar, tasks and notes with
each other, and with colleagues using Outlook 2001 Mac or Outlook Windows.
Thanks for putting me on the right track, Shane (intentionally or
otherwise!) I'm feeling pleased as punch.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.