To import the source code from the current Safari window directly into a new GoLive Document, use the following applescript. Save and place in the script menu, or add to whatever else you use to automate your workfolow.
tell application "Safari"
set theSource to source of front document
end tell
tell application "Adobe GoLive 6.0.1"
New document
Select Line 1
Replace Using theSource
end tell
Short and sweet, but I couldn't find any references to GoLive scripting anywhere on the web, so it took a bit to get figured out, especially how to remove the initial 15 lines of code that a new GoLive file contains.
I have found that with some web pages, after performing this action, I ended up with anywhere from 1-5 lines of complete gibberish, always at the very bottom of the file. All I have to do is select it and delete it, and things work fine, otherwise GoLive complains about 00 byte characters.
Hope this helps!
Mac OS X Hints
http://hints.macworld.com/article.php?story=20030626044900462