Man, you made me look to find out whether I was on DT forums. I know that only DT Pro can do this (but how??), I own DT Pro, hence my question.
Ok let’s try another approach, I’m using a modified script of the following (posted on this forum):
tell application "DEVONthink Pro"
with timeout of 30 seconds
set theRecord to create record with {name:"Temporary Link", type:nexus, URL:"http://www.apple.com"}
set theWindow to open window for record theRecord
repeat while loading of theWindow
delay 1
end repeat
set theURL to URL of theWindow
set theSource to source of theWindow
set theName to get title of theSource
set theData to web archive of theWindow
set theArchive to create record with {name:theName, type:html, URL:theURL}
set data of theArchive to theData
delete record theRecord -- Closes window
end timeout
end tell
Now the question is: How do I modify the code above so that DevonThink Pro 1.0.2 adds a thumbnail to the web archive it just created?