Открыть и сохранить
Friday, August 22nd, 2008Скрипт открывает страницу в Safari и сохраняет ее как myfile_03-05-2008.html
tell application "Safari"
activate
make new document at end of documents
set URL of document 1 to "http://mymans.org"
get document 1
delay 3
set pathToSave to (path to desktop as text) & ("myfile_") & (do shell script "date '+%d-%m-%Y'")
save document 1 in file pathToSave
end tell

