hi everyone! I see that some of you had the same problem I had: when trying to share the HTML file with other people, it does not load properly or even at all. To solve this issue, I sent a zipped/compressed folder (.zip) including the HTML file along with the .indd project (I'm not sure if this is necessary) and a folder that it creates automatically, containing images and other resources in the document (on my computer, its name is "[DocumentTitle]-web-resources"). Once I did this, the file loaded correctly on other computers! Hope it helps you guys :)
This worked great! One thing that wasn't noted maybe it was obvious but I didn't notice so hoping it might help someone else, make sure you must select all the objects on the page before you hit "run script" in order to export all the objects correctly!
Important notice: If you visit the link in the description, it is clearly stated that the HTML file output from this script is "no way to automatically link the HTML pages together, no control over how the HTML is positioned and sized within the browser, and more." This could be the answer to some questions here on why the HTML file is unusable. I am no code or HTML-savvy guy at all either. Sorry for the inconvenience.
Thanks, Herry for the Info unfortunately, massage came out from Adobe InDesign 2021 Like this after exporting the file .jsx to InDesign JavaScript Error! Error Number: 25 Error String: Expected: } Engine: main File: /Users/mac/Library/Preferences/Adobe InDesign/Version 16.0ME/en_AE/Scripts/Scripts Panel/INDD to HTML.jsX Line: 10 Source: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 12.0px Courier; color: #000000; -webkit-text-stroke: #000000} Offending Text: px any help on this
Script works well, but i'm having a problem. When you run the script, it creates 3 folders, "css" "image" and "script". But I noticed that not all images are exported int he folder "image", causing the images on presentation to show up with really poor quality. Any way to solve it?
The tutorial is brilliant and it did exactly what it said it would do when opening the HTML file into firefox as everything is positioned just right. But now I have a question and I am probably just having a senior moment. How do I then use the HTML file? I thought that I would be able to copy it into the HTML editor of the free wordpress page but it doesnt work, just a whole lot of error messages pop up. Any suggestions
Fantastic tutorial! Works great! I do have a question however, how would i go about sharing the html file? I can open it just fine when selecting it from the folder, however when I email the html file, it doesn't load correctly. Any suggestions or idea why this might be happening?
this may be a little late but here's how I did it: I sent a zipped/compressed folder (.zip) including the HTML file along with the .indd project (I'm not sure if this is necessary) and a folder that it creates automatically, containing images and other resources in the document (on my computer, its name is "[DocumentTitle]-web-resources"). Once I did this, the file loaded correctly on other computers! Hope it helps you guys :)
Hi, thanks for the tutorial. It works. One question: is there any way to create a multi-page HTML document from an Indesign with interactivity that remain functional and connected to each other ?.
Thank you! It works great! I just have one question. When I try to send html files to another comuputer, I can´t open them properly, graphic is broken.
Thanks for posting this - super helpful. I'm using macOS Big Sur and I'm getting the following error when I try to run the script: JavaScript Error! Error Number: 90938. Error String: Unsaved documents have no full name.
Well, I am not using Mac OS, but I think the process should be the same. Make sure the extension of the javascript file is correct and copied in the correct Indesign Script folder.
I tried it, and it creates one page at a time. Like Cover, page 1, and so on. Is there a way to make it work all in one file? In5 creates it, but you need to pay for it. Not a good deal, since the job is done.
I am not sure if we can find two paragraph style in one search in current latest InDesign, or perhaps with GREP or Script can but I'm never tried it and never search two paragraph styles at once.
No, this is not a good way to create an email signature. It uses absolute CSS positioning, which is not supported in email clients. Better to use a simple HTML editor and tables for positioning (with no visible borders).
Hi, you have already helped me a lot. But I still have a little problem. I'm on Mac (macOS Big Sur), I downloaded the script you gave on : @t. Everything works fine, but the URL links don't work. Do you think this might come from the script ? Regards.
Sorry to hear that. I don't have Mac so I didn't test it there. But the original article (the link in the description) tried that out in Mac, it should be working.
Hi everyone, please give the advice to fix the following problem when running the script on my InDesign 2020 in the mac version. Thanks Indesign call the Full name on LIne 18 (Error Number: 90938) : var myDocName = decodeURI(myDoc.fullName);
hi everyone! I see that some of you had the same problem I had: when trying to share the HTML file with other people, it does not load properly or even at all. To solve this issue, I sent a zipped/compressed folder (.zip) including the HTML file along with the .indd project (I'm not sure if this is necessary) and a folder that it creates automatically, containing images and other resources in the document (on my computer, its name is "[DocumentTitle]-web-resources"). Once I did this, the file loaded correctly on other computers! Hope it helps you guys :)
Thank you for the suggestion! I hope this will help others :)
How did you create the zip file?
@@jorgemarcano7361 In Windows, you can just right click the folder and there will be an option to create .zip file. I don't know about MacOS.
Thank you for the advise. Have a good day 😄
This worked great! One thing that wasn't noted maybe it was obvious but I didn't notice so hoping it might help someone else, make sure you must select all the objects on the page before you hit "run script" in order to export all the objects correctly!
Thank you for the advise. Have a good day 😄
Important notice: If you visit the link in the description, it is clearly stated that the HTML file output from this script is "no way to automatically link the HTML pages together, no control over how the HTML is positioned and sized within the browser, and more." This could be the answer to some questions here on why the HTML file is unusable. I am no code or HTML-savvy guy at all either. Sorry for the inconvenience.
This type of scaling can be done with in5: ruclips.net/video/YLmfStjnqPs/видео.html
Also, pages are automatically linked together. :-)
This tutorial is a treasure , thank you very much
You're welcome! 😊😊
Thank you very much. This worked beautifully. Took so long to find something that actually works. AND it even works with my animated Gifs :)
WOW! That was pretty cool and it solved my issue with Indesign. Thank you!
Thanks, Herry for the Info
unfortunately, massage came out from Adobe InDesign 2021
Like this after exporting the file .jsx to InDesign
JavaScript Error!
Error Number: 25 Error String: Expected: }
Engine: main File: /Users/mac/Library/Preferences/Adobe InDesign/Version 16.0ME/en_AE/Scripts/Scripts Panel/INDD to HTML.jsX Line: 10 Source: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 12.0px Courier; color: #000000; -webkit-text-stroke: #000000} Offending Text: px
any help on this
wow thanks a lot!!!!! I love it!
Pure gold! thanks a lot mate!
AMAZING. Than k you soooo much. That worked. Legend.
You're a genius Herry! Thanks!
Works absolutely fine on Mac - thanks
That is great.
Hi, I am also on Mac but struggling to code to scripts in Indesign. Any help would be appreciated
Script works well, but i'm having a problem. When you run the script, it creates 3 folders, "css" "image" and "script". But I noticed that not all images are exported int he folder "image", causing the images on presentation to show up with really poor quality. Any way to solve it?
Thank You Herry. his works nicly, but ---- only sone page. If I have several pages in my Indesign file - what can I do then, please?
Thank you. Your tutorial is an effective one.
You're welcome :)
Just what I was looking for, thanks!
Using macOS Catalina and I cant find where the file is saving. It says it is but where?
Did you figure this out? I'm having the same issue.
This was very helpful! Thank you so much
Nice one buddy - helped me with a client.
Thanks Herry! This is almost a life saver. Appreciate you sharing this.
You're welcome!
Thanks bro! You are amazing
Absolute legend, worked perfectly!
How do you center the entire HTML? I am creating a newsletter, and everything is showing up left, instead of centered. Any help would be great!
Thats insane. Thanks a lot!
This is super. Only issue each page is a separate HTML. Anyway to export all pages as one html?
this script exports each page as a single html...how do I fix this so my whole document is one html file??
Thank you!!! Your tutorial just saved me
Glad it helps 😁
Hi. This worked amazingly - thanks so much! I would like to be able to put the same html into an Outlook email though. Is that possible? 😬😬😬😬
Thanks Herry...Its Amazing
I love you! Thanks
The tutorial is brilliant and it did exactly what it said it would do when opening the HTML file into firefox as everything is positioned just right. But now I have a question and I am probably just having a senior moment. How do I then use the HTML file? I thought that I would be able to copy it into the HTML editor of the free wordpress page but it doesnt work, just a whole lot of error messages pop up. Any suggestions
Thanks for the feedback. Unfortunately, I haven't tried that out. I will inform you soon once I did it.
Thank you for this it worked!
I keep getting a Syntax Error 8 when trying on Mac. InDesign was updated yesterday. Could this be the problem?
Fantastic tutorial! Works great! I do have a question however, how would i go about sharing the html file? I can open it just fine when selecting it from the folder, however when I email the html file, it doesn't load correctly. Any suggestions or idea why this might be happening?
I was just about to ask the same thing. Would be great if someone could help
this may be a little late but here's how I did it: I sent a zipped/compressed folder (.zip) including the HTML file along with the .indd project (I'm not sure if this is necessary) and a folder that it creates automatically, containing images and other resources in the document (on my computer, its name is "[DocumentTitle]-web-resources"). Once I did this, the file loaded correctly on other computers! Hope it helps you guys :)
On Macs the html file is saved in the same place your InDesign file is saved. I see this question a lot and had to figure it out myself.
Sehr gut! Besten Dank...
Thank you so much!!!
thank you so so so so so so much!
Thank YOu ...... YOu saved my time
Does anyone know what Javascript error number 55 is? Message states Object does not support the property of method htmlFXLExportPrefrences
I am having the same issue, any chance you found out how to solve it?
for Mac?
Hi, thanks for the tutorial. It works. One question: is there any way to create a multi-page HTML document from an Indesign with interactivity that remain functional and connected to each other ?.
I haven't tried that. I am unsure about it.
@@HerrySucahya thanks, too bad
It didn't work for me :(
Thank you! It works great! I just have one question. When I try to send html files to another comuputer, I can´t open them properly, graphic is broken.
The JS error is number 90938 and the error string states that "unsaved documents have no full name"
awesome dude
is this script will work on indesign cc2015?
I am not sure, I only use it in Indesign CC2020. Try it out first.
Thank you!
you're welcome!
Good trick - can we make the html responsive using this method?
Thanks! Saved my nerves! :)
You're welcome. But please take note that the HTML file is unusable to be linked with other HTML pages.
Amazing!
Thanks for posting this - super helpful. I'm using macOS Big Sur and I'm getting the following error when I try to run the script: JavaScript Error! Error Number: 90938. Error String: Unsaved documents have no full name.
Well, I am not using Mac OS, but I think the process should be the same. Make sure the extension of the javascript file is correct and copied in the correct Indesign Script folder.
You probably have to save the InDesign document first.
@@Ajarproductions That was it!
@@erichensel2721 👍
After I have had successfully tested the process u showed the second time it did not work. Did I miss something?
I tried it, and it creates one page at a time. Like Cover, page 1, and so on. Is there a way to make it work all in one file? In5 creates it, but you need to pay for it. Not a good deal, since the job is done.
did you find the answer? I have the same question
god bless you
Thanks
Bro how to find two paragraph styles in single find
I am not sure if we can find two paragraph style in one search in current latest InDesign, or perhaps with GREP or Script can but I'm never tried it and never search two paragraph styles at once.
Does it work if I want to create a email signature for Outlook?
I am not sure it will work
No, this is not a good way to create an email signature. It uses absolute CSS positioning, which is not supported in email clients. Better to use a simple HTML editor and tables for positioning (with no visible borders).
Hi, you have already helped me a lot. But I still have a little problem.
I'm on Mac (macOS Big Sur), I downloaded the script you gave on : @t. Everything works fine, but the URL links don't work. Do you think this might come from the script ?
Regards.
Sorry for the inconvenience. Unfortunately, that is everyone's problem; the html file is unusable to be linked. See other comments for tips.
@@HerrySucahya Thank you !
How do you do this with a Mac?
Same procedure but use TextEdit instead of notepad
good tuto
Thanks
great...
Thank you
Think HTML link working on my pc only. do you know why it is happening? file:///C:/Users/CHAMA%20COMPUTERS/Desktop/checking.html
Yes unfortunately that's actually the problem, you can read one of recommendation in the comments. Hope it helps.
Not working in mac
Sorry to hear that. I don't have Mac so I didn't test it there. But the original article (the link in the description) tried that out in Mac, it should be working.
It works on Mac .. but aligned to the right and there's no way to edit on Dreamweaver. Thanks still!
You're welcome! This is actually unable to edit in any HTML editor. Sorry for the inconvenience.
doesnt work on mac
it works on mine Same procedure but use TextEdit instead of notepad
Its not work on 2021 indesign
That's too bad, I haven't tried that in cc2021.
@@HerrySucahya works just fine on Indesign 2022.
Didn't work :
It doesnt work on ma CS6, but thanks anyway
That's too bad, I only tried it in CC 2020 though.
Hi everyone, please give the advice to fix the following problem when running the script on my InDesign 2020 in the mac version. Thanks
Indesign call the Full name on LIne 18 (Error Number: 90938) : var myDocName = decodeURI(myDoc.fullName);
Have you fixed it yet?
On Mac I cant save the script because it says " / cant go there" and stuff like that; cant get it work.
Thank you so much!
thank you so much!
Thanks much!
hey for some reason it won't run the scrip its always giving me a failure message...
do you know how to fix that?
what is the failure message says? Perhaps you are on MacOS?
@@HerrySucahya me too appear the same issue, was saying Syntax Error 8
thanks
Thank you!
Thank you very much!