(Sorry I didn't complete my title and can't alter it)
Hopping someone can help me out.
I'm wanting to copy a URL from Safari and paste it into a new TextEdit document and then save it to a specific location.
So far I can get it as far as my clipboard then I get stuck, by using an AppleScript:
tell application "Safari"
activate
set theURL to URL of front document
set the clipboard to theURL & return
end tell