rob day
Community Expert
rob day
Community Expert
Activity
4 hours ago
What's the "ratio.png" image - do I need this file? The code work without the actual png.
It’s a 1px x 1px transparent .png, which helps with the full screen fit, if that’s what you are looking for. The path of the ratio.png is to a folder named images in the same folder as the HTML file.
... View more
5 hours ago
All text is 100% black. No swatches needed.
Even if you don’t use Swatches "Black" can be defined as any color mode—CMYK, RGB, Lab, HSB—in the Color panel’s flyout menu. On an Export to PDF the exported values could also be anything depending on the Export>Ouput panel’s settings:
Left fill:
Right fill :
... View more
6 hours ago
The arrgument for working with RGB colors is the final CMYK space might not be known. Will it be Coated FOGRA 39 or US Sheetfed—those two CMYK profiles produce very different CMYK conversions and CMYK appearances. If you turn on Overprint Preview RGB colors will preview in the document’s CMYK space without accurately making the conversion (CMYK conversions to the wrong space are destructive).
... View more
7 hours ago
Sorry wrong address, try this:
https://community.adobe.com/t5/indesign-discussions/publish-online-needs-much-improvement/td-p/13111335
... View more
7 hours ago
Hi @FlyingSaucy , See my iframe code example here:
https://indd.adobe.com/view/cff4e8c0-be49-45db-8069-f6fc466d9ce9
... View more
7 hours ago
You have to watch out for the default [Black] Swatch which is not etitable. If the job is going to an offset press and the Intent is not set to Print, there is the rick of Black text outputting as 4-color and the associated registration problems.
... View more
8 hours ago
Hi @hare-in-moon , The initial fill color is sticky, so if you want to set the default fiil to a CMYK color or Swatch, set the Color panel with nothing selected. InDesign documents set to either Intent can contain a mix of color spaces, CMYK, RGB, Lab, or HSB
Thus would set the default file color to my CMYK Swatch named Gray70
... View more
May 15, 2025
1 Upvote
Hi @hector_2413, Not sure if this helps, here’s your dialog using the dialogColumns class—the results get passed to the main() function:
var f, t, z, p, pre, ic, fn;
makeDialog();
function makeDialog(){
var theDialog = app.dialogs.add({name:"Enter a Number", canCancel:true});
with(theDialog.dialogColumns.add()){
staticTexts.add({staticLabel:"From:"});
staticTexts.add({staticLabel:"To:"});
staticTexts.add({staticLabel:"Leading Zeros:"});
staticTexts.add({staticLabel:"Prefix (e.g., https://www.xymo.co/p/078873-05|050725|):"});
staticTexts.add({staticLabel:"Prefix Font Size (pt):"});
staticTexts.add({staticLabel:"CSV File Name (no extension):"});
}
with(theDialog.dialogColumns.add()){
f = realEditboxes.add({editValue:1, maximumValue:1000, minimumValue:1, minWidth:100});
t = realEditboxes.add({editValue:1000, maximumValue:5000, minimumValue:0, minWidth:100});
z = realEditboxes.add({editValue:4, maximumValue:5, minimumValue:1, minWidth:100});
pre = textEditboxes.add({editContents:"", minWidth:150});
ic = integerComboboxes.add({stringList:["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], editValue:10, maximumValue:100, minimumValue:0, smallNudge:1, largeNudge:10, minWidth:100});
fn = textEditboxes.add({editContents:"qr_codes", minWidth:150});
}
if(theDialog.show() == true){
f = f.editValue;
t = t.editValue;
z = z.editValue;
pre = pre.editContents;
ic = ic.editValue;
fn = fn.editContents;
main()
}else{
theDialog.destroy();
}
}
/**
* Script to run.
* @ return void
*/
function main(){
alert("Results\rFrom: " + f + "\rTo: "+ t+ "\rZeros: "+ z + "\rPrefix: "+ pre+ "\rFont Size: "+ ic+ "\rFile Name: "+ fn);
//script code here
}
... View more
‎May 15, 2025
10:36 AM
They have the same name, but I can see it in the info-panel for Find and replace fonts
Hi @erik_8475 , Can you show a screen capture showing the Path of the problem font in Find/Change Font? Something like this:
and in the Creatove Cloud desktop app preferences disabled Adobe Fonts entirely.
Also, just to be clear, you turned off Adobe Fonts in the Cloud app’s Preferences>Services>Adobe Fonts?
... View more
‎May 15, 2025
08:02 AM
1 Upvote
this Script I made for creating .csv files froms Indesign
Hi @hector_2413 , Generally I use InDesign’s built in dialog class for simple dialogs like yours, so I can’t help with your code. See the API Dialog, DialogColumn classes.
I also get the error using CC2021.
For building ScriptUI class dialogs I use this great online dialog builder:
https://scriptui.joonas.me/
... View more
‎May 14, 2025
02:56 PM
Hi @kdwpilgrim1 , Make sure you are not including any marks—all the Marks and Bleeds boxes are unchecked. Also InDesign lets you mix different size pages, make sure they are all the same size—use the Pages Tool to check a page’s dimensions.
... View more
‎May 13, 2025
01:21 PM
Maybe duplicate copies?
... View more
‎May 13, 2025
12:48 PM
Hi @davecourtemanche , Looks like you have the text frame selected, do the Paragraph Border setting act and look the same if you select the text:
... View more
‎May 13, 2025
12:00 PM
2 Upvotes
still not having luck with any of the CMYK colors from the linked file appearing in my swatches panel.
Only Spot Colors from a Placed .AI file would get added to InDesign’s Swatches panel.
If you setup your Preferences correctly, process Swatches will get added on a cut and paste from simple Illustrater files:
AI
ID
... View more
‎May 13, 2025
11:05 AM
I have seen documents get their profiles stripped by the forum. But you did set up the document to Ignore Linked CMYK Profiles, so any CMYK file you place will have its profile ignored and use the InDesign document's CMYK profile instead.
InDesign has the Preserve Numbers (Ignore Linked Profiles) as a CMYK policy option because often converting CMYK numbers will cause more problems than it solves (i.e. 0|0|0|100 black coverts to a 4-color black)
... View more
‎May 13, 2025
10:42 AM
When I am placing .ai files into my InDesign document, there is no ICC profile shown
Hi @kristen_8672 , Color Settings are your color prefs for future documents you create — they don’t necessarily color manage existing documents. To check a document’s color management settings use Edit>Assign Profiles...
If I check the ID file you shared, it has no assigned profiles.
Also, your Color Settings capture is showing the CMYK CM Policy is set to Preserve Numbers (Ignore Linked Profiles), so any placed CMYK file will have no profile assigned.
... View more
‎May 13, 2025
08:54 AM
Not sure I’m understanding your code, but it doesn’t look like you are using the built-in ExtendScript F&C properties and methods—is there a reason for that?
A simple text search example:
//the Find/Change result as an array
var res = getTextSearch("hello")
//loop the returned array
for (var i = 0; i < res.length; i++){
$.writeln(res[i].contents)
};
/**
* Gets results of a text search as an array
* @ param text to search for
* @ return result array
*/
function getTextSearch(fp){
app.findTextPreferences = app.changeTextPreferences = app.findChangeTextOptions = null;
app.findChangeTextOptions.properties = {includeHiddenLayers:true,
includeLockedLayersForFind:true,
includeLockedStoriesForFind:true,
includeMasterPages:true}
app.findTextPreferences.findWhat = fp;
return app.activeDocument.findText()
}
... View more
‎May 13, 2025
06:21 AM
1 Upvote
Hi @Marshall_Brooks , Can you show an example your find and change code?
... View more
‎May 13, 2025
04:28 AM
Hi @sheenam65288813 , Did you try deleting Caches and Preferences on the problem computer? See @Mike Witherell ’s link
... View more
‎May 12, 2025
09:05 AM
I don’t think you can avoid the loop. This doesn’t throw an error, but the returned textFrame object has no properties:
var ver = app.activeDocument.textFrames.item("version")
$.writeln(ver) //returns [object TextFrame] but with no properties
... View more
‎May 12, 2025
06:22 AM
Hi Mike, I might be misreading @Stan Buls question, but I think he is expecting Substituted Glyhs to flag substituted fonts.
...that's the thing why it bothers me – I want to be able to see when something in a particular font gets substituted
Find/Replace Fonts lets you search for unwanted font substitutions.
... View more
‎May 11, 2025
12:59 PM
I want to be able to see when something in a particular font gets substituted.
Hi @Stan Buls , In case it isn’t clear, when Substituted Glyphs is turned on, it is not highlighting a font substitution, but an alternate glyph that is included with the font.
This text is all set in Vista Sans Book 10 pt and substituted glyphs from the same font (but which might affect the setting) get highlighted. Glyphs like fl, fi, ligatures; the real 1/2 fraction glyph; alternate Q; and hyphens added via H&J settings—note the keyed in hyphen is not highlighted:
If I turn off Hyphenate, the substituted glyphs are still highlighted and the keyed in hyphen is not:
... View more
‎May 10, 2025
02:39 PM
Hi @alister_6473 , If the font is Type 1 there are font conversion utilities that can convert Type 1 to Open Type. This might help:
https://community.adobe.com/t5/indesign-discussions/ende-der-unterst%C3%BCtzung-f%C3%BCr-ps-type-1-fonts/td-p/11874314
... View more
‎May 09, 2025
01:20 PM
Maybe do your own search there?
Adobe’s documentation:
https://helpx.adobe.com/indesign/using/cross-references.html
... View more
‎May 09, 2025
12:17 PM
Hi @WCMProduction , As @Robert at ID-Tasker suggests I thnk you will have to loop through the textFrames—.getElements() converts the Collection into an Array.
var ver = app.activeDocument.textFrames.everyItem().getElements();
for (var i = 0; i < ver.length; i++){
ver[i].nonprinting = true;
};
... View more
‎May 09, 2025
11:21 AM
I might be missing something, but it seems like you are trying to create a cross reference—Window>Type&Tables>Cross-References?
https://www.youtube.com/watch?v=LUeL7TR9oP4
... View more
‎May 09, 2025
09:27 AM
The CropMarks script that ships with InDesign works on any page:
... View more
‎May 09, 2025
09:23 AM
Right, it breaks on any other page:
... View more
‎May 09, 2025
08:54 AM
Hi @dublove , Looks like the script fails when the selection is on a Parent page—or any page other than page 1?
... View more
‎May 09, 2025
08:35 AM
1 Upvote
Hi @dublove , I think it is worth noting that an anchored object is treated as a single text character whether it is an image, group, or a text frame with multiple characters.
If I count the characters in this selected text frame via scripting the result is 2 not 1:
var sel = app.activeDocument.selection[0].characters.length;
alert("Selected Text Fame has " + sel + " Characters.")
The Anchored Object Options gives you extra obtions for moving the achored character relative to its parent story and text frame container, but it is not an independant page item—it is subject to the rules of the text frame’s text.
... View more