Author Topic: Create and how to open help file in chm or pdf format.?  (Read 8489 times)

0 Members and 1 Guest are viewing this topic.

MvdP

  • Guest
Create and how to open help file in chm or pdf format.?
« on: December 07, 2007, 12:46:06 PM »
I want to create a help file (similar to express tools or autocad ) with a short illustrated explanation of some of my routines (with help from this great forum)and i was wondering in which format to do this, in chm  or pdf format.?And the most imported thing off course is how to code this in a help button.?I did search this forum and found one thread about opening an pdf in AutoCAD but that seems to be allmost impossible because of the long directory names i have.BTW i started my help file in word.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Create and how to open help file in chm or pdf format.?
« Reply #1 on: December 07, 2007, 12:59:11 PM »
A couple weeks ago I started toying with HTA (HTML Application) files for interactive help. Pretty cool potential, but I don't profess to have any expertise (yet). One of my books (VBScript Programmer's Reference, Wrox Press) does discuss them, so I expect to be able to exploit them quite a bit in the months to come.

See the Technet site.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

ronjonp

  • Needs a day job
  • Posts: 7527
Re: Create and how to open help file in chm or pdf format.?
« Reply #2 on: December 07, 2007, 01:10:58 PM »
I've been using this for about 3 years and love it.....for $50 it is a steal :)

http://www.helpmatic.net/hmphtml.html

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Guest

  • Guest
Re: Create and how to open help file in chm or pdf format.?
« Reply #3 on: December 07, 2007, 01:14:31 PM »
Owen uses a freebie program for his OpenDCL help documentation.  The name of the program eludes me at the moment, but if you crack open the CHM for OpenDCL I believe it says what it is at the bottom.

I downloaded it a while ago - it was pretty big - and messed around with it and it seemed to be pretty good.

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Re: Create and how to open help file in chm or pdf format.?
« Reply #4 on: December 07, 2007, 01:34:38 PM »
this is the code I use to open .chm files. As for creating them Microsoft offers a free version of the compiler.

Code: [Select]
(defun dms-help (/ mt-fn)
  (if
    (findfile "dms.chm")
    (progn
      (setq mt-fn (findfile "dms.chm"))
      (startapp "hh" mt-fn)
      ); progn
    (alert "Help File Not Found...[DMS.CHM]")
    ); if
  (princ)
  ); dms-help

TheSwamp.org  (serving the CAD community since 2003)

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Create and how to open help file in chm or pdf format.?
« Reply #5 on: December 07, 2007, 02:14:12 PM »
this one is more expensive..
but very powerful.

http://www.ec-software.com/products_hm_overview.html
Keep smile...

KewlToyZ

  • Guest
Re: Create and how to open help file in chm or pdf format.?
« Reply #6 on: December 07, 2007, 06:44:57 PM »
I've used versions of Front Page to make chm files without any trouble as well.
I know most people dislike Front Page.
But I always found it easy to use even with some of it's garbage code generation.
I found it simple to use when it comes to text & image formatting appearance.
chm is just a choice to save as and is a template to create from.

sinc

  • Guest
Re: Create and how to open help file in chm or pdf format.?
« Reply #7 on: December 07, 2007, 07:29:00 PM »
I've used versions of Front Page to make chm files without any trouble as well.
I know most people dislike Front Page.
But I always found it easy to use even with some of it's garbage code generation.
I found it simple to use when it comes to text & image formatting appearance.
chm is just a choice to save as and is a template to create from.

Really?

I've been using an old copy of FrontPage for our company website, but I've been creating help files in a time-consuming way by hand-editing HTML and CSS files...  Maybe I should try switching...   :wink:

I've actually been thinking of getting something better for doing the website, because Frontpage is rather weak...  But it's probably better than hand-editing HTML...   :-D

KewlToyZ

  • Guest
Re: Create and how to open help file in chm or pdf format.?
« Reply #8 on: December 07, 2007, 08:11:39 PM »
I never could get into dreamweaver.
I always found it obtuse, but everyone has their preferences.

If I'm building an application for SQL 2K data then it is Visual Studio 2005 with the 2.0 framework and AJAX.

Other than that, I still like my Front Page 2003  :lmao:

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Create and how to open help file in chm or pdf format.?
« Reply #9 on: December 08, 2007, 01:05:29 AM »
HelpMaker - Help Authoring Tool

http://www.vizacc.com/
HelpMaker makes WinHelp, RTF, HTML-Help, Websites, PDF files.
It is 100% free.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8691
  • AKA Daniel
