🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.incopy.scripting
2 messages
2 total messages Started by Daniel_Morrow Fri, 11 Jul 2008 20:10
how can I delete all the text in one story?
#33
Author: Daniel_Morrow
Date: Fri, 11 Jul 2008 20:10
5 lines
864 bytes
Yeah, it's a dumb question. I've done some pretty complex things using ExtendScript, yet I can't seem to figure out how to remove all of the text in one story.

Any help would be greatly appreciated.

-Dan.
Re: how can I delete all the text in one story?
#32
Author: Dave_Saunders
Date: Fri, 11 Jul 2008 20:46
7 lines
865 bytes
myStory.contents = "";

myStory.texts[0].remove();

either should do the job.

Dave
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads