How Do I Make New Document in New Tab?

scripting

(Jim Underwood) #1

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.


(Shane Stanley) #2

I don’t believe that’s supported at this time.


(Jim Underwood) #3

Thanks for the quick reply, so I can stop beating my head against the wall. :wink:

So, in that case, may I please make a feature request to provide this capability?