ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > FARR Plugins and Aliases

CHM2Alias

(1/4) > >>

ewemoa:
CHM2Alias

This (still very alpha) tool attempts to create a FARR .alias file from a .chm file.  The resulting alias consists of results that point to specific nodes within the .chm file.

Thus, FARR's searching/filtering capabilities may be applied to quickly navigate to certain places within .chm files for which corresponding .alias files have been created, installed, and configured.

How to Use

Basically the tool is applied to an existing .chm file to create a new .alias file.  The resulting .alias file should be placed in an appopriate location and then possibly tweaked via FARR's UI.  Detailed instructions follow.

At the moment, your machine must have hh.exe living in C:\WINDOWS\ for this tool to work.

Creating the new .alias file.

1. Drop a .chm file on to CHM2Alias.exe.

There should be a new .alias file in the same directory as CHM2Alias.exe.

Installing the new .alias file.

2. For Windows XP, the new .alias file should be placed in the folder:

  <FARR-Installation-Dir>\AliasGroups\MyCustom\

where <FARR-Installation-Dir> is typically:

  C:\Program Files\FindAndRunRobot

but may be somewhere else depending on your setup.

For Vista / 7, the new .alias file should typically be placed in:

  C:\Users\<username>\Documents\DonationCoder\FindAndRunRobot\AliasGroups\MyCustom\

where <username> is your user name.

Configuring the new .alias file.
  
3. Open FARR's Options window and navigate to:

  Program Options ->
    Lists ->
     Aliases/Groups
      
Then choose the new .alias via the combo box labeled:

  Select Alias/Group file to configure
  
4. Bring up the "Edit Group/Alias" dialog for the single entry by double-clicking the entry or via its context-sensitive menu.

5. Edit any values appropriately -- specifically, choosing a relatively short value for Group Alias Name is recommended.

Using the new alias.

6. Bring up FARR and type the alias' value for Group Alias Name.

Temporary Download

phitsc:
Have hh.exe in my c:\windows directory. Dropping FindAndRunRobot.chm onto CHM2Alias.exe gave me the following error:

[CHM2Alias.exe]
JavaScript main() returned: Execution of main failed: undefined.

I now have an empty directory called 'radA6319.tmp' in the CHM2Alias folder as well as a debuglog.txt file containing the following:

Mon Mar 1 13:08:17 UTC+0100 2010: e.message: undefined
Mon Mar 1 13:08:17 UTC+0100 2010: argc: 2
Mon Mar 1 13:08:17 UTC+0100 2010: argv: C:\Program Files\FindAndRunRobot\FindAndRunRobot.chm,0
Mon Mar 1 13:08:17 UTC+0100 2010: cwd: C:\Documents and Settings\ttt\My Documents\Downloads\CHM2Alias

I also tried Notepad++'s .chm file. Same result.

ewemoa:
Thanks for the report.

I will investigate :)

ewemoa:
Could you try running the .exe from a path with no spaces?

ewemoa:
I was able to reproduce similar results.

I have uploaded a version which seems to fix the issue locally.

Thanks again for the report -- I hope the fix is effective.

Navigation

[0] Message Index

[#] Next page

Go to full version