[MacTUG] University Holidays off the HR web page into iCal
Dani Roloson
daroloso at mfcf.math.uwaterloo.ca
Tue Jan 6 15:51:04 EST 2009
10.4 AppleScript can't handle the filenames like /tmp/UWHolidaysIN.txt
so one would have adjust things to be as follows.
(You also have to create the files before compiling the AppleScript
... I used touch in Terminal)
Dani
...
set inFile to "~/Desktop/UWHolidaysIN.txt"
set outFile to "~/Desktop/UWHolidaysOUT.txt"
...
set writeToMe to (open for access alias ((path to desktop folder as text) & "UWHolidaysIN.txt" with write permission)
...
set readFromMe to (open for access alias ((path to desktop folder as text) & "UWHolidaysOUT.txt")
...
More information about the MacTUG
mailing list