Posted on 04-20-2016 04:06 PM
I am trying to make an AppleScript that will place a .app in my users dock based on the org group that they are a part of in Active Directory. For example, a teacher will get a different .app in their dock then a student, because they are part of a different group in Active Directory. Can anyone help me with this? Thanks!
Posted on 04-20-2016 04:11 PM
Why AppleScript, if JSS is able to deploy Dock icons in a policy?
https://jamfnation.jamfsoftware.com/discussion.html?id=6311
Posted on 04-20-2016 04:48 PM
Maybe this one?. I personally like to use dockutil for one off dock items per policy scoped to ad groups. It looks like maybe this post uses a script to call up AD group based on the logged in user.
edited: first line was not relevant
Posted on 04-21-2016 01:46 AM
@chmorelock07 What's the AppleScript doing?
If it's say... Opening a different URL depending on group membership (student vs teacher), you can build that logic into the AppleScript.app itself & then just deploy the one. :)
Posted on 04-21-2016 05:25 AM
Thanks guys! I will check out the dockutil. That seems to be a pretty popular option. I will also check out the policy. You guys rock!