Forked from stephenhowells/ia-writer_marked.applescript
Last active
November 24, 2019 21:52
-
-
Save zurdors/d0b25915a453316d398a4a5c4f53816f to your computer and use it in GitHub Desktop.
Vista previa de documento activo en iA Writer usando Marked.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Previsualizar el documento activo en iA Writer usando Marked. | |
tell application "iA Writer" | |
activate | |
-- Verifica si 'iA Writer' tiene un documento activo. | |
set the_document to document 1 | |
-- Guarde el documento o pedirá que guarde si no lo ha guardado anteriormente. | |
save the_document | |
-- Si el archivo está guardado, abrirá el documento usando Marked. | |
tell application "Marked" | |
set the_file to the_document's file | |
open the_file | |
-- La ventana de 'Marked' estará al frente para que sea visible. | |
activate | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment