How Do I Make New Document in New Tab?
My apologies if this has been already asked/answered. I searched but couldn’t find it.
Using a script, I want to achieve the same thing as this menu action:
New Script Tab
without using UI scripting.
I tried this, but it fails:
set oDoc to make new document in window 1 with properties {source text:cbStr}
This works, but creates a new window:
set oDoc to make new document with properties {source text:cbStr}
Although the SD6 menu and help refer to script “tabs”, I cannot find anything in the SD6 SDEF about tabs in a window.
TIA for your help.