Forum Replies Created
-
AuthorPosts
-
Floris Hollander
MemberI tried to recreate the situation (I found this document on a freelance job) but couldn’t do it. David, after your comment I realised there is an option to rotate the canvas.. (view > rotate) voila! I tried to find a notification on this rotated view, but I don’t think it’s there. So, after all.. solved! Thank you for the hint.
Floris Hollander
MemberJust place the Excel file as a table. Apply tablestyles for styling. Here comes the good part: when a price changes, just update the linked table. To do that, first check “Create links when placing text and spreadsheets” in your Indesign prefs (and don’t forget to turn it off afterwards).
Floris Hollander
MemberThe Ai file might be RGB. When colors are converted to CMYK, the change appearance. First check the colorspace you are using, but it could be dependable on a lot of factors. Cheers.
Floris Hollander
MemberIt says something like:
Error: 8
Syntax ErrorEngine: main
File (etc)
Line:18
Source: alert(“Table width updated sucessfully…”);
Responsible text: ”Ooh, I just fixed this one with Extendscript Toolkit (I found the debug function there). There where typographic quotes instead of dumb ones.
But now it still stops at:
with (myDoc.viewPreferences){Anyway, I found out this script will change all the colums in the document and that’s not what I was looking for.
This was what I needed:
var myDoc = app.activeDocument;
var myWidths = [100, 100, 150, 150];
for(var j=0; j < myWidths.length; j++)
{
app.selection[0].columns[j].width = myWidths[j];
}So simple, so efficient;) After all, it was good to dive into the world of table scripting and all the possibilities there are. Ari, thanks for your time and response.
Floris Hollander
MemberKeep getting the syntax error.
Looking into the code, I can change the numbers betweet the brackets [100, 100 etc]?
Do I have to fill in any number on the for(var T=0 / i=0 / j=0 also to make it work?
Floris Hollander
MemberThank you Ari, but still.. it doesn’t work :\
Is the width always in points, or given by the program prefs?
-
AuthorPosts
