Copy link to clipboard
Copied
Hi,
I need to hide/disable the "save As" and Save option in the "photoshop application CS5 menu" via scripting. Kindly advise me
Thanks for looking into this.
Maria
Copy link to clipboard
Copied
I see no possibility for achieving that with Photoshop Scripting.
They can’t even be hiden with Edit > Menus, I guess.
What’s your reason for this anyway?
Copy link to clipboard
Copied
What’s your reason for this anyway?
Hi pfaffenbichler,
Some times our user not saved the file with proper settings. So we planned to disable or remove the save and saveas option in the menu and create a "Save As script with proper settings" for saving the files.
Is it possible?
Regards,
Maria
Copy link to clipboard
Copied
As I stated earlier I see no way of hiding the Save-dialog item in Photoshop via Scripting.
The shortcuts could be disabled, but the Save-menu-item seems off limits.
Maybe Script Events Manager could be employed to intercept a command, though.
Copy link to clipboard
Copied
Maybe Script Events Manager could be employed to intercept a command, though.
No, those events are handled after the event so the event can not be intercepted. In the Photoshop Object Model those event scripts called Notifiers. I think that is a better name. You can not 'manage' an event only be notified that one has happened.
And you are not notified that the document has be saved if the saving is done as part of a Document or Application close event.
Copy link to clipboard
Copied
Thanks for clearing that up.
So the OP’s intention is not attainable in your opinion, too?
Copy link to clipboard
Copied
I do not think it is possible. The ability to control how or where a document is saved is a question that comes up from time to time. I have never seen anyone come up with a scripting solution.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now