Re: Create and how to open help file in chm or pdf format.?
« Reply #10 on: December 08, 2007, 01:13:44 AM »
I've been using this one
http://www.ibe-software.com/products/software/helpndoc/

..I think Mark posted this a while back.. :kewl:

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Re: Create and how to open help file in chm or pdf format.?
« Reply #11 on: December 08, 2007, 05:58:01 AM »
Here's the link to the free MS compiler.

http://go.microsoft.com/fwlink/?LinkId=14188

more info here
TheSwamp.org  (serving the CAD community since 2003)

MvdP

  • Guest
Re: Create and how to open help file in chm or pdf format.?
« Reply #12 on: December 09, 2007, 03:59:11 AM »
Almost all the replies are about creating chm is this meaning that a pdf can not be openend in AutoCAD.?

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Create and how to open help file in chm or pdf format.?
« Reply #13 on: December 09, 2007, 04:14:41 AM »
Almost all the replies are about creating chm is this meaning that a pdf can not be openend in AutoCAD.?

No, they can.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

MvdP

  • Guest
Re: Create and how to open help file in chm or pdf format.?
« Reply #14 on: December 09, 2007, 08:38:08 AM »
And how can they be opened.?

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Create and how to open help file in chm or pdf format.?
« Reply #15 on: December 09, 2007, 09:49:30 AM »
I've been using this one
http://www.ibe-software.com/products/software/helpndoc/

..I think Mark posted this a while back.. :kewl:

Thank you Daniel / Mark. I used it for about an hour before  I bought a license. Easy / clean, produces chm and html. What's not to like.



:)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Re: Create and how to open help file in chm or pdf format.?
« Reply #16 on: December 09, 2007, 09:56:36 AM »
And how can they be opened.?

I haven't tried it but 'startapp' might do the trick.
TheSwamp.org  (serving the CAD community since 2003)

sinc

  • Guest
Re: Create and how to open help file in chm or pdf format.?
« Reply #17 on: December 09, 2007, 10:37:05 AM »
Almost all the replies are about creating chm is this meaning that a pdf can not be openend in AutoCAD.?

No, they can.

I think the reason I prefer HTML help to PDF help is that the HTML will justify to fit the window you have open.  If you resize the window, the text will adjust to fit.  Line lengths change, etc.

With PDF help, WYSIWYG.  The text is basically "frozen" in place.  You can zoom and pan it, but it doesn't automatically refit itself to the window.  That has it's advantages, too, but I generally prefer the HTML version for help.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Create and how to open help file in chm or pdf format.?
« Reply #18 on: December 09, 2007, 01:48:41 PM »
And how can they be opened?

Sorry MvdP, I missed this post. I've never opened a PDF from within AutoCAD.

As Sinc shared, standard help files would be my preference and I think the most flexible, since imagery can be embedded in chm files along with rich text, the latter being easy to resize / flow per the container.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

hendie

  • Guest
Re: Create and how to open help file in chm or pdf format.?
« Reply #19 on: December 10, 2007, 03:56:36 AM »
I would go for the free MS chm compiler. I've used it a lot in the past and it's reasonably good.
NAD the good thing about using chm files is that you can merge them into the original AutoCAD help file system ~ so you don't need to worry abotu creating a button just for your own stuff ~ open up the Acad help and there's you own stuff right in there with it.

Crank

  • Water Moccasin
  • Posts: 1503
Re: Create and how to open help file in chm or pdf format.?
« Reply #20 on: December 16, 2007, 09:37:39 AM »
And how can they be opened.?
The next code always uses your default viewer. Filename must include the extension.
Code: [Select]
(defun pdf (filename / shell bestand)
(vl-load-com)
(setq bestand (findfile (strcat "Subdirectory/" filename)))
(if bestand
(progn
(setq shell (vla-getinterfaceobject (vlax-get-acad-object) "Shell.Application"))
(vlax-invoke-method shell 'Open bestand)
(vlax-release-object shell)
)
(alert "File not found!")
)
(princ)
)
Vault Professional 2023     +     AEC Collection

csgoh

  • Newt
  • Posts: 176
Re: Create and how to open help file in chm or pdf format.?
« Reply #21 on: December 16, 2007, 10:02:45 AM »
To open a chm file, try using (command "shell" "c:/foldername/myhelp.chm").
Using startapp will not work.

csgoh

Crank

  • Water Moccasin
  • Posts: 1503
Re: Create and how to open help file in chm or pdf format.?
« Reply #22 on: December 16, 2007, 10:26:13 AM »
The code I've posted works with every file format.
PDF, CHM, SWF, WAV, WMV, you name it. ;)
Vault Professional 2023     +     AEC Collection

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8691
  • AKA Daniel
