The problem:
I've created a parent Flare project and several child projects. I would like to create entries in the parent TOC that link to the home page of each child project.
If I double-click one of these TOC entries in the parent project and manually enter the path in the Link field, Flare rewrites the path and the link fails.
Here are a couple examples of the paths I have entered:
/Modules/Guidelines/Default.htm
/Modules/Analytics/Default.htm
When the parent project is built in HTML5, these paths are changed to:
../../../Modules/Guildines/Default.htm
../../../Modules/Analytics/Default.htm
The faulty paths are entered by Flare in these two output files:
Output/Data/Tocs/User_Guide_HTML5.js
Output/Data/Tocs/User_Guide_HTML5_Chunk0.js
The goal:
I'd like to create a post-build event that will open these two js files and correct the paths for each of the TOC entries that link to a child project. (There will probably be 10 of these links by the time I'm done.)
I'd be very grateful for any help anyone could offer. I know almost nothing about scripting or batch files.
Mike
Need help creating a build event to edit an output file
-
- Jr. Propeller Head
- Posts: 1
- Joined: Mon Oct 19, 2020 2:51 pm