Posted on 08-09-2011 09:51 AM
Extension attribute. I'll assume that your folks appropriately used the info.plist in the widget bundle. Return the value of your CFBundleVersion in there and then scope off of that Extension attribute.
j
---
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436
Posted on 08-09-2011 12:30 AM
echo "<result>ls ~/Library/Widgets | grep <name of widget>
</result>"
SHOULD BE echo "<result>`ls /Users/$3/Library/Widgets | grep <name of
widget>`</result>" or I ususally do this so it works on all platforms
user=logname
userHome="eval echo ~echo $user
"
userHome=$userHome
echo "<result>`ls $userHome/Library/Widgets | grep <name of
widget>`</result>"
D. Trey Howell
ACMT, ACHDS, CCA
trey.howell at austinisd.org
Desktop Engineering
twitter @aisdmacgeek
Posted on 08-09-2011 11:13 AM
That'd be running as your casper admin user on the box. You'll need to gain the logged in user and run that through.
j
---
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436