Skip to main content
Question

Widget Search

  • August 9, 2011
  • 2 replies
  • 8 views

Forum|alt.badge.img+24

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

2 replies

Forum|alt.badge.img+8
  • Contributor
  • August 9, 2011

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


Forum|alt.badge.img+24
  • Author
  • Valued Contributor
  • August 9, 2011

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