Search found 17 matches

by schroef
Sun Apr 12, 2020 10:12 pm
Forum: Photoshop Scripting: Code Snippets
Topic: UI progressbar example
Replies: 32
Views: 20168

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: 32
Views: 20168

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: 32
Views: 20168

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: 32
Views: 20168

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
by schroef
Sat Apr 11, 2020 8:26 pm
Forum: Photoshop Scripting: Code Snippets
Topic: UI progressbar example
Replies: 32
Views: 20168

Re: UI progressbar example

There is problem with ProgressBar on OSX indeed. It doesn't work without refresh() like on Windows. Well app.refresh() makes it terribly slow, the same process takes longer No visual feedback, but is fastest without visual progressbar start: 23:32.511 End: 23:38.980 Progressbar updates but window c...
by schroef
Sat Apr 11, 2020 7:08 am
Forum: Photoshop Scripting: Code Snippets
Topic: UI progressbar example
Replies: 32
Views: 20168

Re: UI progressbar example

@Mike Hale, i just tried your updated version. I see same issue as with the other. Nothing shows, I need to add win.hide() and a win.show() right after each other to get it to show. I also did a time run with this one, its also slowing down the script almost double the time. I guess that's why its b...
by schroef
Sat Apr 11, 2020 6:41 am
Forum: Photoshop Scripting: Code Snippets
Topic: UI progressbar example
Replies: 32
Views: 20168

Re: UI progressbar example

HI guys, this is my first post here. Kinda a new to this forum I was looking for a progress bar script and after long hours of searching, i bumped into this one. I got the initial code working, but not everything works correctly. I also found other scripts that do app.refresh() and win.update(). Bot...