Support environment variables in compiler filenames

Nothing is perfect! This is where you can post your ideas and wishes for functions you'd like to see in Help & Manual. Current version only please (H&M7).

Moderators: Alexander Halser, Tim Green

Support environment variables in compiler filenames

Unread postby simoncraythorn » Thu Sep 27, 2007 5:58 pm

Would it be possible to support environment variables for the compiler output file?

Reason:

Our technical author uses H & M and he stores his .chm files on his local disk in his directory structure.

We have him check the H & M projects into our source control system. On occasion we need to make minor modifications to the help files and then we check them back in.

Our directory structure (for the output files) doesn't match his. So we are constantly battling with the Output file for the .chm file.

If we could set the output file to be "%OURPRODUCT%\ourproduct.chm this would solve the problem. We would just set an environment variable on our machine pointing to our directory structure and he would set one on his. Problem solved.

We tried doing this with the current H & M release but it tells us that "the output folder does not exist. Do you want to create it?". If we say yes, nothing happens.

Many thanks.
Simon Craythorn
InterVations, Inc.
simoncraythorn
 
Posts: 2
Joined: Thu Sep 27, 2007 5:50 pm

Unread postby Alexander Halser » Thu Sep 27, 2007 6:18 pm

Simon,

This has always been working, though not explicitely supported by Help & Manual, but by Windows :D
Alexander Halser
Senior Software Architect, EC Software GmbH
User avatar
Alexander Halser
EC-Software Support
 
Posts: 3813
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria

Unread postby simoncraythorn » Mon Oct 01, 2007 9:14 pm

Alexander Halser wrote:Simon,

This has always been working, though not explicitely supported by Help & Manual, but by Windows :D


Hmm, not quite.

Go to File->Compile Help File.

Select HTML Help as the output format

Enter

%MYAPP%\myapp.chm in the Output File (you can type %TEMP%\test.chm in here to test) press OK.

I get a message saying

"This output folder does not exist. Do you wan to create it?"

The output folder does exist, but press Yes anyway and nothing happens.
--
Simon.
simoncraythorn
 
Posts: 2
Joined: Thu Sep 27, 2007 5:50 pm

Re: Support environment variables in compiler filenames

Unread postby ContiChris » Tue Jan 16, 2018 10:31 am

Hi,
is here new knowledge available?
It would also be great if environment variables will work in the task manager.

--
Chris
ContiChris
 
Posts: 7
Joined: Wed Dec 21, 2016 11:36 am


Return to H&M Wish List

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest