• 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
Re: How do you know if the folder is Shared
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you know if the folder is Shared


  • Subject: Re: How do you know if the folder is Shared
  • From: Robert Poland <email@hidden>
  • Date: Thu, 20 Dec 2012 11:48:21 -0700

On Dec 20, 2012, at 11:15 AM, Axel Luttgens <email@hidden> wrote:

> Le 20 déc. 2012 à 18:10, Robert Poland a écrit :
>
>> Hi,
>>
>> Talking about folders…
>>
>> Is there a way to know in a script that the "Shared Folder" line is included in the folder window?
>>
>> Apparently the Get Info "Shared Folder" checkbox is broken. It codes not indicate the status indicated by the window line.
>
> Hello Robert,
>
> A quick guess here; assuming P is set to the posix path of the folder you're interested in, perhaps could this one be of some help:
>
> 	set is_shared to length of (do shell script "/usr/bin/dscl . search /SharePoints dsAttrTypeNative:directory_path " & quoted form of P) is not 0
>
> Axel


Thanks Axel,

I can't seem to get past "Access not allowed.


Robert Poland - Fort Collins, CO




 _______________________________________________
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: How do you know if the folder is Shared
      • From: "L. Lee" <email@hidden>
References: 
 >How do you know if the folder is Shared (From: Robert Poland <email@hidden>)
 >Re: How do you know if the folder is Shared (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: How to modify Grid Spacing ?
  • Next by Date: Re: How to modify Grid Spacing ?
  • Previous by thread: Re: How do you know if the folder is Shared
  • Next by thread: Re: How do you know if the folder is Shared
  • Index(es):
    • Date
    • Thread