This file contains hidden or 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
-- Get date the easy way with AppleScript | |
set theDate to do shell script "date +'%Y-%m-%d'" as string |
This file contains hidden or 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
#!/usr/bin/python | |
# applescript.py v. 2014-09-18 | |
# based on applescript.py by Dr. Drang | |
# http://www.leancrew.com/all-this/2013/03/combining-python-and-applescript | |
import subprocess | |
def asrun(ascript): |
OlderNewer