- -- extract and edit, say, a CSS file in our favorite text editor
-- pack the new CSS back into the hmskin archive
-- then archive it
Rummaging through WebHelp hmskins & edit - possible?
Moderators: Alexander Halser, Tim Green
-
- Posts: 575
- Joined: Sat Sep 23, 2017 9:05 pm
Rummaging through WebHelp hmskins & edit - possible?
Is it possible to unzip an hmskin then
- Tim Green
- Site Admin
- Posts: 23189
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Rummaging through WebHelp hmskins & edit - possible?
Hi Dave,
However, you don't really need to do this. That is what the Toolbox utility in the Premium Pack is for, which you can link to your favorite code editor in Edit > Preferences. You then open the skin with Toolbox, select Baggage Files and then double-click on the file you want to edit and it opens in your favorite editor. Toolbox does this by exporting a temporary copy automatically, loading it into your editor and then monitoring the copy for changes. As soon as you save in your editor the file lights up red in the Baggage File list in Toolbox and the Save Project button activates. When you then save it is automatically saved back to the skin with your edits.
You can also automate it completely if you activate the auto-save option in Toolbox preferences. Then the copy will be saved back to the skin automatically when you save in your own editor. Personally, I prefer to leave that off so that I can decide if I want to keep the edits or not.
Absolutely. You can also work with completely unzipped skins. Just unzip it into an empty folder and change the name of the project.hmxp file it contains to anythingyoulike.hmskin. Then you can edit everything directly and also use the skin normally. The only thing that doesn't work is the preview image of the skin when you select it.Is it possible to...
However, you don't really need to do this. That is what the Toolbox utility in the Premium Pack is for, which you can link to your favorite code editor in Edit > Preferences. You then open the skin with Toolbox, select Baggage Files and then double-click on the file you want to edit and it opens in your favorite editor. Toolbox does this by exporting a temporary copy automatically, loading it into your editor and then monitoring the copy for changes. As soon as you save in your editor the file lights up red in the Baggage File list in Toolbox and the Save Project button activates. When you then save it is automatically saved back to the skin with your edits.
You can also automate it completely if you activate the auto-save option in Toolbox preferences. Then the copy will be saved back to the skin automatically when you save in your own editor. Personally, I prefer to leave that off so that I can decide if I want to keep the edits or not.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 575
- Joined: Sat Sep 23, 2017 9:05 pm
Re: Rummaging through WebHelp hmskins & edit - possible?
Thanks - exactly what I needed.
Er. wait - I'm not sure I understand about changing the 'project.hmxp' to 'whatever...hmskin' Is there some area in the hmskin that is has become hardcoded to contain the name of the H+M project that called it to do its skin thing when the help file is published?
Er. wait - I'm not sure I understand about changing the 'project.hmxp' to 'whatever...hmskin' Is there some area in the hmskin that is has become hardcoded to contain the name of the H+M project that called it to do its skin thing when the help file is published?
- Tim Green
- Site Admin
- Posts: 23189
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Rummaging through WebHelp hmskins & edit - possible?
No, the contents of a .hmskin file are really the same as a normal HM project. Inside every skin there is a standard project file called project.hmxp. If you unpack the skin you need to change the extension of that file to .hmskin to be able top use it as a skin in its unpacked form. The name before the extension can be anything you like. It doesn't have to match the project or anything like that.Dave Gehman wrote:Er. wait - I'm not sure I understand about changing the 'project.hmxp' to 'whatever...hmskin' Is there some area in the hmskin that is has become hardcoded to contain the name of the H+M project that called it to do its skin thing when the help file is published?
If you REpack it into a zipped .hmskin file, however, the internal project file MUST be renamed back to "project.hmxp".
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 575
- Joined: Sat Sep 23, 2017 9:05 pm
Re: Rummaging through WebHelp hmskins & edit - possible?
Thanks. Interesting schema to say the least - it's taking a awhile, but I'm beginning to enjoy the coherence of the H+M world.