
Stefan Rakete
Engaged
Stefan Rakete
Engaged
Activity
‎Feb 28, 2025
06:36 AM
Hi Roci, this is a perfect task for Illustrator scripting. In a similar project we decided to process the files in chuncks of 100 because the performace of Illustrator was regressing.
... View more
‎Feb 28, 2025
06:32 AM
As far as I know CEP works with Apple Silicon in Illustrator
... View more
‎Feb 28, 2025
06:26 AM
2 Upvotes
Only items on the artboard are part of the selection DOM. You could read all the layers of the document and populate a dialog with these items. Then you could select one or more layers of the list and apply your rules.
... View more
‎Jan 21, 2025
05:42 AM
or ps.numberingStyle ?
... View more
‎Dec 16, 2024
02:46 AM
I have got a version 19.5.1 on my machine
... View more
‎Dec 13, 2024
06:29 AM
First thing to do is check the manifest.xml of the extension folder and check if your InDesign version is in the scope of the Hostlist: <Host Name="IDSN" Version="[17.0,99.9]"/>
... View more
‎Dec 02, 2024
07:28 AM
tell application „Adobe InDesign 2025“
set currentDoc to active document
repeat with currentPage in pages of currentDoc
repeat with currentGraphic in (all graphics of currentPage)
if (class of currentGraphic is image) then
set theLink to (item link of currentGraphic)
if (theLink is missing value) or (status of theLink is link missing) then
set parentFrame to (parent of currentGraphic)
delete currentGraphic
delete parentFrame
end if
end if
end repeat
end repeat
end tell
... View more
‎Nov 29, 2024
09:25 AM
Ich nutze the font "3 of 9 BarCode". Funktioniert einwandfrei
... View more
‎Nov 29, 2024
09:18 AM
To show the number of HyperLinks and HyperLinkSources: var curDoc = app.activeDocument;
var countHyperlinkTextDestinations = curDoc.hyperlinkTextDestinations.length;
var countHyperlinkTextSources = curDoc.hyperlinkTextSources.length;
alert(„Report Hyperlinks“ + „\r“ + „\r“ +
„TextHyperlinkDestinations: „ + countHyperlinkTextDestinations + „\r“ +
„TextHyperlinkSources: „ + countHyperlinkTextSources ); If that is what you want to remove then use this script to remove: var curDoc = app.activeDocument;
var countHyperlinkTextDestinations = curDoc.hyperlinkTextDestinations.length;
var countHyperlinkTextSources = curDoc.hyperlinkTextSources.length;
curDoc.hyperlinkTextDestinations.everyItem().remove();
curDoc.hyperlinkTextSources.everyItem().remove();
alert(„RemoveHyperlinks“ + „\r“ +
„Removed „ + countHyperlinkTextDestinations + „ TextHyperlinkDestinations\r“ +
„Removed „ + countHyperlinkTextSources + „ TextHyperlinkSources\r“ );
​
... View more
‎Jul 23, 2024
01:25 AM
When you do a GREP Search there is an option to markup the found text with an XML Tag. It can be found under Replace Style. Hope this helps
... View more
‎Jul 05, 2024
01:46 AM
text {find what:"I am"} {change to:"I'm"} works for me. Make sure that there is a tabulator between items of a line in the FindChangeList.txt. I always copy a line FindChangeList.txt and modify it.
... View more
‎Jul 05, 2024
01:19 AM
Yes, AI is crashing. Thanks for the workaround. Anything I can do about memory management within the script itself to avoid the crash? Thanks
... View more
‎Jul 03, 2024
02:34 AM
Hi, a batch script that I created for Illustrator will break after about 100 documents that have been processed. I am closing every document after processing and everything works fine if I process less than 100 documents at a time. What can cause this Illustrator behaviour and how can I avoid this? I am on an Mac M1 using OS Ventura and Illustrator version 28.5
... View more
‎Jun 13, 2024
12:39 AM
Hi @Elizabeth27148842zcxt the os check does not return true or false for me. I replaced this line return $.os.match(/Macintosh/i); in function isOSX with var pattern = new RegExp("Macintosh", i); return pattern.test($.os); And the script is now asking for the CSV file
... View more
‎Jun 11, 2024
08:18 AM
Hi @GerssonDelgado the script itself with the includes works fine. Only that VS Code does not jump to the breakpoints within the includes. For InDesign 2024 the same script works fine. It must be something within Illustrator 28.5 that breaks.
... View more
‎Jun 11, 2024
07:16 AM
I have created a script for Illustrator with a lot of included jsx files. Breakpoints ( $.bp() ) had worked fine inside these includes until a few days ago. The script stops if there is a breakpoint, but Visual Studio will not jump to the breakpoint. Very strange. I have tried so far: - reinstalled VS Code (Intel) for the Apple M1 machine with Ventura after cleaning with AppCleaner - reinstalled Illustrator (28.5) - reinstalled the ExtendScript extension and tried various settings All without success. The machine I am using is managed by client management, so there might have been a VS Code or security update which broke my settings. Any ideas or help is appreciated. Not much fun to work in a single JSX Thank you in advance
... View more
‎Jun 06, 2024
05:12 AM
Merci for you script. It is very helpful to identify Illustrator documents with missing or wrong fonts. I would like to understand why the docRef needs to be closed and then opened again to get the correct result.
... View more
‎Apr 22, 2024
04:42 AM
Have you seen this discussion: https://community.adobe.com/t5/indesign-discussions/grep-find-paragraph-after-a-specific-paragraph-style/m-p/14407201#M560845
... View more
‎Apr 08, 2024
04:40 AM
1 Upvote
Hi, never used the argument for parameters in the doScript. You can do instead: app.scriptArgs.setValue("key1", Value); app.doScript(script); and in "script" get the value app.scriptArgs.get("key1); Hope this helps
... View more
‎Apr 03, 2024
07:05 AM
1 Upvote
There is no way to access the InDesign generated QR Code by scripting. There is a cumbersome way to export the QR Code as snippet and then find the URL in the XML and modify it by script.
... View more
‎Feb 14, 2024
03:34 AM
1 Upvote
Tried with InDesign 2024 on M1, Mac: Works as expected
... View more
‎Jan 26, 2024
02:05 AM
I have a bloated indesign document with the photoshop history / photoshop DocumentAncestors of a file, that is not even linked with the document anymore. I cannot use the script solution. Remove from IDML the only way to get rid of it? Removing all pageItems from the document does not solve the issue
... View more
‎Jan 12, 2024
04:29 AM
1 Upvote
Buongiorno, raccomando usare lo script "batch convert". Lo trovi qui: https://creativepro.com/files/kahrel/indesign/batch_convert.html
... View more
‎Jan 10, 2024
05:44 AM
Is your computer managed by an IT department? Could be that some antivirus application deactivates the jsx files? Just a wild guess
... View more
‎Dec 23, 2022
04:30 AM
1 Upvote
It is not possible to remove the WoodWing sticky notes by scripting. What you could do instead is deactivate both the sticky note anchor (blue) and the note itself with the menu command View > Deactivate Sticky Notes.
... View more
‎Apr 29, 2020
12:07 AM
If your text is too long and nonbreakting think about inserting a zero width nonjoiner. With a script this character is named: SpecialCharacters.ZERO_WIDTH_NONJOINER
... View more
‎Apr 08, 2020
12:51 AM
#targetengine "session"
main();
function main()
{
mySetup();
mySnippet();
myTeardown();
}
function mySetup()
{
}
function mySnippet()
{
//<fragment>
var myIdleTask = app.idleTasks.add({name:"my_idle_task", sleep:10000});
var onIdleEventListener = myIdleTask.addEventListener("onIdle", onIdleEventHandler, false);
alert("Created idle task " + myIdleTask.name + "; added event listener on " + onIdleEventListener.eventType);
//<fragment>
}
function myTeardown() {
}
//<fragment>
function onIdleEventHandler(myIdleEvent) {
var curLabel = "VISIBILITY";
var curTextFrame = getPageitemFromLabel(curLabel);
if ( curTextFrame != null && curTextFrame.isValid ) {
var curContent = curTextFrame.contents;
if (curContent == "false") {
app.activeDocument.layers.itemByName("Ebene 2").visible = false;
} else {
app.activeDocument.layers.itemByName("Ebene 2").visible = true;
}
return;
}
//Delete idle task by setting its sleep time to zero.
myIdleEvent.parent.sleep = 0;
alert("Nothing to do. Delete idle task.");
}
//<fragment>
// holt die entsprechenden Items von der Musterseite
function getPageitemFromLabel (curLabel) {
var pageItemWithLabel = null;
if (curLabel != null && curLabel != "" && app.documents.length > 0) {
var allPageItems = app.activeDocument.pageItems;
for (var i=0; i<allPageItems.length;i++) {
var curPageItem = allPageItems[i];
var parentName = curPageItem.parent.constructor.name;
if (curPageItem.label == curLabel && (parentName == "Page" || parentName == "Spread" )) {
pageItemWithLabel = curPageItem;
break;
}
}
}
return pageItemWithLabel;
}
... View more
‎Mar 04, 2020
01:25 AM
1 Upvote
Für so etwas benötigst du Smart Styles von Woodwing: https://www.woodwing.com/en/smart-styles-adobe-indesign-plugin
... View more
‎Feb 21, 2020
07:14 AM
Have a look into JavaScript for Acrobat. Yes, you can do it.
... View more