GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Change file name color if newer "version" of file exists


#1

Okay, so where I work we manually create "versions" of Word docs and spreadsheets as we collaborate on them with our colleagues. Here's an example workflow.

File.doc //First version, created by me. I send it to my boss. It comes back with replies and questions.
File 2.doc //Return from my boss with her replies and questions.
File 3.doc //My reply to my boss.
File 4.doc //My reply to my boss.

If a file name ends in a number (such as a date) we use letters instead of numbers, as in:
File 9 January 2019.doc //First version, created by me. I send it to my boss. It comes back with replies and questions.
File 9 January 2019 B.doc //Return from my boss with her replies and questions.
File 9 January 2019 C.doc //My reply to my boss.
File 9 January 2019 D.doc //My reply to my boss.

Using Opus, I would like to colorize (in a lister) all but the latest version of a doc/docx or xls/xlsx file. I'd like the file names of the older "versions" of a versioned file be a certain shade of gray. This way I'm less likely to accidentally edit an old version (something we almost never want to do) and I can also more easily find the latest version.

One directory could contain multiple different groups of unrelated versioned files.

When there's just one file (no version of that file with a " 2" or higher or " b" or higher name), then that non-versioned file is the latest version and would its name would be normal (black characters).

Is there any way to do this in Opus?


#2

It is possible, but would take some script code to do, and is a little fiddly to do. I've been meaning to have a go at implementing it but haven't had a chance yet, since it's not trivial. (The issue is that the property of each file depends on other files, so the script would have to look at the whole directory for every file.)

It's certainly possible, though.


As an aside:

If you do this sort of thing a lot, it might be worth looking into a version control system which can let you store multiple versions of each file and keep track of their history, with dates and comments and the ability to compare versions. (Although comparing .doc files doesn't always work perfectly, depending on the comparison tool used.) We use SVN and Git which are geared towards programming, and can be integrated into Opus or used standalone. There may be others more aimed at documents.


#3

Thanks, Leo.

About using SVN, Git or some other VCS: That won't work. My (small) company uses this method of versioning-by-filename broadly. Lots of admin people do it. Thanks for the suggested alternative. We do use SVN and Mercurial for things that make sense for us.