Put an editor variable under the document type entry similar to: [content-type:image/gif] extension=.gif editor=gimp assuming gimp is in your path. -----Original Message----- From: eric.n.dunn@bankofamerica.com [mailto:eric.n.dunn@bankofamerica.com] Sent: Thursday, September 12, 2002 9:53 AM To: Casey Duncan Cc: zope@zope.org Subject: [Zope] External Editor question I was able to get External Editor working on a Solaris box and W2K Client. I used Python-2.2.1.exe, win32all-148.exe, and zopeedit-win32-0.5.exe on W2K client. I only had to add an editor path to the ZopeEdit.ini to get it to work on the client (Product already installed on ZServer) Works great with one (1) editor path but how do I get it to differentiate from a text editor (or html editor) and an image editor? Read your doc's and it should have worked because file types are already config'ed. # C:\ZopeExternalEditor\ZopeEdit.ini # Zope External Editor helper application configuration [general] # General configuration options # Uncomment and specify an editor value to override the editor # specified by the operating system # editor = "C:\Program Files\TextPad 4\TextPad.exe" # editor = "C:\Program Files\Adobe\Photoshop 7.0\Photoshop.exe" "%1" editor = "C:\Program Files\Macromedia\Dreamweaver UltraDev 4\UltraDev.exe" "%1" # Automatic save interval, in seconds. Set to zero for # no auto save (save to Zope only on exit). save_interval = 0 # Temporary file cleanup. Set to false for debugging or # to waste disk space. Note: setting this to false is a # security risk to the zope server cleanup_files = 1 # Use WebDAV locking to prevent concurrent editing by # different users. Disable for single user use or for # better performance use_locks = 1 # To suppress warnings about borrowing locks on objects # locked by you before you began editing you can # set this flag. This is useful for applications that # use server-side locking, like CMFStaging always_borrow_locks = 0 # Specific settings by content-type or meta-type. Specific # settings override general options above. Content-type settings # override meta-type settings for the same option. [meta-type:DTML Document] extension=.dtml [meta-type:DTML Method] extension=.dtml [meta-type:Script (Python)] extension=.py [meta-type:Page Template] extension=.pt [meta-type:Z SQL Method] extension=.sql [content-type:text/*] extension=.txt [content-type:text/html] extension=.html [content-type:text/xml] extension=.xml [content-type:image/gif] extension=.gif [content-type:image/jpeg] extension=.jpg [content-type:image/png] extension=.png _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) The information contained in this email message may be privileged and is confidential information intended only for the use of the recipient or any employee or agent responsible for delivering it to the intended recipient. Any unauthorized use, distribution or copying of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately and destroy the original message and all attachments from your electronic files.