<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">What version of Casper are you using? There was a bug in 6.0 that caused $3 to not be set, Casper 6.01 fixed this.<br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#8776B3" size="4"><b style="color: rgb(135, 118, 179); font-size: 14px; font-weight: bold; "><br class="Apple-interchange-newline">Ryan Harter</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#8776B3" size="2">UW - Stevens Point</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#8776B3" size="2">Workstation Developer</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#8776B3" size="2">715.346.2716</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:Ryan.Harter@uwsp.edu"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="color: rgb(0, 0, 238); ">Ryan.Harter@uwsp.edu</span></font></a></div></span> </div><br><div><div>On Jan 2, 2009, at 4:50 AM, Martin van Diemen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Miles,<br><br>Thanks for your reply. I've tried to make use of the $3 variable but the strange thing is that it's empty. We're making use of Active Directory. Could this have something to do with it?<br><br>Best wishes for 2009 to you all!<br><br>Kind Regards,<br><br>Martin van Diemen<br><br>t +31(0) 205677744<br>__________________<br><br>G-Star International B.V.<br><a href="http://www.g-star.com">www.g-star.com</a><br><br><br><br>________________________________<br>From: Miles Leacy <miles.leacy@themacadmin.com><br>Date: Wed, 31 Dec 2008 14:57:34 +0100<br>To: Martin van Diemen <martin-van-diemen@g-star.com><br>Cc: <casper@list.jamfsoftware.com><br>Conversation: [Casper] Delete com.adobe.mediabrowser.plist<br>Subject: Re: [Casper] Delete com.adobe.mediabrowser.plist<br><br>username is $3<br><br>$1 is the mount point of the target drive<br>$2 is the computer name<br><br>$4 through $11 are configurable.<br><br>----------<br>Miles A. Leacy IV<br><br>? Certified System Administrator 10.4<br>? Certified Technical Coordinator 10.5<br>? Certified Trainer<br>Certified Casper Administrator<br>----------<br>voice: 1-347-277-7321<br>miles.leacy@themacadmin.com<br>www.themacadmin.com <http://www.themacadmin.com><http://www.themacadmin.com><br><br><br><br><br>On Wed, Dec 31, 2008 at 4:58 AM, Martin van Diemen <martin-van-diemen@g-star.com> wrote:<br>Hi,<br><br>I want to delete the com.adobe.mediabrowser.plist (~/Library/Preferences/) for the user that's currently logging in. I tried to do this with a policy:<br>Search for file by path: ~/Library/Preferences/com.adobe.mediabrowser.plist and Delete if found.<br><br>This doesn't work because it can't find the file (cause it's using the casper account?).<br>Is this possible with a variable e.g. /Users/$1/Library/Preferences/com.adobe.mediabrowser.plist? $1 doesn't work.<br><br>If I use a script which variable tells me the login name of the user?<br><br>Thanks in advance.<br><br>Kind Regards,<br><br>Martin van Diemen<br><br>t +31(0) 205677744<br>__________________<br><br>G-Star International B.V.<br>www.g-star.com <http://www.g-star.com><http://www.g-star.com><br>_______________________________________________<br>Casper mailing list<br>Casper@list.jamfsoftware.com<br>http://list.jamfsoftware.com/mailman/listinfo/casper<br><br><br>_______________________________________________<br>Casper mailing list<br>Casper@list.jamfsoftware.com<br>http://list.jamfsoftware.com/mailman/listinfo/casper</div></blockquote></div><br></body></html>