rob day
Community Expert
rob day
Community Expert
Activity
Oct 23, 2024
04:42 PM
The snipet I just posted was to test if the new InDesign sees an open document. Something tells me Bridgetalk (the code used to communicate with Photoshop) is broken in the new updates. I’m not going to be able to do anything for awhile.
... View more
Oct 23, 2024
02:20 PM
Isn't using invoke() the same?
Not exactly, currentTool is read/write, so you can get and set the tool
//get the current tool
var ct = app.toolBoxTools.currentTool
$.writeln(ct)
//set the current tool
app.toolBoxTools.currentTool = UITools.PAGE_TOOL;
... View more
Oct 23, 2024
02:11 PM
User HAVE to be in "Page tool" mode BEFORE he starts changing selected pages
You can script the tool selection.
app.toolBoxTools.currentTool = UITools.PAGE_TOOL;
... View more
Oct 23, 2024
11:04 AM
I have no explanation for knowing why Registration 60 % appears as 100 % in the PDF.
Hi @jmlevy , Acrobat is showing the overprint. Try turning on Overprint Preview in InDesign:
... View more
Oct 23, 2024
10:44 AM
@jmlevy is right, setting the text to 60% of the [Registration] swatch results in an output value of 60|60|60|60, total ink 240%, not 60% Black (CMYK 0|0|0|6)
You need to turn on Overprint/Separation Preview to display the expected ouput color for a PDF/X-1a export on an offset press. Use the [Black] swatch for your Character Style.
Also, if you inspect the text in AcrobatPro the Color Space is listed as Separation, All—not DeviceCMYK
... View more
Oct 23, 2024
06:12 AM
Hi @johnr54626971 , If you check the Character Style’s font in Find/Replace Font are its Restrictions listed as Normal?
... View more
Oct 23, 2024
05:23 AM
Hi @Robert at ID-Tasker , The best you can do is set or get the active page or spread—activePage only returns a single page, not an array of pages:
//make page 2 active
app.activeWindow.activePage=app.activeDocument.pages[1];
//get active page
$.writeln(app.activeWindow.activePage.name)
Also app.activeWindow.activePage can still be unreliable—depends on the zoom level—the frontmost page doesn't always correspond to the selected page in the Pages panel,
... View more
Oct 23, 2024
05:05 AM
Can you show the alert you get when you run this script from the new version of InDesign?
if (app.documents.length > 0 && app.activeDocument.saved) {
alert("Active document’s file path is:\r" +app.activeDocument.filePath)
} else {
alert("Please open a document or save the active document and try again.")
}
... View more
Oct 23, 2024
04:34 AM
I stay a full version behind with ID and PS, so I can't test. Someone messaged me that doing a Save As with the active document to the desktop worked .
... View more
Oct 22, 2024
06:34 PM
I installed the fonts you provided in my system before opening the IDML.
... View more
Oct 22, 2024
12:01 PM
I wish they supported python in the future?
Probably not, the move is to UXP
https://developer.adobe.com/indesign/uxp/
... View more
Oct 22, 2024
11:56 AM
If I install the fonts you attached in the OSX user Fonts folder, InDesign does not load them, and when I open your IDML they are listed as missing.
... View more
Oct 22, 2024
09:48 AM
1 Upvote
For example this would set all of the highlighting, for all of the open documents to true, without changing the Application’s default settings:
var d = app.documents;
for (var i = 0; i < d.length; i++){
d[i].textPreferences.properties = {highlightCustomSpacing:true, highlightHjViolations:true, highlightKeeps:true, highlightSubstitutedFonts:true, highlightSubstitutedGlyphs:true}
};
... View more
Oct 22, 2024
09:17 AM
Hi @Roger Breton , Like most other preferences Composition can be set for the Application, or for an individual document. If you want a default set of Composition preferences for all new documents, set your prefs with no documents open.
If you wanted to do something like set all of the open documents to the same Composition highlighting, it could be done via scripting.
... View more
Oct 22, 2024
08:30 AM
1 Upvote
If you check your document’s Find/Replace Font does the problem font have a valid Path listed under Info?
... View more
Oct 22, 2024
04:20 AM
I have a customer's high-resolution artwork for many 72"x24" prints. I made a contact sheet in InDesign (putting 6 prints on a 10"x8" page; total of 12 pages)
Hi @Amy27803658kw4g , What are the pixel dimensions of the linked artwork, and what are your hardware specs? You are asking InDesign to downsample 72 very large image files, so it wouldn't be surprising that ID would run out of memory and fall back to the disk for virtual memory. Unfortunately InDesign doesn't allow you to set scratch disk volumes the way Photoshop does, so it always uses the startup drive when you run out of RAM. If you need to use InDesign for this kind of work you will need to free up space on your startup drive.
... View more
Oct 21, 2024
02:30 PM
using the Page tool is a good "hack", granted.
I don‘t think of it as a hack—I use it all the time for document resizing. The problem with resizing the document from Document Setup is the reference point is always centered. That might be OK for certain documents, but the Page tool lets me set any reference point.
So that‘s helpful in a case like this where I’m resizing to a smaller 5 x 7" and I want the left pages to be anchored to the upper left and the right pages to be anchored to the upper right. I can choose to resize either document pages or the Parent spreads:
... View more
Oct 21, 2024
02:15 PM
The github files come from the discontinued Pantone Color Manager, so it’s unlikely anyone will be posting updated .acb files.
... View more
Oct 21, 2024
01:36 PM
The github .acb files have considerably more colors than the .acb files that shipped with CS6. There are probably new colors not included in the .acbs, but if that is important then the only option will be Pantone Connect. Are your students really paying to have Spot Color separations printed on an offset press?
... View more
Oct 21, 2024
01:17 PM
Hi @Roger Breton , You should be able to change the size of any existing Parent or regular page with the Pages tool:
Create a new Parent spread based on the A parent with new dimensions
Select the Pages Tool, and with the B-Parent active in the Pages Panel, Transform its Height
The edited B-Parent applied to Pages 2-3:
... View more
Oct 21, 2024
12:58 PM
1 Upvote
Hi @Roger Breton , InDesign no longer installs Pantone .acb files when you upgrade, but you can still do it manually. If the .acb files exist in Applications ▸ Adobe InDesign 202X ▸ Presets ▸ Swatch Libraries, I would not expect any kind of alert when opening a document referencing Pantone .acb colors. You can download .acb files from the link below or subscribe to Pantone Connect.
https://github.com/Autocrit/Pantone-color-libraries
... View more
Oct 21, 2024
12:18 PM
Can‘t you set your Style‘s Export Tagging Tag to L with Bullets and Numbering set to None and a positive First Line Indent?
... View more
Oct 21, 2024
12:00 PM
1 Upvote
Hi @dublove , I get your error if the font is missing, also any fonts activated from Adobe Fonts do not have an accessible location, so they will not copy.
You could catch a missing font and display an alert, but this would not handle Adobe Type fonts, which can not be packaged or copied:
//获取当前文档(Get the current document)
var doc = app.activeDocument;
//获取字体列表(Get the list of fonts)
var fonts = doc.fonts.everyItem().name;
//创建数组(Creating Arrays)
var fontFiles = [];
//循环字体并添加到数组中(Loop through the fonts and add to the array)
for (var i = 0; i < fonts.length; i++) {
var font = fonts[i];
try {
var fontFile = File(doc.fonts.itemByName(font).location);
if (arrayContains(fontFiles, fontFile) == false) {
fontFiles.push(fontFile);
}
}catch(e) {
alert("The Font " + doc.fonts.itemByName(font).name +" is not available")
}
}
//创建打包文件夹(Creating a Packaging Folder)
var packageFolder = Folder(doc.filePath + "/Package");
if (!packageFolder.exists) {
packageFolder.create();
}
//将字体复制到打包文件夹(Copy the fonts to the packaging folder)
for (var i = 0; i < fontFiles.length; i++) {
var fontFile = fontFiles[i];
var newFile = File(packageFolder.fsName + "/" + fontFile.name);
fontFile.copy(newFile);
}
//打开打包文件夹(Open the packing folder)
packageFolder.execute();
function arrayContains(arr, item) {
for (var i = 0; i < arr.length; i++) {
if (arr[i].toString() == item.toString()) {
return true;
}
}
return false;
}
... View more
Oct 21, 2024
11:38 AM
I need to use a paragraph style to make sure the PDF export is tagged properly
Sorry if I’m missing something, but you can make a Paragraph Style with any kind of Indent and should be able to edit the Export Tagging for that style:
... View more
Oct 21, 2024
11:23 AM
Also, are any of the colors in your capture Spot Colors? Make sure all of the color is process.
... View more
Oct 21, 2024
06:30 AM
When you import psd files with different layer visibilities or settings
Hi @Willi Adelberger , The .PSD file in @Leonidasss ’s sample only has 1 layer, so I don’t think whatever is going on relates to Layer Option settings.
... View more
Oct 21, 2024
06:17 AM
Also, If this is a font issue, I’ve found that allowing Auto Activation with Adobe Fonts can cause problems—I always manually active from fonts.adobe.com. There is still a lag for the install depending on the internet connection, but it seems to be faster and more reliable:
... View more
Oct 21, 2024
06:05 AM
1 Upvote
Hi @Leonidasss , I didn’t have any problem exporting to the default PDF/X-4 preset—took about 10secs..
One thing to check is the font usage. Your doc is using 14 Adobe Type fonts and when I first tried the export, your fonts were not activated on my system and there was a long lag as the Adobe Type fonts were downloaded and installed on my system. Before you try an Export check Find/Replace Font and make sure none of the Adobe fonts are missing and need to be activated:
Make sure your Export Background Task does not include font activation:
... View more
Oct 21, 2024
05:29 AM
Hi @Jessica29882442d4g2 , Is the color mode of your TIFF RGB? When you turn on Overprint/Separation Preview RGB colors that are out-of-gamut to your document’s assigned CMYK profile are displayed as they ar expected to print:
... View more
Oct 20, 2024
11:22 AM
With this info it must be possible to create a smaller document that triggers the bug.
Can you do that and share the file?
... View more