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

Script for changing a topic's status

Explorer ,
Jun 29, 2016 Jun 29, 2016

Copy link to clipboard

Copied

I am using RoboHelp 2015 Release 3. I am looking for a script that will change a topic's status from "In Progress" to "Ready for Review" if a change was made to the topic.

My thought is to have the script search each topic in the project for "rh-track-start." If found, the script would change the "topic-status" meta tag value to "Ready for Review," and then save the topic.@

Someone may have done this already or may know a better way of doing this. I am open for suggestions. Any and all help is appreciated.

Views

426

Translate

Translate

Report

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 ,
Jul 01, 2016 Jul 01, 2016

Copy link to clipboard

Copied

You don't need a script. Set the Topic List to include Status and then sort by that column. Select all the topics with the status to be changed and then right click. Mass change the topics to the required status.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

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
Explorer ,
Jul 11, 2016 Jul 11, 2016

Copy link to clipboard

Copied

Thanks for the suggestion, but that would require me to remember which topics I had changed. I could also change the status to Ready for Review as I changed each topic, but that again requires manual intervention.

What I want to do is:

  1. Open a project with Track Changes turned on.
  2. Make my changes as required.
  3. Click a button that runs a script that automatically changes any topic that was changed to Ready for Review. The script would search the source code for "<?rh-track_start ".
  4. Create a PDF for review copy that contains only the topics whose status is Read for Review.

I have to account for each change in a project no matter how small. The script approach is more efficient and less prone to errors of omission.

Votes

Translate

Translate

Report

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
Contributor ,
Jul 11, 2016 Jul 11, 2016

Copy link to clipboard

Copied

I have two thoughts.

1) Sort the list of topics by Modified Date with the Status column next to it. Then you wouldn't have to remember which topics you changed. If you made changes to 3 topics and sorted the topic list like that, those 3 topics would be at the top. Here's an example from my project:

2) Just curious about your requirement boundaries. Say you change a single sentence in a topic that has 1000 words, for example, you change this sentence - "The hard drive size must be 1 TB" - to - "The hard drive size must be 2 TB". Is your requirement to produce a PDF for review that has the entire 1000 words in that topic or is it possible to comply with the requirement by producing a document that has the actual sentence you changed? If you can provide the actual sentences that were changed, I may have some other suggestions.

Votes

Translate

Translate

Report

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
Explorer ,
Jul 11, 2016 Jul 11, 2016

Copy link to clipboard

Copied

LATEST

Thanks. Your suggestion definitely is an improvement over changing the topic status one topic at a time. I will try doing as you say. I just have to be disciplined enough to change the status each day or at least at regular intervals.

In response to your second thought, we print out the entire topic for review even if one line of text changes. That is why the more automated my process is, the more confident my reviewers will be that I included everything.

Votes

Translate

Translate

Report

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
Resources
RoboHelp Documentation
Download Adobe RoboHelp