Hide a script in the Scripts menu

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

undavide

Hide a script in the Scripts menu

Post by undavide »

Hi,
I'm pretty sure I knew this one some time ago but alas I've forgotten.

I need to prevent a script from appearing in the File - Script menu.
Basically I dynamically attach/detach a notifier, which must point to a file on disk for the callback. I would put the file elsewhere but I'd like to keep everything in one folder, so I have to find a way to make the _callback.js from displaying as a menu item (which is ugly, rude, confusing, not elegant, etc).

Thank you!

Davide Barranca
http://www.davidebarranca.com
http://www.cs-extensions.com

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

c.buliarca

Hide a script in the Scripts menu

Post by c.buliarca »

If I don't want my script to appear in the menu I am renaming the extension as .jsxinc

Maybe there is another way within the <javascriptresource> but this worked for me...
undavide

Hide a script in the Scripts menu

Post by undavide »

Found it - a friend of mine recalled me!
Tilde, if you prepend a tilde to the file name, it doesn't show up.
Like "myFile.jsx" becomes "~myFile.jsx"

Davide Barranca
---
http://www.davidebarranca.com
http://www.cs-extensions.com