Index: Support/bin/texMate.py
===================================================================
--- Support/bin/texMate.py	(revision 8771)
+++ Support/bin/texMate.py	(working copy)
@@ -125,7 +125,8 @@
     if viewer == 'Skim':
         os.system("/usr/bin/osascript -e " + """'tell application "Skim" to revert document %s' """%pdfFile)
     elif viewer == 'TeXniscope':
-        os.system("/usr/bin/osascript -e " + """'tell document %s of application "TeXniscope" to refresh' """%pdfFile)
+#        os.system("/usr/bin/osascript -e " + """'tell document %s of application "TeXniscope" to refresh'"""%pdfFile)
+        os.system("/usr/bin/osascript -e " + """'tell application "TeXniscope"\n tell document %s to refresh\n activate\n end tell'"""%pdfFile)
     elif viewer == 'TeXShop':
         os.system("/usr/bin/osascript -e " + """'tell document %s of application "TeXShop" to refreshpdf' """%pdfFile)
 
