[TxMt] pdf viewer application

Dr. Drang drdrang at gmail.com
Thu Jun 29 20:15:03 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jun 29, 2006, at 1:52 PM, Trevor Harmon wrote:

> See my "Reload Preview Document" script:
> http://vocaro.com/trevor/software/applescript/

Now that Preview has a Revert command, I suspect you could change  
part of your script to

tell application "System Events"
   tell process "Preview"
     tell menu bar 1
       tell menu bar item "File"
         tell menu 1
           click menu item "Revert"
         end tell
       end tell
    	 end tell
    end tell
end tell

and get rid of the reopen part.


- --
Dr. Drang



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEpDTHQj8ii8sv6qYRAhc9AJ4t2b/qtxkJCxN7jRZbv8GIJ5d5hQCfRoo6
rkVUEeZexi22mmKu4LoMVsQ=
=Q/Pm
-----END PGP SIGNATURE-----



More information about the textmate mailing list