Thread View: adobe.scripting.indesign
1 messages
1 total messages
Started by Eliot_Kimber
Fri, 16 Jan 2009 22:17
[cs3 ScriptUI] Dynamic Icons for List Items?
Author: Eliot_Kimber
Date: Fri, 16 Jan 2009 22:17
Date: Fri, 16 Jan 2009 22:17
13 lines
1474 bytes
1474 bytes
I'm using ScriptUI in CS3 (but it's probably the same in CS4) to generate a tree view. Each item in the tree has an associated icon. I'd like to be able to dynamically annotate the icons with things like lock indicators or whatever. My reading so far of the JavaScript Tools Guide suggests that it's not possible but since doing so is pretty standard UI stuff I was hoping I'd just missed some trick. I tried setting an "onDraw" event handler on the list items but it never got called. Also, the documentation is inconsistent about the support for icon formats other than PNG: in some places it says PNG is required, in others it indicates that other formats are supported. My experiments indicate that, for example, GIF icons don't work (get a "Bad image data" exception). Is the limitation to PNG really true. Thanks, Eliot
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads