• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Basic Script in DT Pro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Basic Script in DT Pro
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Re: can't find error
  • Next by Date: Kindle Mac App
  • Previous by thread: Re: Script editor scrolling
  • Next by thread: Re: Basic Script in DT Pro
  • Index(es):
    • Date
    • Thread