Page 1 of 1

Is it possible to read Finder comments using LiveCode?

Posted: Fri Mar 29, 2013 4:45 pm
by japino
Is it true that it is not possible to read Finder/Spotlight comments for a file in OS X using LiveCode? I could not find anything about this in the dictionary. Looks like I may have to resort to using AppleScript to read the Finder/Spotlight comments, but confirmation from a LiveCode guru would be nice! Thanks!

Re: Is it possible to read Finder comments using LiveCode?

Posted: Fri Mar 29, 2013 5:19 pm
by japino
I went ahead and used AppleScript to get the Finder comments, it was easier than I thought. But still it would be nice to know if this can be done from LiveCode itself.

Re: Is it possible to read Finder comments using LiveCode?

Posted: Fri Mar 29, 2013 6:00 pm
by FourthWorld
There's no built-in LiveCode command to handle that specifically, but many of these sorts of OS-specific things can be handled well through the more generic interfaces to OS extensibility provided via LiveCode's support for AppleScript, shell, etc., as you've discovered.