Hi, I’m trying to build a Smart Rule that converts bookmarks (I’ve captured on iPhone) to HTML records after syncing. Converting works fine, but I also would like to immediately send the resulting HTML records back to iPhone (without manually starting a sync again). Already tried the “synchronize” command but it doesn’t do what I’m looking for. Is this possible?
on performSmartRule(theRecords) tell application id "DNtp" try repeat with theRecord in theRecords set theGroup to parent 1 of theRecord set theHTMLrecord to convert record theRecord to html in theGroup set creation date of theHTMLrecord to (creation date of theRecord) set unread of theHTMLrecord to true move record theRecord to trash group of (database of theRecord) end repeat on error error_message number error_number if the error_number is not -128 then display alert "DEVONthink" message error_message as warning end try end tell end performSmartRule