Logo Search packages:      
Sourcecode: zope-externaleditor version File versions  Download package

def ExternalEditor::Plugins::photoshp::EditorProcess::isAlive (   self )
Returns true if the editor process is still alive

Definition at line 52 of file photoshp.py.

00052                      :
        """Returns true if the editor process is still alive"""
        # Photoshop has no API for checking if a file is still open
        # This workaround just checks if the file connection is
        # still accessible. It will be until Photoshop itself is closed 8^/
            self.fileconn.Title # See if the file is still accessible
            return 0
        return 1

Generated by  Doxygen 1.6.0   Back to index