Mail2iCal1.1.3 Question

Hello All-

I’m starting to get my feet wet again with applescript in OSX. I used to do a fair bit of scripting in OS 9. Seems as though some things have changed since back in those “Old Days” of scripting in OS 9. Oh well, here’s my question. I downloaded the Mail2iCal1.1.3 script out there and thought I would open it up to have a look see what is going on in there and I see this when I get to the portion dealing with the Mail App I see this:

tell application “Mail”
if (count of «class smgs» of «class mvwr» 1) is not 0 then
set allMessages to «class smgs» of «class mvwr» 1

Dosen’t the << >> mean I missing a scripting addition? If so does anyone know which one I’m missing and where to get it? That was the sign of a missing additions on OS 9. Is it still that way in OSX?

TIA
John

Your snippet translates/compiles to:

tell application "Mail"
	if (count of selected messages of message viewer 1) is not 0 then
		set allMessages to selected messages of message viewer 1
	end if
end tell

Script Debugger indicates that it’s all Mail’s code. If you haven’t already done so, I would suggest that you start Mail and then attempt to recompile the script by typing a space at the beginning of the script and then hitting the compile button.