Add Scripts in Filter Menu

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Tom, Kukurykus

vkv
Posts: 3
Joined: Mon May 15, 2017 8:20 am

Add Scripts in Filter Menu

Post by vkv »

How to add script(JavaScript) in Photoshop's Filter menu. :?:
pixxxelschubser
Posts: 26
Joined: Mon Aug 01, 2016 8:59 pm

Re: Add Scripts in Filter Menu

Post by pixxxelschubser »

Why not at the normal place in File --> Skripten menu?
vkv
Posts: 3
Joined: Mon May 15, 2017 8:20 am

Re: Add Scripts in Filter Menu

Post by vkv »

I want to know how to create .8bf file from JavaScript.
Till now after lot of searching, i am unable to get any tutorial on this. :(

Some basic starting information also would be better for me. :)
User avatar
Jaroslav Bereza
Posts: 38
Joined: Tue Dec 27, 2016 7:22 pm

Re: Add Scripts in Filter Menu

Post by Jaroslav Bereza »

.8bf files are writen in C++

Examples are here: http://www.adobe.com/devnet/photoshop/sdk.html
vkv
Posts: 3
Joined: Mon May 15, 2017 8:20 am

Re: Add Scripts in Filter Menu

Post by vkv »

Hello Jaroslav,
Thanks for your reply.
I have seen several Photoshop extension panels like PPW, Parametric curves,Fixel Contrastica under filter menu. and these extension panels has .8bf file.
I am curious to know how to create such panels which shows in filter menu.
User avatar
Jaroslav Bereza
Posts: 38
Joined: Tue Dec 27, 2016 7:22 pm

Re: Add Scripts in Filter Menu

Post by Jaroslav Bereza »

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.
User avatar
DavideBarranca
Posts: 16
Joined: Tue Jul 26, 2016 2:12 pm

Re: Add Scripts in Filter Menu

Post by DavideBarranca »

Hi,
I did Parametric Curves and Fixel Contrastica – no plugins involved there, just look at the <javascriptresource> tag, e.g.

Code: Select all

<javascriptresource>
<name>Parametric Curves 1.1</name>
<menu>filter</menu>
<category>cs-extensions</category>
<about>Use it to build mathematically defined (Javascript) Curves Adjustment layers. Coded by Davide Barranca</about>
<enableinfo>true</enableinfo>
</javascriptresource>
The <menu> tag specifies where the script will show. You can choose between automate, filter, and help.
More info in the "JavaScript resource syntax" section of the Photoshop JS Reference.

Davide
Alex-rsr
Posts: 1
Joined: Tue Dec 19, 2017 6:37 pm

Re: Add Scripts in Filter Menu

Post by Alex-rsr »

Good Day.
Does this code works in .jsxbin files?

I try to integrate my scripts to ps menu, but it work only with .jsx files and don't work with .jsxbin files.

I hope, this is my mistake and this isn't photoshop rules.
User avatar
txuku
Posts: 136
Joined: Thu Jan 01, 1970 12:00 am

Re: Add Scripts in Filter Menu

Post by txuku »

Bonjour

And using a .jsx script that launches your .jsxbin ? :)