I figured it out. I had the GetTopicName variable in the wrong place.
It should be before the create new page command. Any way it works
just the way I want it to now.
At 03:04 PM 4/25/2007, you wrote:
>This command will get the current outline heading: ^$GetTopicName$
>That is what I want to name the file that is being created.
>This does not work: ^!Save AS C:\project\^$GetTopicName$.txt
>It saves the file with no name: .txt
>At 02:41 PM 4/25/2007, you wrote:
> >I don't do otl's where is the heading? Is it marked in the file you are
> >breaking out somehow?
> > > This part is what needs to be changed:
> > >
> > > ^!SetNameFormat ^$GetDataPath$^%DocIndex%.txt
> > >
> > > I want the new txt document to be named the same as the heading. I
> > > haven't figured out how to capture that variable yet.