PDA

View Full Version : Expanding images with applescript


seanmc8000
2007-07-07, 11:38 PM
Hi

Any help on this would be great. I am looking for the command to expand an image within a cell through Applescript. I am sorry if this is too simple.

This expands a row:

set expanded of oneRow to true

This expands a non-empty note:
if (length of (note of oneRow as string)) > 0 then
set note expanded of oneRow to true
end if


How do you expand an image within a cell?

Thanks.

DerekM
2007-07-11, 12:18 PM
AppleScript doesn't have any support for the attachments so there isn't a way to expand it. What are you trying to achieve with this script? You could turn off the attachment tags so then all images are shown expanded.

seanmc8000
2007-07-12, 01:41 AM
Thanks derek. That worked fine for me, I hadn't noticed it before. Cheers.