• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Photoshop 7 (OS X)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photoshop 7 (OS X)


  • Subject: Re: Photoshop 7 (OS X)
  • From: Ron Bishop <email@hidden>
  • Date: Thu, 8 Aug 2002 08:46:59 -0500

Here's from the Photoshop scripting guide-

"It is important to be able to control dialogs properly from a script. If a dialog is shown your
script stops until a user dismisses the dialog. This is normally fine in an interactive script that
expects a user to be sitting at the machine. But if you have a script that runs in an
unsupervisored (batch) mode you do not want dialogs to be displayed and stop your script.

Using the display dialogs property on the application object you can control whether or not dialogs are displayed.

If you set display dialogs to always, Photoshop will show all user related dialogs. This is typically not what you want.

If you set display dialogs to error dialogs,then only dialogs related to errors are shown. You would typically use this setting when you are developing a script or if your script is an interactive one that expects a user to be sitting at the machine while running the script.

If you set display dialogs to never, then no dialogs are shown. If an error occurs it will be returned as an error to the script. See section 2.10.4,"Error handling" on page 31 for more information on catching errors."

--------------------------
Here's what I use...
tell application "Adobe Photoshop 7.0"
activate
set display dialogs to never
....do something.....
end tell
---------------------------

Ron Bishop
www.daddydoodaa.com

On Thursday, August 8, 2002, at 08:12 AM, Gvran Ehn wrote:

How do I set the Display Dialog to Never in Photoshop 7?
(I want to override the "replace image" dialog).

Besides I assume it is impossible to do "Save For Web" from AS not using Javascript (with the listener plug) or Actions from within the app itself. Right?
Comments are appreciated.

--
Sincerely
Goran Ehn

ph. +46 31 7015600
fax +46 31 7015620
dir +46 31 7015694

Citat Media Production
Magasinsgatan 22
SE-411 18 Goteborg
SWEDEN
www.citat.se
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Newbie, every word where it contains "ox"
  • Next by Date: Re: A question about LN Softwares XML Tools
  • Previous by thread: Re: A question about LN Softwares XML Tools
  • Next by thread: unmount disk
  • Index(es):
    • Date
    • Thread