Synchronizing Folder on Linux server

In Devonthink Pro Office I would like to synchronize a folder which is situated on a Linux server, so Folder action does not work, unfortunately.
I had the idea to generate an Applescript which is constantly running and in a regular time interval asks DT to synchronize this folder. However, my script does not work, so any help is appreciated.

delay 10
tell application “DEVONthink Pro” to launch
tell application “DEVONthink Pro”
synchronize record “/pdfs”
end tell
end try
end repeat

Any suggestions?


You’re specifying a path ("/pdfs") instead of a reference to a record. Something like…

set theRecord to get record at “/pdfs”
synchronize record theRecord

…should work.