trường_1768
Explorer
trường_1768
Explorer
Activity
Jan 04, 2025
03:02 AM
đúng vậy sẽ thật tuyệt nếu nó có thể hoạt động một cách thông minh. vì không phải lúc nào màn hình cũng là hình chữ nhật, nó có thể là màn hình cong hoặc có đồ vật khác che lấp. kịch bản trên đã hoạt đống rất tốt với những trường hợp màn hình là hình chữ nhật có 4 góc, nhưng đôi khi vùng chọn bị lệch vài pixel thì chúng sẽ không hoạt động, chúng cần 1 vùng chọn chính xác tuyệt đối
... View more
Dec 10, 2024
07:46 AM
1 Upvote
This is the photo I saved the path. There will be many cases where the path number is greater than 4. I know it is very difficult but I still ask you if there is any other way. If not, then I still thank you very much for helping me all this time, I wish you good health. Thank you very much
... View more
Nov 17, 2024
11:12 PM
Hello, they work very well but there are many cases where the TV selection has more than 4 line segments and they don't work. It seems like they only work when the selection is 4 straight lines. Can you add the function for me? Thank you very much
... View more
Nov 08, 2024
05:04 AM
1 Upvote
i am adding some steps to fit my work i am doing. but the hardest part you have already helped me complete them. awesome, you are so good, i will try to be a part of you
... View more
Nov 08, 2024
04:44 AM
1 Upvote
you are so good. it is amazing. it works very well. thank you very much. i think a lot of people will need it. have a nice day, i don't know how to thank you
... View more
Nov 08, 2024
03:27 AM
1 Upvote
yes. thank you. maybe because of the language barrier so my explanation is a bit confusing. but everything is resolved, maybe it will help the work for the company I am working for. thank you again
... View more
Nov 08, 2024
03:17 AM
thank you. that's all i wanted. thank you for that, it will help my work a lot. have a nice day
... View more
Nov 08, 2024
01:43 AM
sorry i am a foreigner so it may be difficult for you to understand. i want after running the script above to transfer to BR and i want to open the image next to the image when i run the script in PTS
... View more
Nov 08, 2024
12:42 AM
awesome genius minds, thats what i was looking for all along. but when i run the script i want it to open the image next to it in photoshop, can you help me with that?
... View more
Nov 08, 2024
12:07 AM
can you help me create a script to do that job. i thank you very much for that. it helps me a lot in my work
... View more
Nov 07, 2024
11:48 PM
only 1 image per screen. The important thing is that it can be stretched to fit the selection you create.
... View more
Nov 07, 2024
07:08 PM
I want to use the ''reveal in explorer'' function so I can open the next image
... View more
Nov 07, 2024
06:56 PM
Can you help me with a code so I can open the image to the right of the currently selected image (ie Apple TV+-10 image) thank you
... View more
Nov 07, 2024
06:44 PM
I have a code but it has too many steps, what I need is for it to fill the TV (function () { // Script variables var abort; var bounds; var docMaster; var mask; var maskC; var maskH; var maskW; var title = "Adobe Script Tutorial 8"; // Reusable UI variables var g; // group var p; // panel var w; // window // SETUP if (!app.documents.length) { alert("Open the master document", title, false); return; } app.displayDialogs = DialogModes.NO; app.preferences.rulerUnits = Units.PIXELS; docMaster = app.activeDocument; mask = docMaster.channels.getByName("mask"); docMaster.selection.load(mask); bounds = docMaster.selection.bounds; maskW = bounds[2] - bounds[0]; maskH = bounds[3] - bounds[1]; maskC = [bounds[0] + (maskW / 2), bounds[1] + (maskH / 2)]; function maskLayer() { // Mask active layer using document selection. var desc1 = new ActionDescriptor(); var ref1 = new ActionReference(); desc1.putClass(charIDToTypeID("Nw "), charIDToTypeID("Chnl")); ref1.putEnumerated(charIDToTypeID("Chnl"), charIDToTypeID("Chnl"), charIDToTypeID("Msk ")); desc1.putReference(charIDToTypeID("At "), ref1); desc1.putEnumerated(charIDToTypeID("Usng"), charIDToTypeID("UsrM"), charIDToTypeID("RvlS")); executeAction(charIDToTypeID("Mk "), desc1, DialogModes.NO); } function processFile(file) { var doc; var docWork; var fileJpg; var layer; var layerC; var layerH; var layerW; var saveOptions; var scale; var scaleH; var scaleW; docWork = docMaster.duplicate(); doc = app.open(file); try { progress.message(File.decode(doc.name)); // Do something with image here app.activeDocument = doc; doc.flatten(); // Resize image scaleH = maskH / doc.height; scaleW = maskW / doc.width; scale = Math.max(scaleH, scaleW); doc.resizeImage(doc.width * scale, doc.height * scale, null, ResampleMethod.BICUBICSHARPER); // Copy image to work document. layer = doc.layers[0].duplicate(docWork); app.activeDocument = docWork; docWork.activeLayer = layer; // Resize image to fit in master mask. bounds = layer.bounds; layerW = bounds[2] - bounds[0]; layerH = bounds[3] - bounds[1]; layerC = [bounds[0] + (layerW / 2), bounds[1] + (layerH / 2)]; layer.translate(maskC[0] - layerC[0], maskC[1] - layerC[1]); docWork.selection.load(mask); maskLayer(); // Save JPG fileJpg = new File(txtFolderOutput.text + "/" + doc.name.replace(/\.[^\.]*$/, "") + "-framed.jpg"); saveOptions = new JPEGSaveOptions(); saveOptions.embedColorProfile = true; saveOptions.formatOptions = FormatOptions.STANDARDBASELINE; saveOptions.quality = 12; docWork.saveAs(fileJpg, saveOptions); progress.increment(); } finally { doc.close(SaveOptions.DONOTSAVECHANGES); docWork.close(SaveOptions.DONOTSAVECHANGES); } } function progress(message) { var b; var t; var w; w = new Window("palette", "Progress", undefined, { closeButton: false }); t = w.add("statictext", undefined, message); t.preferredSize = [450, -1]; b = w.add("progressbar"); b.preferredSize = [450, -1]; progress.close = function () { w.close(); }; progress.increment = function () { b.value++; }; progress.message = function (message) { t.text = message; app.refresh(); }; progress.set = function (steps) { b.value = 0; b.minvalue = 0; b.maxvalue = steps; }; w.show(); app.refresh(); } })();
... View more
Nov 07, 2024
06:34 PM
this is the answer i was looking for. But I still thank you for your help. Wish you a good day
... View more
Nov 07, 2024
06:32 PM
Thank you. This is a very great answer. Exactly what I need, thank you again. Wish you a good day
... View more
Nov 07, 2024
09:12 AM
It would be great if you could add TV and PC screens using a script without having to manually drag and drop them. Hope everyone can help ^_^
... View more
Nov 07, 2024
09:05 AM
Is it possible to use the "Reveal in Explorer" function using jsx? After using it, I want it to appear correctly in the image I am opening in Photoshop. Thank you, have a good day everyone
... View more