『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Learn how to customize the way you work with Adobe apps.
新着順
I've been using this really simple script for a while:if (app.documents.length == 0) alert("No documents are open. Please open a document and try again."); var doc = app.activeDocument; var links = doc.links; for (var i = 0; i<links.length; i++) { if (links[i].status == LinkStatus.LINK_MISSING) { links[i].parent.remove(); } }It works perfectly well in versions CS6 to CC2021 (16.4), BUT in CC 2022 (17.0.1) it always throws an error: Error Number: 55Object does not support the property or method 'LINK MISSING'. If checking the now deprecated ExtendScript Toolkit object model Viewer (in a Windows PC) and comparing it to the latest published API (sadly, only for CC 2021), there is a discrepancy. In CC2021, LinkStatus can have these values: LinkStatus.LINK_EMBEDDEDLinkStatus.LINK_INACCESSIBLELinkStatus.LINK_MISSINGLinkStatus.LINK_OUT_OF_DATELinkStatus.NORMAL BUT the Object Model Viewer in ESTK 4 shows a very different set of values: LinStatus.DA
In mediumcom/adobetech a post from 2019-02-22 states The Windows version of this plug in should be considered a “beta,” and is provided as-is. Adobe disclaims all warranties, express or implied, including the implied warranties of non-infringement, merchantability, and fitness for a particular purpose. This is now more than two years - is there any news? See my recent experience at extendscript-debugger-for-vscode-windows-version
Dear all,Since FrameMaker runs only in Windows I depend on the Windows version of ESD.There is ample note that this version is only beta, although the version reports as 1.1.2.=> Who is responsible for developing this further?FrameMaker scripters became unhappy with the current ESTK implementation - for may scripts it takes a long time to step from line to line (the Data Browser seems to stay in background even if not visible). Also closing a script window may take 1/2 minute... My tests so far with ESD are very positive.
For me, the following script does not run in VSC ExtentScript Debugger:// '<![CDATA[' + str + ']]>' alert('hello world');I have to remove the first line – yes, the comment – in order to run it.Tried and reproduces in Photoshop 2021 and InDesign 2020.(VSC 1.57.1, ExtendScript Debugger 1.1.2, InDesign 15.1.3.302, Photoshop 22.1.1, on macOS 10.14.6/Intel) I wouldn't have stumbled upon this error, if InDesign's ES API would handle XMP correctly. When I exported a document with some XMP strings that my script had written, in the IDML there were no CDATA markings around my string, which might break the XML with some string content. So I wrote functions to wrap that myself.
I want to create a simple broadcaster tool which would broadcast on the screen the commands that you input in the Photoshop or Premiere Pro.E.g. Right click - copy would be broadcasted as "copy"Right click duplicate layer - would be broadcasted as "Duplicate layer"Is this possible using the API? Maybe someone could help me out with this or point in the right direction?Thanks a lot in advance!
I understand that there are many solutions to integrating python scripts inside your extendscript. The easiest and perhaps most used by those who are familiar with modern JavaScript frameworks is using a CEP panel, then using modern JavaScript. This however is an effort to create a simple interface that works exclusively within Extendscript. I felt the need to create this because I had to zip files, recognize faces in images..etc and the only 2 available solutions were to learn Nodejs, or get my hands dirty with the infinite C++. You can do the nasty trick of using environment variables, or storing values in a text then reading it, but this library takes all the stress away, you can do python.build(script/path) and you'll get an object with all py functions in that script. Here's the link to the GitHub repo: PYJSX
We have a legacy application which comes with an RTF reader, we need to create RTF files and embed our ODF docs in the files in order to access them from the application. How can this be achieved using c#? Or if there are any tools available?
Hi everybody !Blank extension panels have been discussed thousand times before, but i can't work this one out.We updated Indesign yesterday on 2 iMac, since then my 3 homemade extensions don't render in their panels. Well, to be acurate :3 extensions didn't render on my own computer (which contain dev versions for each extension, plus an extension installed via Anastasiy's ExtensionManager, hence existing at 2 locations : dev and prod). Player Debug Mode is 1 for CSXS 8 and 9.On the second computer,2 extensions had prod versions installed, and the last one was dev version. THough on THIS computer, ONE of the 2 prod extensions was still working.We then tried to remove dev versions on my computer, installed prod versions. I tried changes in the manifest. I tried resetting of prefs/cache files. Nothing got the job done.Finally we installed previous Indesign versions one after the other until extensions worked again.BUT things couldn't stay at this point, the story needed a little more – i
Hallo liebe Community, wir möchten den Adobe Bildnachzeichner nutzen um Bilder mit einer bestimmten Anzahl an Farben zu vektorisieren. Der Bildnachzeichner ist hier aktuell im Modus. "beschränkt" auf 30 limitiert. Zwar, kann man über die Auswahl "Vollton" arbeiten, jedoch kann man dort die Anzahl der Farben nur noch in Prozent angeben. Das bringt uns leider nichts ans Ziel. Daher würden wir gern wissen ob jemand eine Idee hat wie man das Limit von 30 beispielsweise auf 60 anheben kann. Wir würden uns sehr über eine Lösung freuen. Herzliche GrüßeMartin
How can I find & show/hide form fields with a specific strings start with "List1_", "List2_" in the field name and make them hidden until triggered. I need the regular expression format to find the form fields name start with "List1". Example this.getField("List1_Oldfactory").display = display.hidden; this.getField("List1_Optical").display = display.hidden; this.getField("List1_Glosso").display = display.hidden; this.getField("List1_Trigeminal").display = display.hidden; Need to convert something like, this.getField("List1_"+(/\s/g)).display = display.hidden; but got error in condole as, TypeError: this.getField(...) is null 1:Field:Mouse Up
Hi, I know nothing about Java Script and wanted to know if there are any tutorials or books you can recommend that teach you from the beginning
I am wondering how to make a field hidden unless a user selects "Deficient" in which case the field then becomes visible populated as "Deficient". the code I have currently which is not working: var deficientB1 = true;if(this.getField("AnalysisB1").valueAsString = "Deficient") deficientB1 == false; if (deficientB1 = true)this.getField("Element_Row_1").display = display.hidden; if (deficientB1 == false) this.getField("Element_Row_1").display = display.visible; I also have this code which is designed to only populate a field if "Deficient" is selected but is instead populating the field no matter what option the user selects from a dropdown: var AnalysisB1 = this.getField("AnalysisB1").valueAsString;if(AnalysisB1 = "Deficient")event.value = this.getField("AnalysisB1").valueAsString;else if (AnalysisB1 = "Repeat Deficient")event.value = null;else if (AnalysisB1 = "In Compliance")event.value = null;else if (AnalysisB1 = "Remark")event.value = null;else if (Analys
HiI have a sequence with a graphic element. I can "find" the element withqe.project.getActiveSequence().getVideoTrackAt(2).getItemAt(0);But.. how can I get access to the properties and change the text in the graphic element?
How I can get location of a selected image from Photoshop library panel with JavaScript? When I use a Script Listener it catch draging of image from Photoshop Library.And Script Listener catch adress of location at Photoshop Library. But how I can get adress locatation of image that is selected in the Photoshop Library?
Good day to you all,I have a relatively simple problem that i could not solve until now. I have a script that generates custom printfiles, exports them and then positions them in a new file based on hard coded coordinates. To sace space and time in the production process I would like to nest these custom files. Unfortunately I dont have the time nor the required knowlage to program a nesting algorithm mayself. So i found the eCut nesting plugin and also PowerScripts nesting extention. Both of these have their own UI and work out for me, but i need to keep my automatisation. Is there a way to acces the functuonality of either of these addons through ExtendScript? Or is it only posible with acces to the source code? Best RegardsMaxim
Hi everyone, First time poster, and I've run into a weird problem with the randomizer that I can't find the solution for through google. I'm creating a product slideshow banner with 5 frames total. It will have previous and next buttons, and each frame will have a ClickToGoToWebPage button leading to the product's page. The slide and buttons work great, with and without the randomizer, but I have noticed that when the page initially loads, the first frame's button to the webpage does nothing, no matter how many times I click on it. If I scroll to the next slide with the previous/next buttons, then all the buttons are fine. It's always the button on the first slide that doesn't seem to work with the randomizer. I know it's the randomizer, because without it, the button on the first frame works as it should. Does anyone have any tips on what I should check?Here's my code from the first frame, and I've attached a crude screenshot, if it helps! var nextFrame = 0 va
Hi all,From my panel (IDSN) I am generating a PDF file which I need to upload to a file service, however I am having issues reading the file from both JS and JSX.The code below will excute just fine when being run from within InDesign but not from the panel – I get an this error "EvalScript error".var theFile = File(path); var fileString; if (theFile.open('r')) { try { fileString = theFile.read(); } catch (err) { console.log("Error\r" + err); } finally { theFile.close(); } } else { console.log("Error\rFile could not be opened."); } return fileString; Does anybody know to acecss local files for submission?
This is probably a ridiculous question, but could I load jquery to run scripts in Illustrator?
I am looking for a trainer to deliver training in Indesign Scripting for automation. Any references would be helpful.
Hey there!Try to move some of my scripts to the CEP but the simplest things won't work. Why is that not working anymore? var activeComp = app.project.activeItem; var workLayer = activeComp.selectedLayers[0]; workLayer.name="Hans"; Thanks for help!Michael
I want to add some functions to ExtendScript that will be available to other scripts. I can add them to my particular application's startup folder, but I am wondering about functions that will be available for any application. For example, I want to add some custom functions for merging File objects. Thank you.
I have a simple noise-like gradient with lot of stops. I need a script that will sample each column of my document to get the color and add a stop to a gradient with that color. The end result would be a gradient fill pattern that matched the gradient in my image. Ultimately, I want to use this new gradient to do a gradient map on a separate image. This seems like it would be pretty easy to do, but I am having a hard time understanding JS in Photoshop...even with scriptListener installed. Any help would be greatly appreciated.
Brackets has been absolutely invaluable as a teaching tool to get design students an introduction to HTML and CSS. It has been reasonably lightweight, unburdened by trying to be an environment for developing everything and just focused on what was useful for authoring web pages. I have been able to use Brackets to teach my often code-phobic students because of this.The live preview that highlights the portion of the page affected by the line of markup or rule is utterly indispensable for teaching HTML and CSS.In the age of COVID, many of us had to move to fully online courses and so we created our screenshots and video lectures using Brackets so our students could follow along. I am crushed by the EOL announcement for Brackets. No other editor provides the live preview. I can't force my students to pay for a software title when they already have to deal with an Adobe subscription. The free options are either way too bulky or way too barebones. Brackets has been a lovely balan
Is anyone knows a doc or else about actionscript to typescript syntax conversion?
Hello,I just to be pointed in the right direction.Bit of context, I am coding a simple plugin for a 3D app in python. The plugin also gathers image DPIs for scale. The issue, I am having, is that I can gather metadata from all formats EXCEPT jpegs specifically saved with Photoshop. I need to batch re-save the images in another app to have access to information I need. I can see the correct info with FILE INFO in Photoshop but not with external python module.Does anyone know the right module I need to get all the metadata?Thanks
すでにアカウントをお持ちですか?ログイン
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
申し訳ございません。このファイルは、ダウンロードしても安全かどうか、内容を確認中です。数分後にもう一度お試しください。
申し訳ございませんが、当社のウイルススキャナは、このファイルをダウンロードすることは安全ではないと検出しました。