> On Jan 22, 2015, at 11:30 PM, Jean-Christophe Helary
> <[email protected]> wrote:
>
> I know this is not an applescript list, but I was wondering if any of you
> knew of an applescripty way to access/modify tags, or do we have to use xattr
> commands in the script ?
I have this code snippet sitting around labeled ”set finder label” but it might
be old.
on run argv
set labelIndex to (item 1 of argv as number)
repeat with i from 2 to (count of argv)
tell application "Finder"
set theFile to POSIX file (item i of argv) as alias
set label index of theFile to labelIndex
end tell
end repeat
end run
OTOH, might be a start
--
THEY ARE LAUGHING AT ME, NOT WITH ME Bart chalkboard Ep. 7G12
_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk