Hey guys, this is my first attempt at scripting SD6, and I need a little help please.
###I’m writing a script to toggle between two Tabs as being frontmost.
I can see how to get a list of documents, but not Tabs. Are they the same thing?
Even with a document reference, I don’t see how to make it frontmost.
From the SD6 SDef:
A script window can contain multiple documents (scripts) as tabs. Script window properties that are really document properties apply to the current document (the frontmost tab).
current document get document The script document being displayed in this window (in the frontmost tab, if the window has multiple documents).
The “current document” is a “get only” property. How do I set it?
So the text refers to “tab”, but I don’t see a “tab” element anywhere.
TIA for your help.
P.S. Is there a library or collection of scripts somewhere that provide examples of how to script SD6?