Jan 15, '04 09:18:00AM • Contributed by: ddldreaming
tell application "Mail"
tell message viewer 0
if preview pane is visible then
set preview pane is visible to false
else
set preview pane is visible to true
end if
end tell
end tell
[robg adds: To me, one of the neater aspects of this hint is the tidbit on how to add the keyboard shortcut to a Mail script -- I had no idea it was possible by simply naming the file in a certain manner! I've now added keyboard shortcuts via file naming to the two other Mail scripts I use all the time ... very handy! I also tried with a Finder script, but it didn't seem to work there.]
