Actions

Comments

4 Comments »

  1. managed forex…

    news…

    Trackback by managed forex — December 6, 2007 @ 9:31 pm

  2. I tried to install this Automator Action but go tthe following error:

    Error: 1. chown: tom: invalid argument

    I’m using Leopard 10.5.4 Has anyone been able to successfully install this one? Any idea what is going wrong here? Is there any manual way to install this Automator Action without using the provided installer?

    Thanks………… Tom A

    Comment by Tom Auciello — July 6, 2008 @ 6:42 pm

  3. Ran into that problem too – figured out it fails because users on Tiger have their own group, with name identical to their short username. After Tiger users are all in group “staff”.
    You can get the group and user names with this code:
    set thisGroup to word 1 of (do shell script “groups”) — username in Tiger, “staff” in later versions
    set thisUser to (do shell script “logname”)

    Comment by alastor933 — February 11, 2010 @ 10:52 am

  4. sorry ’bout garbled lines:

    set thisGroup to word 1 of (do shell script “groups”) — username in Tiger, “staff” in later versions

    set thisUser to (do shell script “logname”)

    Comment by alastor933 — February 11, 2010 @ 10:54 am


Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>