Alo Lohrii
Adobe Employee
Alo Lohrii
Adobe Employee
Activity
‎Feb 05, 2025
02:31 AM
3 Upvotes
A potential fix has been identified and will be available in the upcoming 20.2 release so developers don't have to implement the workaround @Kasun_Bamu pointed out :
InterfacePtr<IIntData> nonHiddenPageNumStart(myCmd, IID_INONHIDDENPAGENUMDATA);
nonHiddenPageNumStart->Set(myStartPageNumber);
... View more
‎Jun 12, 2024
02:31 AM
1 Upvote
This is a known issue, an internal bug #ID-4249675 is under review with InDesign team
... View more
‎Jun 12, 2024
02:31 AM
This is a known issue, an internal bug #ID-4249675 is under review with InDesign team
Similar issue is discussed here as well https://community.adobe.com/t5/indesign-discussions/textframe-quot-anchor-mark-quot-invisible-when-created-by-indesign-server/td-p/14514990
... View more
‎Mar 07, 2024
05:00 AM
1 Upvote
Because you opened a copy of the document(IOpenFileCmdData::kOpenCopy) and not the original(IOpenFileCmdData::kOpenOriginal), opened document is only in memory and not saved yet, hence its returning default document name(Untitled-x) instead of the original document name, which is the expected behaviour. If you need to retrieve the original document name, change the open flags to IOpenFileCmdData::kOpenOriginal
... View more
‎Mar 07, 2024
04:17 AM
Visual Studio version 17.9.3 is not supported hence the compile error, the only supported Visual Studio version is 17.1.6 which can be downloaded here https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-history#fixed-version-bootstrappers
... View more
‎Jan 11, 2024
02:21 AM
1 Upvote
InDesignServer has some administrative features like "ping"(status) and "kill"(terminate instances), useful to check whether IDS is hung or is actually busy processing a job. In order to use these administrative features, you need to specify a mandatory "-adminport" parameters when starting IDS, the other two optional parameters are "-host" and "-heartbeatUpdateInterval".
Say for example you want to monitor the health of your running IDS instances, the parameter "-heatbeatinterval" is used to specify the time interval IDS keep a record of the last activity timestamp, it's an optional parameter as it defaults to 20 seconds
Example :
InDesignServer -port 12345 -adminport 3002 -heartbeatUpdateInterval 5
To perform administrative tasks, create a socket and send a message, either "ping" or "kill"
Example :
import socket
HOST = "localhost" # server's hostname or IP address
ADMINPORT = 3002 # admin port number of the running IDS instance
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.connect((HOST, ADMINPORT))
s.sendall(b"ping")
data = s.recv(1024)
print(f"Last activity timestamp : {data!r}")
Messaged receieved example :
Last activity timestamp : b'2024-01-11 10:27:36'
... View more
‎Oct 13, 2020
03:28 AM
Were you able to narrow down, was it something to do with the fonts or presets? If yes, you might want to fix the problem in your script else the problem will eventually come back as more duplicate fonts or presets starts to build up
... View more
‎Oct 12, 2020
09:40 PM
Run the above script as a start up script then
C:\Program Files\Adobe\Adobe InDesign CC Server 2017\Scripts\startup scripts\IDSLog.jsx
... View more
‎Oct 12, 2020
03:21 AM
I suspect InDesign Server is trying to load a large number of fonts, presets, color profile etc...thus taking time for the SOAP port to be ready for use.
Once you've got an instance running, run a script against it and query for the list of fonts or presets installed and see if they're the source of the startup delay, should be a good starting point to troubleshoot further
var logFilePath = "~Desktop/idslog.txt";
var logFile = File(logFilePath);
if(!logFile.exists)
{
logFile = new File(logFilePath);
}
writeToLog("***PDF Presets***", logFile);
for(i=0; i <app.pdfExportPresets.count(); i++)
{
writeToLog(app.pdfExportPresets[i].name, logFile);
writeToLog(app.pdfExportPresets[i].fullName, logFile);
}
writeToLog("***Fonts***", logFile);
for(i = 0; i < app.fonts.count(); i++)
{
writeToLog(app.fonts[i].fullName, logFile);
}
function writeToLog(logString, theLogFile)
{
theLogFile.writeln(logString);
}
... View more
‎Oct 11, 2020
10:27 PM
1 Upvote
Just tried, was able to download the scripting sdk (scripting_sdk_15.0.0.155.zip) from https://console.adobe.io/downloads
Scripting documentation is under <scripting_sdk>/docs/index.html
If instead you're looking for the scripting api reference, use the link shared by @BarlaeDC
... View more
‎Oct 06, 2020
04:39 AM
2 Upvotes
ITK symbol guide is now part of the SDK documentation, please download the plugin SDK and you'll find the guide at
<SDK>/docs/html/id_adobe_indesign_cc_tool_kit_guide.html
... View more
‎Oct 06, 2020
01:12 AM
When you've managed to login occasionally, please use the "Email Us" button at the bottom left to report the problem to Partner Heldesk with screenshots
... View more
‎Oct 06, 2020
12:51 AM
1 Upvote
ZXPSignCmd is not in the executable format hence permission denied error. Make the file executable using the following command :
chmod 700 ZXPSignCmd-64bit
... View more
‎Sep 22, 2020
12:54 AM
try and find the link resource from the theItem using ILinkUtils::FindLinkResource()
UID resourceUID = Utils<ILinkUtils>()->FindLinkResource(theItem);
InterfacePtr<ILinkResource> linkResource(database, resourceUID, UseDefaultIID());
linkResource->GetShortName(false);
... View more
‎Sep 22, 2020
12:36 AM
Try ILinkResource::GetShortName()
InterfacePtr<const ILinkResource> theLinkResource(documentDB, theLink->GetResource(), UseDefaultIID());
theLinkResource->GetShortName(false);
//theLinkResource->GetLongName(false);
... View more
‎Sep 22, 2020
12:06 AM
InterfacePtr<IDocument> document(theItem, UseDefaultIID());
PMString documentName;
document->GetName(documentName);
... View more
‎Sep 10, 2020
03:40 AM
1 Upvote
If you need to develop 2020 plugins, you'll need Mojave and Xcode 9.2. And for the upcoming 2021 plugin development, you'll need Xcode 11.3 which should run in Mojave too, and it it also possible to have two version of Xcode on the same machine. So you can either downgrade from Catalina to Mojave or create a new partition and install Mojave
Btw, InDesign 2021 plugin sdk is now available in developer pre-release at https://www.adobeprerelease.com/beta/D1A76A97-F7DC-4552-DE3C-FF5F211C7492
... View more
‎Sep 10, 2020
12:18 AM
Xcode 9.3 should also work
... View more
‎Aug 25, 2020
02:25 AM
Steps to notarize InDesign plugins https://helpx.adobe.com/in/indesign/kb/indesign-plugin-notarization.html
... View more
‎Jul 13, 2020
05:08 AM
Application level logs including the crash logs are in the event viewer when argument -LogToApplicationEventLog is passed when starting InDesign Server. But because shared crash logs from the event viewer is not very helpful, the idea here is to narrow down the problem at the script level so that the crash can be reproduced more consistently and to log a bug if all the data being passed to InDesign Server is correct. Or otherwise correct any invalid data in the script that might be causing InDesign Server to crash
Support ticket can be logged via admin console https://adminconsole.adobe.com
... View more
‎Jul 09, 2020
02:13 AM
-LogToApplicationEventLog only logs application(IDS) level log to event viewer. For script level logs, you'll have to manually write it out to a log file yourself. Here's an example script can be added in your main script to find out the cause of the crash. Once you figured out the exact line of the crash in your main script, see the parameters/data being passed and see if correct parameters/data is being passed
var logFilePath = "~Desktop/idslog.txt";
var logFile = File(logFilePath);
if(!logFile.exists)
{
logFile = new File(logFilePath);
}
logFile.open("a", undefined, undefined);
var date = new Date;
writeToLog(date, logFile);
writeToLog("Version: " + app.version, logFile);
var doc = app.open(file);
writeToLog("Doc opened: " + doc.name, logFile);
....
....
function writeToLog(logString, theLogFile)
{
theLogFile.writeln(logString);
}
... View more
‎Jul 06, 2020
01:17 AM
Mostly likely the crash originated from the script, best bet to narrow it down is to log the script execution flow out to a log file and see what's going on. Once you've narrowed it down and can consistently reproduce the crash, I'd suggest to log a bug at https://indesign.uservoice.com
... View more
‎Jul 01, 2020
01:09 AM
You can try and start InDesign Server with argument -LogToApplicationEventLog and see the event viewer to see if there's any clue there. Or you can see what's going on inside your script/which line of code causing the crash, log out to a text file from inside the script
... View more
‎Jul 01, 2020
12:55 AM
1 Upvote
Already answered at https://community.adobe.com/t5/indesign/image-count-values-in-c/td-p/11177319?page=1
Duplicate thread, locked
... View more
‎Jul 01, 2020
12:50 AM
Answered at https://community.adobe.com/t5/indesign/fetching-character-count-values-in-c/m-p/11179553?page=1
Duplicate thread, locked
... View more
‎Jun 11, 2020
03:51 AM
1 Upvote
duplicate thread/spam, locked
... View more
‎Jun 11, 2020
03:50 AM
answered at https://community.adobe.com/t5/indesign/how-to-get-page-count-in-c/m-p/11199905?page=1
duplicate thread/spam, locked
... View more
‎Jun 11, 2020
03:48 AM
duplicate thread/spam, locked
... View more
‎Jun 11, 2020
03:47 AM
duplicate thread/spam, locked
... View more