def send_sync(self, content):
for result in self.send(content):<EOL><INDENT>if result:<EOL><INDENT>return result<EOL><DEDENT><DEDENT>
Sends a JavaScript command to Photoshop and blocks until it resutrns a value

        :param content: Script content