Ciccillotto
Engaged
Ciccillotto
Engaged
Activity
‎Mar 09, 2025
03:36 AM
Thanks for the replying.
... View more
‎Mar 09, 2025
03:31 AM
Non credo di aver capito bene la domanda. Purtroppo la traduzione è un po' confusa. Non puoi usare un'azione per chiamare il file psjs? O vuoi un pannello con pulsanti che chiami il file psjs? Se potessi essere più chiaro, sarò felice di aiutarti.
... View more
‎Mar 08, 2025
06:04 AM
Opps, The script you posted doesn't work for me?
... View more
‎Mar 08, 2025
01:04 AM
1 Upvote
I created a small focus stacking panel with a donation option Here is the link https://sites.google.com/view/openpaneluxp/focus-stacking As you can see from the video I did not use the option to open the dialog box, I tried to do it all automatically. The only problem I had was loading the nef - raw files in photoshop, using uxp opened the nef in photoshop and not in camera raw, so I opted to insert a . Jsx file inside the panel. I looked around and I did not find any documentation for this. Unfortunately some things in uxp still need to be perfected and javascript programming is still needed I'm not at home now, after I get back I'll take a look at your script and if I can help you I'll do it willingly. https://community.adobe.com/t5/photoshop-ecosystem-discussions/uxp-open-file-in-photoshop-mac-not-working/m-p/15162211 see if this works for you async function stack() {
let result;
let psAction = require("photoshop").action;
let command = [
// Script
{"descriptor": {"_obj":"AdobeScriptAutomation Scripts","javaScriptName":"Carica file in serie..."}, "options": {"dialogOptions": "display"}}
];
result = await psAction.batchPlay(command, {});
}
async function FunctionStack() {
await require("photoshop").core.executeAsModal(stack, {"commandName": "Action Commands"});
}
await FunctionStack();
... View more
‎Mar 03, 2025
02:32 PM
2 Upvotes
Unfortunately it is not possible to do this, I had opened a similar discussion and I didn't get any positive responses.
... View more
‎Feb 22, 2025
12:57 AM
1 Upvote
If someone is interested in your work and wants to spend time, they will surely be able to decipher it, With uxp I noticed from tests that it is much more complex, So I think you should think about uxp also thinking about the future.
... View more
‎Feb 19, 2025
01:19 AM
I found this piece of code that does what I want, but when I open the raw files, instead of opening them in camera raw it opens them directly in photoshop. you can change this option. const { app, core } = require("photoshop");
const fs = require('uxp').storage.localFileSystem;
const openFiles = async () => {
await core.executeAsModal( async () => {
const entry = await fs.getFolder();
const token = await fs.createPersistentToken(entry);
localStorage.setItem("persistentFolder", token);
const thePersistentFolderToken = localStorage.getItem("persistentFolder");
const thePersistentFolder = await fs.getEntryForPersistentToken(thePersistentFolderToken);
// show all files
const files = await thePersistentFolder.getEntries();
for (const file of files) {
await app.open(file)
}
})
}
openFiles();
... View more
‎Feb 19, 2025
12:27 AM
Thanks for the info The manifest is fine, I had already entered full access to the files, From what I read I can only open a file that I select, If I wanted to open 10 I have to add a few more strings.
... View more
‎Feb 18, 2025
10:00 AM
@sttk3 @Stephen I created a button in the uxp panel that needs to open files from a folder, to my surprise I am having a problem open file in photoshop mac does not work. this is what came out of the action, copy javascript. async function OpenFile() {
let result;
let psAction = require("photoshop").action;
let command = [
// Apri
{"descriptor": {"_obj":"open"}, "options": {"dialogOptions": "display"}}
];
result = await psAction.batchPlay(command, {});
}
async function open_file() {
await require("photoshop").core.executeAsModal(OpenFile, {"commandName": "Action Commands"});
}
await open_file();
... View more
‎Feb 14, 2025
05:44 AM
1 Upvote
I am of the opinion that only the generative credits that are actually selected and used should be credited and not those that have no results. I hope Adobe listens to these reflections.
... View more
‎Feb 12, 2025
01:43 AM
Thank you for the time you dedicated to me, now I'll see if I can adapt it.
... View more
‎Feb 11, 2025
04:45 AM
I have a small uxp panel that allows me to select a set of actions and an action, it works for my needs. I would like to know if there is a way to check if the action has been selected, so if the action has been selected an 'ok' warning appears if the action is not selected an 'ko' warning appears. As always, I hope for your help.
... View more
‎Feb 07, 2025
03:02 AM
2 Upvotes
THANK YOU
... View more
‎Feb 07, 2025
03:01 AM
2 Upvotes
THANK YOU
... View more
‎Feb 07, 2025
01:58 AM
From here you can adjust both the opacity and the contrast. app.activeDocument.activeLayer.adjustBrightnessContrast(-20, 80);
... View more
‎Feb 07, 2025
01:34 AM
I want to check if the path exists I need this script in javascript no uxp this is what I tried but it doesn't work. try { app.activeDocument.paths["TEST"];
alert("ok");
} catch(e) {
alert("ko");
}
... View more
‎Feb 06, 2025
09:41 AM
1 Upvote
Yes your code is perfect. Thank you with all my heart.
... View more
‎Feb 06, 2025
02:41 AM
2 Upvotes
@sttk3 wonderful I wasted two days trying to figure out how to fix the problem but I couldn't thank you so much for your help
... View more
‎Feb 05, 2025
01:49 AM
Thank you for your help but I couldn't solve it.
... View more
‎Feb 03, 2025
05:19 AM
c.pfaffenbichler How could the same thing be with javascript. I'll see if I can adapt it.
... View more
‎Feb 03, 2025
05:12 AM
1 Upvote
I haven't found anything about it, I hope Barranca passes by this post.
... View more
‎Feb 03, 2025
03:05 AM
even if I remove visible the problem remains.
... View more
‎Feb 03, 2025
02:27 AM
I have a small problem I need to know if a group is open or closed I put up a small script in uxp but it tells me that the group is always open even if it is closed, this is the script. checkLayerGroupStatus()
async function checkLayerGroupStatus() {
const layers = app.activeDocument.layers;
const groupName = "Color";
const layerGroup = layers.find(layer => layer.name === groupName && layer.layers);
if (!layerGroup) {
showAlert( `Level group "${groupName}" not found`);
return;
}
const isOpen = layerGroup.visible;
if (isOpen) {
showAlert(`The level group "${groupName}" is open.`);
} else {
showAlert( `Level group "${groupName}" is closed.`);
}
}
... View more
‎Jan 29, 2025
04:32 AM
2 Upvotes
if (locale == "en_US") {
english();
} else if (locale == "it_IT") {
italy();
} else if (locale == "es_ES") {
spanish();
} else {
defaultLanguage();
}
} @pfaffenbichler thanks to your help I solved it this way thanks
... View more
‎Jan 29, 2025
04:23 AM
I tried this way but it doesn't work const host = require('uxp').host;
const locale = host.uiLocale;
if (locale == "en_US" ){
english();
}else{
france();
}
if (locale == "es_ES" ){
espana();
}
} do you have an example of how to set a second if
... View more
‎Jan 29, 2025
03:56 AM
I've reached a dead end I would like to make the panel change the language based on the country of use, unfortunately I stopped and I can't go on, up to now I have managed to set 2 languages, I would like to set another 2 or 3 this is my starting script. const host = require('uxp').host;
const locale = host.uiLocale;
if (locale == "en_US" ){
english();
}else{
france();
} I tried this method but had no luck const host = require('uxp').host;
const locale = host.uiLocale;
if (locale == "en_US" ){
english();
}else{
france();
}else{
espana();
} I hope there is a solution
... View more
‎Jan 27, 2025
01:29 AM
I have no way of verifying.
... View more
‎Jan 26, 2025
11:21 PM
1 Upvote
See this post Vedi questo post
... View more
‎Jan 26, 2025
11:19 PM
2 Upvotes
However I used this method to create the trial, As mentioned, if one port is old from the previous PC it continues to work. This is the method. Link script trial
... View more
‎Jan 26, 2025
11:06 PM
2 Upvotes
I would like to help you on this. I have tried many times to create some expiration date script, The only problem I've encountered is that once the date has expired, if you put an earlier date on the PC, it continues to work normally. Unfortunately, if you want to make it work you need a database on the internet and to date I have not been able to do so. I am sorry.
... View more