brian_p_dts
Community Expert
brian_p_dts
Community Expert
Activity
‎Mar 06, 2025
02:35 PM
1 Upvote
Have you test that the shell script works in terminal with dummy inputData, which I assume is the only thing applicable to inDesign?
... View more
‎Mar 05, 2025
08:10 AM
1 Upvote
For issue 1, set vertical alignment of the text frame to centered. Set it in an object style, which can solve the second issue.
... View more
‎Mar 04, 2025
12:14 PM
Assuming your book is active, this will close them. Can be reversed engineered to open them too.
try {
var b = app.activeBook;
} catch(e) { exit(); }
var bcs = b.bookContents;
var i = bcs.length;
while(i--) {
try { bcs[i].close(SaveOptions.YES); } catch(e) {}
}
... View more
‎Feb 28, 2025
11:32 AM
1 Upvote
Maybe disable alerts:
app.scriptPreferences.userInteractionLevel = UserInteractionLevel.NEVER_INTERACT;
... View more
‎Feb 27, 2025
08:39 AM
Change X Relative to Anchor Marker. Edit: Oops nevermind, misunderstood the issue. I'd look into @FRIdNGE's solution.
... View more
‎Feb 27, 2025
12:03 AM
They are offsetting a graphic.
... View more
‎Feb 26, 2025
06:15 PM
2 Upvotes
CC libraries no, local libraries yes through Extendscript.
... View more
‎Feb 26, 2025
10:14 AM
1 Upvote
Using Custom anchor settings (Not inline or above), you can set the anchor to the anchor insertion point and set a negative x offset to achieve the effect you want.
... View more
‎Feb 24, 2025
12:50 AM
Think they are talking about the image catalog script.
... View more
‎Feb 20, 2025
02:33 PM
Did you try my solution?
... View more
‎Feb 19, 2025
06:17 PM
2 Upvotes
Pretty sure this line:
var mergedDoc = dataMerge.mergeRecords()
Needs to be:
dataMerge.dataMerge.mergeRecords()
Chatgpt ain't too bright sometimes
... View more
‎Feb 19, 2025
04:42 PM
1 Upvote
Can you show your script?
... View more
‎Jan 13, 2025
10:20 PM
Not following. Can you explain why Fit Content Proportionally or Fill Frame Proportionally do not work in your use case?
... View more
‎Jan 13, 2025
02:12 PM
1 Upvote
You could theoretically export your spreadsheet in the right format to work with Gryperlinker: https://rorohiko.com/wordpress/use-indesign-find-and-replace-to-assign-hyperlinks-to-text/
Otherwise, it's perfectly scriptable but not quite trivial. Have done it before for other clients. A lot hinges on how the doc is set up.
... View more
‎Jan 13, 2025
09:56 AM
No error messages? And no file called hyperExporter.txt on your desktop?
... View more
‎Jan 10, 2025
05:21 PM
It should. Are you sure you saved it correctly?
https://creativepro.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-or-blog-post/
... View more
‎Dec 27, 2024
12:09 AM
1 Upvote
Can you just stick to one post/thread instead of creating several new posts around the same issue? It is difficult for us to track and manage.
... View more
‎Dec 25, 2024
12:36 PM
Helps to see the context within the code you are working. You could, for instance, start at myTable.rows.item(2)
The Row DOM object also has the property .rowType that points to a set of fixed types. So you can check:
if (myRow.rowType != RowTypes.HEADER_ROW) {
//do something
}
... View more
‎Dec 24, 2024
10:54 AM
Note that you only have to escape them in script. In the find change panel it would still be \d, etc.
... View more
‎Dec 23, 2024
04:52 PM
2 Upvotes
You need to escape the backslashes, ie \\d
... View more
‎Dec 23, 2024
11:04 AM
1 Upvote
You need to escape backslashes in your strings with a second backslash, ie. \\n
Edit: I'm wrong as Peter notes
... View more
‎Dec 22, 2024
10:22 AM
You should paste the script you've tried so we can potentially help you debug. Be specific about what doesn't work. No one is likely to rewrite it from scratch for free.
... View more
‎Dec 17, 2024
04:12 PM
2 Upvotes
No. CC libraries are not accessible via Extendscript API. Maybe UXP?
... View more
‎Dec 12, 2024
08:30 AM
No way to access CC libraries via script, but local libraries yes. But, this sounds like it can be resolved with effective use of Workspace. I put mine on the last flyout panel on the right side of my screen just after my paste board work area.
... View more
‎Dec 10, 2024
07:38 AM
Reapply or clear overrides on paragraph style after resizing.
... View more
‎Dec 05, 2024
07:07 PM
An excellent point and one that was in the back of my mind haha. I don't believe our friend finds that suitable enough, however.
... View more
‎Dec 05, 2024
04:03 PM
I'm done debating the point. Who says OP didn't grab Robert's code, fix the issue (which it does), meet their deadline, and move on to the next task. Also think OP has spent time learning to script and is still learning, rather than using ChatGPT. And it's a valuable skill to have, and we are happy to help them along their journey.
Meanwhile, elitists occasionally enter this niche section of the forums and harp about the "right" way to do things, without any scripting knowledge. I have no clue why your response was marked correct; as OP stated it was unhelpful, which it is. Neither was continuing this longwinded parley with me, but here we are.
Just to be clear, I'm not being negative or dismissive here. Take care.
... View more
‎Dec 05, 2024
02:57 PM
Get back to me when you've worked election night with 12 remote newspaper sites and 7 remote production facilities with similar deadlines and reporters filing garbagely styled stories from the field.
... View more
‎Dec 05, 2024
12:35 PM
1 Upvote
An excuse to cut corners is, as @Rogerio5C09 stated, a very tight deadline. Having spent a decade in newspaper production, I know exactly when hacks are necessary., and scripts are an excellent way to execute them.
... View more
‎Dec 05, 2024
12:26 PM
1 Upvote
Wasting time hacking it manually is way worse than two lines of code to hack it in seconds.
... View more