Last active
November 12, 2022 08:11
-
-
Save SKaplanOfficial/d6930256b9c128ac714d13969effad30 to your computer and use it in GitHub Desktop.
Save all currently open TextEdit documents with PyXA
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
# Tested with PyXA 0.1.0 | |
import PyXA | |
app = PyXA.Application("TextEdit") | |
for doc in app.documents(): | |
doc.save() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment