0 votes
asked by (350 points)
I would like to copy multiple interlinked passages and paste them to create exact copies of them. (With a name change, like from "Test" to "Test_copy". I am using the default Harlowe 2.0.1

It seems like you can copy passages, but when I try to paste them, nothing appears. (Using latest version of Twine for Mac)

1 Answer

+1 vote
answered by (115k points)
selected by
 
Best answer

As far as I'm aware the cut-n-paste menu options only work within the Passage Editor.

I believe the simplest way to duplicate passages when using the Twine 2 application is to manual edit the related project HTML file externally within a Text Editor and use that applications cut-n-paste options.

WARNING: I would strongly suggest backing up your story project before doing any of the following!

You will need to be careful with doing this type of editing and make sure of the following:

1. Close down the Twine 2 application before externally editing the project HTML file.

2. Maintain the parent / child structure between the parent tw-storydata element and the child tw-passagedata elements, using a HTML or XML aware Text Editor will help with this.

3. Each tw-passagedata element must have the following properties:
a. an unique name String property.
b. an unique pid integer property.
c. (possible) a position co-ordinate value that doesn't over lap another passage.

 

commented by (350 points)
Hi! I tried your method, and it works really well, but I have a problem. I need to copy a very huge number of passages, and it would take approximately 100 hours to do it all by this method. Is there something else I could do?
Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...