Search found 7 matches

by teslaball
Wed Aug 30, 2017 5:46 pm
Forum: Photoshop Scripting: Code Snippets
Topic: Delete Tool Preset by Name
Replies: 9
Views: 19688

Re: Delete Tool Preset by Name

Hi,
I actually messed something up in main.js and corrected the problem, actually the solution is to uncomment line 2 and everything is working fine now. Thanks again txuku, you helped me alot as I really understand now what you wanted to tell me all the time. My apollogies.
by teslaball
Tue Aug 29, 2017 1:44 pm
Forum: Photoshop Scripting: Code Snippets
Topic: Delete Tool Preset by Name
Replies: 9
Views: 19688

Re: Delete Tool Preset by Name

txuku wrote:Bonjour

I remove the new forms I have created by means of this function !

Is not that your case? :)
Hi txuku,
I am totally lost now, please if you feel like editing the above code so I can understand exactly what you mean.
Thank you
by teslaball
Sat Aug 26, 2017 9:46 pm
Forum: Photoshop Scripting: Code Snippets
Topic: Delete Tool Preset by Name
Replies: 9
Views: 19688

Re: Delete Tool Preset by Name

Hi txuku, Thanks for your answer, is this what you mean? P.S. I placed dashes in the code where I made changes according to your answer so you can easily find them: //usage: deleteToolPreset("MyBrush"); ------ function deleteToolPreset(name){ var ref = new ActionReference(); ref.putEnumera...
by teslaball
Fri Aug 25, 2017 5:23 pm
Forum: Photoshop Scripting: Code Snippets
Topic: Delete Tool Preset by Name
Replies: 9
Views: 19688

Re: Delete Tool Preset by Name

Hello, I have tried to implement the code in hostscript.jsx and still does not work. And does getObjectValue(7) is a preset numbered 7th in order, and what if it is 10th, will it still be deleted? Please help me on this because I am lost. By the way I know it is old post, but it's worth to be here, ...
by teslaball
Fri Feb 03, 2017 2:06 pm
Forum: Help Me
Topic: Orange rectangle around button and menu list does not disappear
Replies: 3
Views: 5648

Re: Orange rectangle around button and menu list does not disappear

Bonjour It seems to me that you do not provide all the elements necessary to the execution of this script ??? For me ; Error2 Windows is not defined line 7 Do you need the HTML+CSS code? The code works perfectly inside PS, only the annoying orange rectangle and clicking outside the extension the dr...
by teslaball
Thu Jan 26, 2017 9:42 am
Forum: Help Me
Topic: Orange rectangle around button and menu list does not disappear
Replies: 3
Views: 5648

Re: Orange rectangle around button and menu list does not disappear

Is there anyone who could help me in solving this problem? I think solving this problem isn't hard at all for the experienced.
by teslaball
Wed Jan 25, 2017 2:45 pm
Forum: Help Me
Topic: Orange rectangle around button and menu list does not disappear
Replies: 3
Views: 5648

Orange rectangle around button and menu list does not disappear

Hello people, I am new to this forum and need help on Photoshop CC2017 HTML5 extension that I am building. The dropdown menu is working as expected, but actually there are two problems left, the first problem is when clicking on the dropdown button it is framed in an orange rectangle which I want to...