Quantcast
Channel: DEVONtechnologies Community - Latest posts
Viewing all articles
Browse latest Browse all 21559

AppleScript to erase and replace text file content

$
0
0

Yes, the contents can be accessed and updated using Applescript
From Devonthink’s script dictionary; record properties include
image

The script would be something like this

tell application id "DNtp" --------------------------Retrieve the DT data
	set theDailyNote to (get record with uuid "0538FAFE-BCDE-448C-8BDE-13E875EF34B0")
	set theNewContents to "..."
	set plain text of theDailyNote to theNewContents
end tell

Viewing all articles
Browse latest Browse all 21559

Trending Articles