The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniOutliner 3 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=9)
-   -   Expanding images with applescript (http://forums.omnigroup.com/showthread.php?t=4106)

seanmc8000 2007-07-07 10:38 PM

Expanding images with applescript
 
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:
[INDENT][COLOR="blue"]set expanded of [/COLOR][COLOR="Green"]oneRow[/COLOR][COLOR="Blue"] to true[/COLOR][/INDENT]
This expands a non-empty note:[INDENT][COLOR="Blue"]if (length of (note of [/COLOR][COLOR="Green"]oneRow[/COLOR] a[COLOR="Blue"]s string)) > 0 then [/COLOR][INDENT][COLOR="Blue"]set note expanded of[/COLOR] [COLOR="Green"]oneRow[/COLOR] [COLOR="Blue"]to true [/COLOR][/INDENT] [COLOR="Blue"]end if [/COLOR]

[/INDENT]How do you expand an image within a cell?

Thanks.

DerekM 2007-07-11 11:18 AM

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 12:41 AM

Thanks derek. That worked fine for me, I hadn't noticed it before. Cheers.


All times are GMT -8. The time now is 04:09 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.