Hi Carl,
It's pretty hard to give an universal code, as it depends on your database structure and document layout.
If it helps, I've uploaded my code here:
http://www.kraabus.ee/php_for_indesign/php_for_indesign.php.txt
(sorry, the comments are in Estonian)
And here are some pages from the...
Hi,
First I made javascript functions for different needs - here you can see 3 of them:
-------------
var myDocument=app.activeDocument;
function addtextbox(pagenr,x1,y1,x2,y2,tstyle,tcontents) {
with(myDocument){
with(pages.item(pagenr-1)){
tTextFrame=textFrames.add()...
Now, about a year later I found that I've posted here something ;) I'll explain how I solved my problem...
I used javaScript to enter data into InDesign3, instead of XML.
I had my data in mysql database, so, having some experience in web programming, I made a short php script and that script...
I have quite the same idea - to get data from database to InDesign. There was a XML tutorial CD together with my InDesign 2. I was able to import XML data but first I had to make placeholders and set them to right structure - that's a lot of work if you have hundreds of items... I wonder if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.