Search found 13 matches

by schroef
Mon Apr 13, 2020 1:22 am
Forum: Help Me
Topic: Other Languages Support
Replies: 16
Views: 3226

Re: Other Languages Support

mycort wrote:
Wed May 01, 2013 10:34 pm
Perfect and completely solved the problem, it now works! thx alot!
This scripts doesn't seem to work always? I tried it in a simple doc with 3 layers. Only worked for 1 layer then nothing happens on 2nd and 3rd run?
by schroef
Mon Apr 13, 2020 1:10 am
Forum: Help Me
Topic: Other Languages Support
Replies: 16
Views: 3226

Re: Other Languages Support

DOes anyone know if we can add custom Zsrings. I do know sort of how it works. It simply looks at the UIlocalize and find the locale folder and loads that DAT file with the strings. I now use a method per script of adding localize. For a trick i put them all in 1 JSX and link that in. But id rather ...
by schroef
Mon Apr 13, 2020 12:37 am
Forum: Help Me
Topic: CC upgrade and my script now doesn't seem to work.
Replies: 2
Views: 2490

Re: CC upgrade and my script now doesn't seem to work.

Adobe must have changed some things when upgrading to CC in the way it interacts with certain javascript functions. Anyone aware of any specifics? Localization of scripts doesn't seem to be working, and I can process a list box, but it fails to step through the selected layers and perform called fu...
by schroef
Mon Apr 13, 2020 12:33 am
Forum: Photoshop Scripting: Code Snippets
Topic: UI progressbar example
Replies: 30
Views: 19051

Re: UI progressbar example

I understand, thanks for taking the time to look at it. I guess i just use it when layers numbers are higher then 20. Otherwise we see some sort of animation but it doesn't show each time. Its a circle with dots. It only show the first time on that single action or does when i use a different one. S...
by schroef
Sun Apr 12, 2020 11:11 pm
Forum: Help Me
Topic: extension flyout menu
Replies: 1
Views: 519

Re: extension flyout menu

You need to add a function for that click handles, didn't see that in your code. You are adding a handler for it, but there is no function doing the check. Ive been upgrading the AnimDessin2 panel for Photoshop, it had the same XML menu with that weird state to check if things are checked. Those are...
by schroef
Sun Apr 12, 2020 10:33 pm
Forum: Photoshop Scripting: Code Snippets
Topic: UI progressbar example
Replies: 30
Views: 19051

Re: UI progressbar example

I got it working with a bar as well. But does show anything unless i do that refresh() in the if statement or add win.show(),win.hide() If that's not in, its showing nothing counts to 5000 and show the dialog for like 200ms torso also notice sometimes it keeps counting past that 500, i lowered the a...
by schroef
Sun Apr 12, 2020 10:12 pm
Forum: Photoshop Scripting: Code Snippets
Topic: UI progressbar example
Replies: 30
Views: 19051

Re: UI progressbar example

It only seems to be counting if i add the refresh to the if statement. Other wise it will show a split second and hides I think that refresh() is same as using app.refresh() right? It slowing down the script to be able to see it count I changed it like this var num = 0; function pB(v) { function prg...
by schroef
Sun Apr 12, 2020 9:24 pm
Forum: Photoshop Scripting: Code Snippets
Topic: UI progressbar example
Replies: 30
Views: 19051

Re: UI progressbar example

Thanks for the example! Ill try to see what this one does. PS can you use refresh() as a single function? I didn't knew that. THe scripts looks pretty advanced to me, i do understand it. WIth my coding skills were better. Ive been doing Python stuff a bit, but i don't know how to expand my knowledge...
by schroef
Sun Apr 12, 2020 8:38 am
Forum: Photoshop Scripting: Code Snippets
Topic: UI progressbar example
Replies: 30
Views: 19051

Re: UI progressbar example

Soryy im no code guru so i have no idea what counter is directed at. Is that a DIaliag attribute torso because i see counter in many scripts but its a variable which is being declared. iwin.bar.value = all or win.bar.value++ simply does not show any difference unless i do hide and show. Ive now impl...
by schroef
Sat Apr 11, 2020 8:27 pm
Forum: Photoshop Scripting: Code Snippets
Topic: UI progressbar example
Replies: 30
Views: 19051

Re: UI progressbar example

Well i answered my own question, that try / catch with warning i added doesn't allow the user to escape the script when its running. Dang, now i need to update 20+ files hahaha