Hello,
I want to be able to save multiple tabs open in DA as RTFs to my DTpro database. I’ve been trying to modify the following script but I’m missing the correct “type” when creating the record. As a way of example the script below has a type:txt which gave a quite interesting result that I might use for other purposes but not the RTFs of the pages I have open in DA. Can someone help me?
tell application "DEVONagent"
set theTabs to tabs of window 1
repeat with theTab in theTabs
if exists URL of theTab then tell application "DEVONthink Pro" to create record with {name:name of theTab, URL:URL of theTab, type:txt}
end repeat
end tell