I'm using Scribus to write a textbook with lots of illustrations. I'm trying to use a script I found here to do this, but get errors:

SyntaxError: invalid syntax
  File "<console>", line 1
    else:
       ^
SyntaxError: invalid syntax
  File "<console>", line 1
    result = messageBox ('Not Found','No Images found with\n this search selection',BUTTON_OK)
   ^
IndentationError: unexpected indent

I know very little about Python and programming. Any ideas how I can fix this?

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.