Search found 10 matches

by lee ky
Thu Jul 02, 2020 3:26 am
Forum: Help Me
Topic: 2' Layers choose
Replies: 0
Views: 219

2' Layers choose

var doc = app.activeDocument; //references current document doc.activeLayer = doc.layers[0]; //selects the top layer var doc = app.activeDocument; //references current document doc.activeLayer = doc.layers[1]; //selects the top layer I'd like to choose two layers. I would like to select two layers a...
by lee ky
Wed Apr 08, 2020 7:03 am
Forum: Help Me
Topic: Can I run java on a website?
Replies: 0
Views: 1095

Can I run java on a website?

var csInterface=new CSInterface; function onLoaded(){ var a=new CSInterface;b=a.hostEnvironment.appName;"FLPR"!=b&&loadJSX(); for(var c=["PHXS"],e=0;e<c.length;e++){var d=c[e]; if(0<=b.indexOf(d)&&(d=document.getElementById("btn_"+d)))d.disabled=!1}updateThemeWithAppSkinInfo(a.hostEnvironment.appSki...
by lee ky
Fri Apr 03, 2020 6:54 am
Forum: Help Me
Topic: extension flyout menu
Replies: 1
Views: 706

extension flyout menu

/*jslint vars: true, plusplus: true, devel: true, nomen: true, regexp: true, indent: 4, maxerr: 50 */ /*global $, window, location, CSInterface, SystemPath, themeManager*/ var csInterface = new CSInterface(); function init() { // Ugly workaround to keep track of "checked" and "enabled" statuses var ...
by lee ky
Wed Apr 01, 2020 1:27 am
Forum: Help Me
Topic: extension panel menu
Replies: 2
Views: 886

Re: extension panel menu

Thank you very much
Thanks a lot.
by lee ky
Sun Mar 29, 2020 1:29 am
Forum: Help Me
Topic: extension panel menu
Replies: 2
Views: 886

extension panel menu

How to add extension panel menu
mmm.png
mmm.png (18.4 KiB) Viewed 886 times
by lee ky
Fri Mar 27, 2020 2:08 am
Forum: Help Me
Topic: config file
Replies: 5
Views: 1176

Re: config file

(fle = File('~/Desktop/config.ini')).open('r'), ini = fle.read(), fle.close(), ini var y=ini.match(/\d+(?=\ncropy)/g)[0] alert(y); ------------------------------------------------------------------------ (fle = File('~/Desktop/config.ini')).open('r'), ini = fle.read() var y=ini.match(/\d+(?=\ncropy)...
by lee ky
Thu Mar 26, 2020 1:09 am
Forum: Help Me
Topic: config file
Replies: 5
Views: 1176

Re: config file

Thank you very much.
When cropx = 100
When reading only "cropx" values
How do you extract variable values?
by lee ky
Wed Mar 25, 2020 3:46 am
Forum: Help Me
Topic: config file
Replies: 5
Views: 1176

config file

I want to create a "config file".
using the prompt
I want to create an ini file like the example below.

Please write and read source.
example
--------------------------------------------
[body]
cropx= 100
cropy= 200

[hair]
cropx= 10
cropy= 80
by lee ky
Tue Mar 17, 2020 1:49 am
Forum: Help Me
Topic: delete all layers including "abc"
Replies: 6
Views: 3481

Re: delete all layers including "abc"

Thank you very much.
Thanks to that, it was solved.
by lee ky
Tue Mar 03, 2020 4:02 am
Forum: Help Me
Topic: delete all layers including "abc"
Replies: 6
Views: 3481

delete all layers including "abc"

abc.jpg I am working on a photoshop sclipt. in the layer name I want to delete all layers including "abc". for (d=1; d < 37 ; ) { LayerName = "abc"+ d RemoveLayers(LayerName); d++; } function RemoveLayers(LayerName){ for(var i = 0; i < 15 ; ){ var Layers = documents[0].artLayers; if (Layers[0].name...