Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Altering ExportAllStories

Community Expert ,
Feb 10, 2010 Feb 10, 2010

I'm trying to get into changing scripts already supplied with InDesign, so I can alter them myself.

But I can't for the life of me figure out how to do this.

I have the Exportallstories.jsx that came with indesign. But I want to change this so that it Exports the Story from all open documents.

But I don't have a clue where to start. I've read the Scripting Guide from Adobe, which explained somethings but was mostly confusing, and I've read another Scripting Guide and couldn't find out how to do this.

Basically I don't want the script to export all the stories from one document, but to export the stories from all open documents.

But I also need it to insert the filename for each document as the name of the document.

Where do I start?

TOPICS
Scripting
906
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Feb 10, 2010 Feb 10, 2010

Warning! It's not totally tested.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 10, 2010 Feb 10, 2010

That sorta did the job, but it's pulling items off master pages as stories, just need body text.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Feb 10, 2010 Feb 10, 2010

This doesn't work for stories in anchored, grouped text frames. Warning you again -- not tested!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 10, 2010 Feb 10, 2010

I don't know what's happening, but it's pulling stories out of the air. I only have two documents open when testing, and the text in some of the exported RTFs are from files that are not even open?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 10, 2010 Feb 10, 2010
LATEST

Getting there though - thanks for all the help so far.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines