Search found 38 matches

by Jaroslav Bereza
Wed Aug 30, 2017 4:51 pm
Forum: Help Me
Topic: Javascript time limit(trial)
Replies: 11
Views: 8840

Re: Javascript time limit(trial)

You can put custom descriptor into Photoshop after each start. It persists until you explicitly delete them. Application.putCustomOptions (key: string , customObject: ActionDescriptor , persistent: Boolean ) Application.eraseCustomOptions (key: string ) Application.getCustomOptions (key: string ): A...
by Jaroslav Bereza
Wed Aug 09, 2017 9:30 pm
Forum: Help Me
Topic: Detect layers containing shadow filter
Replies: 2
Views: 2827

Re: Detect layers containing shadow filter

You can check my sript "Clear hidden effects" http://bereza.cz/ps/
Shadow is usually array(list) but also can be without array.

And there is a lot bugs: https://feedback.photoshop.com/photosho ... gs-am-code

Good luck... otherwise you can waste a lot time.
by Jaroslav Bereza
Wed Aug 09, 2017 9:20 pm
Forum: Help Me
Topic: Javascript time limit(trial)
Replies: 11
Views: 8840

Re: Javascript time limit(trial)

Could you use "Socket" class and comunicate with server? It should be able create TCP/IP connection. So you could send data and return value and verify valid licence.
by Jaroslav Bereza
Sat Jul 22, 2017 9:28 am
Forum: Help Me
Topic: Auto Arrange
Replies: 4
Views: 5165

Re: Auto Arrange

You don't need reinvent wheel. Just try already made tool in JS. https://github.com/jakesgordon/bin-packing https://www.google.cz/search?rlz=1C1GGRV_enCZ751CZ751&q=bin+packing+js&oq=bin+packing+js&gs_l=psy-ab.3..0i22i30k1.4073.4272.0.5797.3.3.0.0.0.0.128.302.2j1.3.0....0...1.1.64.psy-ab..0.3.299...0...
by Jaroslav Bereza
Mon Jul 03, 2017 5:07 pm
Forum: Help Me
Topic: Read Notes by script (not only write by script)
Replies: 3
Views: 3504

Re: Read Notes by script (not only write by script)

yes... this code should get first annotation descriptor but it fails. Notes seems to be write-only.

Code: Select all


var ref = new ActionReference();
var idannotation = stringIDToTypeID( "annotation" );
ref.putIndex( idannotation, 0 );
var desc = executeActionGet(ref);
by Jaroslav Bereza
Tue May 23, 2017 7:09 pm
Forum: Photoshop Scripting Bugs and Anomalies
Topic: app.doProgress() brokes script commands
Replies: 0
Views: 5404

app.doProgress() brokes script commands

app.doProgress() brokes script commands

If native progressbar is shown, you can't transform layers, clear layer styles and probably some other things.
by Jaroslav Bereza
Fri May 19, 2017 8:43 pm
Forum: Photoshop Scripting - General Discussion
Topic: Add Scripts in Filter Menu
Replies: 8
Views: 9503

Re: Add Scripts in Filter Menu

Maybe you could create .8bf file in C++ and this would only run script file.

If you look into documenation there some ways how to change menu item location. But there are only few places where it can be.
by Jaroslav Bereza
Wed May 17, 2017 5:48 pm
Forum: Photoshop Scripting - General Discussion
Topic: Add Scripts in Filter Menu
Replies: 8
Views: 9503

Re: Add Scripts in Filter Menu

.8bf files are writen in C++

Examples are here: http://www.adobe.com/devnet/photoshop/sdk.html
by Jaroslav Bereza
Sun Apr 09, 2017 9:04 am
Forum: Photoshop Scripts: Beta Testing
Topic: Fresh PSD - web to layered PSD
Replies: 2
Views: 23911

Re: Fresh PSD - web to layered PSD

Thanks for antiviruses names. People reported issues but nobody tell me their names. I tried around nine anti-viruses in my virtual machine. I wrote e-mail to Avast and Norton and they both whitelisted me. jsxbin instead .exe is not possible because I am using standalone application with chromium in...
by Jaroslav Bereza
Sat Apr 08, 2017 5:16 pm
Forum: Photoshop Scripts: Beta Testing
Topic: Fresh PSD - web to layered PSD
Replies: 2
Views: 23911

Fresh PSD - web to layered PSD

Hi, I created program which can convert any website into layered PSD.


https://bereza.cz/FreshPSD/

I appreciate any feedback