added check to make sure that quark is open, has a document open, and has something selected
added check to make sure that quark is open, has a document open, and has something selected

AlexanderGalen/applescripts,AlexanderGalen/applescripts