CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Wed Oct 16, 2019 10:39 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Dec 03, 2013 10:24 am 
Offline

Joined: Mon Jul 22, 2013 9:32 am
Posts: 6
Hi,
we are adding extra HTML Help (.CHM files) to our package, and using the XML 'merge file' mechanism to tell the help system where to place these extra CHMs in the table of contents.

Currently our merge files have a line such as
Code:
<TOCRoot>ms-its:C:\Program Files (x86)\3S CODESYS\CODESYS\Online Help\en\CODESYS.chm::/f_welcome_to_codesys.htm </TOCRoot> 


Obviously, this makes an assumption about where Codesys is installed, which may not be correct.
Is the Codesys installation directory available as an environment variable, so we can use this in the URLs in our merge files?

For example, something like:
Code:
<TOCRoot>ms-its:%CODESYS_INSTALL_DIRECTORY%\Online Help\en\CODESYS.chm::/f_welcome_to_codesys.htm </TOCRoot> 


Top
   
PostPosted: Fri Dec 06, 2013 11:40 am 
Offline

Joined: Mon Jul 22, 2013 9:32 am
Posts: 6
Ah! It looks like I can just use relative addressing, and not worry about the installation directory at all.

so something like
Code:
<TOCRoot>CODESYS.chm::/f_welcome_to_codesys.htm</TOCRoot>


8)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited