Skip to main content
Question

Applescript?

  • April 20, 2016
  • 4 replies
  • 7 views

Forum|alt.badge.img+4

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!

4 replies

donmontalvo
Forum|alt.badge.img+36
  • Hall of Fame
  • April 20, 2016

Why AppleScript, if JSS is able to deploy Dock icons in a policy?

https://jamfnation.jamfsoftware.com/discussion.html?id=6311


Forum|alt.badge.img+12
  • Contributor
  • April 20, 2016

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


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • April 21, 2016

@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. :)


Forum|alt.badge.img+4
  • Author
  • Contributor
  • April 21, 2016

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!