Basic Script in DT Pro
Basic Script in DT Pro
- Subject: Basic Script in DT Pro
- From: Chris Nidel <email@hidden>
- Date: Fri, 13 Feb 2015 18:30:33 -0500
Hi,
i am trying to get a file by name. I have a CSV file with names of files and metadata. I was to take the file names, find the files, then assign various metadata from the CSV to the files by name. I am doing this in DevonThink Pro. I can read the file names from the CSV file, but when i use:
set theFile to lookup records with file ["LEVP00024290.pdf”]
it returns {} despite there being a file by that name.
how do i 1) lookup the file by name and 2) then set its properties?
(the reason I ask 2 already, is because i used lookup records with tags instead and that worked to get files, but then i still couldn’t set the properties i tried setting.)
help appreciated.
chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden