Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Regarding a previous hint involving webpage saving and applescript...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Regarding a previous hint involving webpage saving and applescript...
Authored by: Tim_Cox on Nov 28, '03 11:06:59AM
Good start. Thanks! Here's the basic addition you ask for. I'm sure you can polish it. Remove the click 'Save' at the end of your script and add:

property theUserFolder : "Documents:Web Snapshots:" -- You must create it before running script

tell application "Finder"
	set thePath to path to "cusr" from user domain -- returns an alias
	set theReceiver to (thePath as string) & theUserFolder & (t as string) & ".rtfd"
end tell
tell application "TextEdit"
	save document 1 in theReceiver
end tell


[ Reply to This | # ]