Phil5C41
Explorer
Phil5C41
Explorer
Activity
Feb 27, 2025
03:26 AM
1 Upvote
Thank you, @Peter Kahrel and thanks also to you @m1b, this works well and yes, I had thought about the issue around style names eg 'MONTH1', but hadn't put a fix for that, so what you have supplied is great. Many thanks!!
... View more
Feb 26, 2025
12:01 PM
Thanks, Peter, they are not in Style Groups, just separate styles. I get the same result, the script seems to run as I get the confirmation alert, but on looking at the Tags, they're all still set to '[Automatic]'.
... View more
Feb 26, 2025
08:27 AM
Hi, I'm working on a load of files, aligning them to be accessible PDFs, and so trying to automate some of the small, repetitive tasks. I'm after an InDesign script that can automate the tagging (for PDF) of paragraph styles (within 'Edit all export tags') based on a keyword (eg 'H1', 'H2' etc.) in the style name. Can anyone shed any light on this, or is it even possible? This is as far as I got, but it doesn't apply the tags: var doc = app.activeDocument;
var styles = doc.paragraphStyles;
// Define keyword-to-tag mappings (uppercase)
var tagMappings = {
"H1": "H1",
"H2": "H2",
"H3": "H3",
"H4": "H4",
"H5": "H5",
"H6": "H6",
"P": "P"
};
// Loop through all paragraph styles
for (var i = 0; i < styles.length; i++) {
var style = styles[i];
var styleName = style.name; // Keep original case (uppercase)
// Check if the style name contains a keyword
for (var key in tagMappings) {
if (styleName.indexOf(key) !== -1) { // Match uppercase names
var tagName = tagMappings[key];
// Apply the export tag for PDF export
try {
style.exportTag = tagName; // Set PDF export tag (corrected)
$.writeln("Mapped: " + style.name + " → <" + tagName + "> for PDF export");
} catch (e) {
$.writeln("Error setting export tag for style " + style.name + ": " + e.message);
}
break; // Exit loop once a match is found
}
}
}
alert("Paragraph styles tagged with PDF export tags successfully!");
... View more
Feb 07, 2025
03:54 AM
A workaround: Toggle the GPU prefs, hit Ok, (this should resolve it), then toggle back.
... View more
Jan 24, 2025
10:53 AM
Shouldn't be though, right? Or at least much larger than what I had!? And fairly sure I've not run into this issue before. InD would have been preferred but limited to size... can't win 🤔🙂
... View more
Jan 24, 2025
09:40 AM
Yeah, I should've updated the issue/thread, but it wasn't a fix to the problem. I could get the images to show and work ok when at 145dpi, which was sufficient on this occasion.
... View more
Jan 24, 2025
08:20 AM
Hi @Anubhav M, Here's a link with the following included: 1. screen recording 2. sample ai 3. sample psb 4. sample tiff Note: You'll also get an image error when opening up the ai file, this always mirrors the empty box issue. If you get to this too late, let me know your email address. If you want a system report (Mac), please let me know your email, or if you have mine, email to request. Thanks, Phil
... View more
Jan 16, 2025
01:30 AM
1 Upvote
Hi @JesLeaMac @defaultovpgm6w21r7j - Did you ever manage to resolve the main issue without the work around? Or anyone else manage to find out why? I'm producing large outdoor artwork and my images need to be 300dpi at the final size, resulting in images being 4-7Gb, so psb and tiff is the only option, I can only use illustrator to build the artwork too as InDesign is limited in dimensions. Printers have stated they won't accept 1/4 or 10th. I can't risk slicing the images into smaller images and piecing back together. One thing I tried is dragging the psb directly onto Illustrator, which opens a new doc with that image in, I can then copy/paste this over, but still unsure if it's ok as the link name excludes the .psb extension. update: slimmed the photoshop file down and sized to 30000pxwide (less high), managed to save as psd at around 700mb and still get an empty box in illustrator!
... View more
Nov 24, 2023
05:19 AM
Thanks, no screengrabs, but hopefully, my post is self-explanatory, here.
... View more
Nov 24, 2023
02:26 AM
@RedTempest– What @Stephen_A_Marsh said would be so helpful!!
... View more
Nov 24, 2023
02:26 AM
@RedTempest– What @Stephen Marsh said would be so helpful!!
... View more
Nov 24, 2023
02:13 AM
2 Upvotes
Hi, I'm working on digital advertising files produced using Photoshop and there are a lot, so we're using data merge for the content, however, when we switch the text (multilingual), it busts (oversets) the existing text boxes. As there is no way to see where the text is busting (oversetting) we're looking for a way to help, so either: A PS plugin to highlight overset text box elements, or; A script to expand the text box to the content I'm aware this is all possible within InDesign, but this isn't a consideration at this stage. Similar thread. Any help or suggestions would be greatly appreciated, thanks!
... View more
May 22, 2023
03:39 AM
Here you go, @Kurt Gold (link will expire). All I'm after is a way to have 'Isolate Selected Object' within an action (which I have set as a keyboard shortcut).
... View more
May 21, 2023
01:36 PM
Hi @Kurt Gold – Thanks for your reply. I'm needing to work on an isolated group (1 group per artboard) so I can use a plugin called Select Menu (by Graffix) that locates non-styled objects with varying settings allowing me to check individual objects to see if they require some styling then work on them individually. Thanks @m1b – In my main action I am stepping/incrementing to another artboard, selecting the contents of the artboard, and grouping – This is when I need the isolation. I can record this, but it doesn't show in the action step list.
... View more
May 19, 2023
03:28 AM
Completely agree, Jacob. However, the process was not put in place through a different department. Thanks for you help
... View more
May 19, 2023
02:50 AM
Hi, In Illustrator, I needed to utilize the 'Enter Isolation Mode' menu item within an action (located (on selection) in the layers flyout and the contextual menus). As this isn't possible, I have applied a keyboard shortcut to the 'Enter Isolation Mode', however, I can't see that it's possible to run this within an action. Does anyone know how this can be achieved? Maybe a script that allows for this? Thanks, Phil
... View more
May 19, 2023
02:39 AM
Hi Jacob, It seems there was an issue with the select menu plugin first mentioned, this has been fixed in an unreleased beta version. It means a user is able to select: Basic Art Attributes > Unstyled Art – Which now correctly selects all objects without an effect. This will now allow me to apply the effect to the objects that don't have this applied (not great for objects that already had the effect and are now expanded though!)
... View more
May 18, 2023
05:54 AM
It has the option for selecting 'Unstyled art', hoping this will be what I'm after
... View more
May 18, 2023
05:31 AM
It appears to have extended selection options, however, I'm speaking with the supplier as to why I can't seem to get it to work as expected. I'll update here once I make progress 🙂
... View more
May 16, 2023
07:32 AM
Thanks, @Monika Gause, I was hoping for a speedier way to carry out that, as each element only selects a very small amount of similar 'appearance' objects, due possibly to the appearance roughen settings, perhaps? When I have the final items selected, they need a different rough effect being applied, however, these settings will vary.
... View more
May 16, 2023
06:58 AM
Hi, I have 100's of artboards in multiple documents, each artboard has complex illustrations made up of many elements all with varying colours of fill and stroke and each element requires a different 'roughen' effect being applied. I'm trying to locate (and/or select) all elements that do not have this roughen affect applied, but how? I have tried select same appearance, but due to the varying fills/strokes this isn't possible. Thanks in advance!
... View more
Mar 06, 2023
01:09 PM
1 Upvote
Amazing, thank you @femkeblanco 🙌🏼
... View more
Mar 02, 2023
01:25 AM
I've kind of managed to put this together using some smaller scripts and actions within a single action. The only thing I'm unable to figure out is how to repeat the action across the number of artboards. Is there a couter scrtipt out there, I've looked but can't find one?
... View more
Jan 31, 2023
08:25 AM
Hi, I've seen a script to help with portions of this, here. However, I was wondering if there's a script to work through all artboards and: 1. group artboard contents 2. centre 3. size proportionality (from the middle) to the artboard size (whichever vertically or horizontally) meet the size first Possible? Thanks!
... View more
Nov 14, 2022
08:39 AM
1 Upvote
Perfect, @Charu Rajput - many thanks!! 🙂
... View more
Nov 14, 2022
07:36 AM
I am looking for a script that will rename the layer name <Linked File> with the placed linked filename, please? All at once would be great! I tried this, but doesn't achieve what I'm after. Any help is greatly appreciated. Thanks!
... View more
Aug 01, 2022
03:13 PM
Hi, I used to have a script in Adobe Illustrator that would allow me to input some text to find into a dialogue box on selected artboards and replace the text. I can't find it anywhere, does anyone know where I can find it, please?
... View more
Feb 23, 2021
12:22 AM
15k, yes indeed! That's what I thought when I A company is changing its branding. They are running social campaigns. We use an automation too to run the ads and switch in and out these PNGs based on variable data for the text, which these PNGs sit behind, so depending on how many text characters will depends on where they all fall. So we need to account for all possibilities, all lengths for all locations.
... View more
Feb 22, 2021
01:36 PM
1 Upvote
@Charu Rajput - Works lovely. Thank you very much... Speeds up my 15,000 artboard renaming!
... View more
Feb 22, 2021
07:03 AM
Exactly
... View more