Re: Create and how to open help file in chm or pdf format.?
« Reply #23 on: December 16, 2007, 11:31:43 AM »
I've been using this one
http://www.ibe-software.com/products/software/helpndoc/

..I think Mark posted this a while back.. :kewl:

Thank you Daniel / Mark. I used it for about an hour before  I bought a license. Easy / clean, produces chm and html. What's not to like.

:)

So when can we see the "Cowboy Advice"? :laugh:

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Create and how to open help file in chm or pdf format.?
« Reply #24 on: December 16, 2007, 12:39:20 PM »
So when can we see the "Cowboy Advice"? :laugh:

I've posted some here and there, but if you want them all at once --

Wisdom from Will Rogers

• Always drink upstream from the herd.
• Diplomacy is the art of saying "Nice doggie" until you can find a rock.
• Don't squat with your spurs on.
• If you find yourself in a hole stop digging.
• If you're riding' ahead of the herd, take a look back every now and then to make sure it's still there.
• Never approach a bull from the front, a horse from the rear, or a fool from any direction.
• Never ask a barber if you need a haircut.
• Never kick a cow chip on a hot day.
• Never miss a good chance to shut up.
• Never slap a man who's chewing tobacco.
• Talk slowly, think quickly.
• The best way out of a difficulty is through it.
• There's two theories to arguing effectively with a woman. Neither one works.
• Timing has a lot to do with the outcome of a rain dance.
• What the country needs is dirtier fingernails and cleaner minds.

:)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8691
  • AKA Daniel
Re: Create and how to open help file in chm or pdf format.?
« Reply #25 on: December 16, 2007, 11:23:45 PM »
Ah, words to live by. 8-)

KewlToyZ

  • Guest
Re: Create and how to open help file in chm or pdf format.?
« Reply #26 on: February 05, 2008, 03:44:01 PM »
 :-D
I hate PDF, it is the bane of useful information and productivity.
Acrobat is a horrible interface.
Standards committee's using it are wasting theirs and everyone else's time as well.
Usually the number one reason people don't adopt standards is the cost in re-creating the information out of the gate in a useful format.
PDF- fine for a novel, junk for industry usage.
Useful to the paranoid.

delium55

  • Guest
Re: Create and how to open help file in chm or pdf format.?
« Reply #27 on: February 05, 2008, 05:47:20 PM »
;;; Voir aussi la fonction AUTOLISP (startapp) pour une mιthode alternative.
;;; Permet d'appeler d'autres programmes, utilitaires DOS ou WINDOWS au travers AutoCad
;;; (sans sortir d'AutoCad) 
EXPLORER,  START EXPLORER, 1,,
WRITE,     START WRITE, 1,,
ACAD,      START ACAD, 1,,
EXCEL,     START EXCEL, 1,,
BD,        START EXPLORER r:\acad\misc\library\,1
NOTEPAD,   START NOTEPAD,  1,*Fichier ΰ ιditer:,
TDA,       START WINWORD  c:\mydocs\tcards3.doc,1
TCD,       START EXCEL    c:\mydocs\tcards3.xls,1
PBRUSH,    START PBRUSH,   1,,
TC,        http://taylor3/intranet/lisp/Taacad.html,0

            helpme,start myhelp.chm, 1,,                   
GRPHELP,    STARTAPP"hh" "J:\\ESTB\\Grplayer.chm"
;;;Dans un menu                                                                           
[Convertisseur d'unitιs] (Startapp "G:/Esbpcs/utils/ESBUnitConv.exe")

;;;Dans une macro activant un bouton                               
^C^C^P(startapp "explorer" (strcat "/e," (getvar "dwgprefix")))
                                 
;;; Dans une routine LISP
(defun C:DIRR ()(COMMAND ".BROWSER" (GETVAR "DWGPREFIX")))

;;; (command "start" (findfile "Myfile.pdf))

To load some help files to my menu:
[&ESTB --Info--Routines--Trucs et Astuces--Tutoriels]^C^C^P(if(not C:ESTBaide)(load"ESTBaide"));ESTBaide

KewlToyZ

  • Guest
Re: Create and how to open help file in chm or pdf format.?
« Reply #28 on: February 12, 2008, 06:53:01 PM »
Outside AutoCAD  :lmao:
<------Hates PDF :pissed: