Advertisement
Guest User

Untitled

a guest
Aug 20th, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. tell application "Safari"
  2. activate
  3. if document 1 exists then
  4. set theHTMLSource to the source of document 1
  5. tell application "TextEdit"
  6. activate
  7. make new document with properties {text:theHTMLSource}
  8. end tell
  9. end if
  10. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement