• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Blinkin' Safari Extension UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Blinkin' Safari Extension UI


  • Subject: Blinkin' Safari Extension UI
  • From: Christopher Stone <email@hidden>
  • Date: Thu, 03 May 2012 09:33:27 -0500

Hey Folks,

I got annoyed with Safari today when I was trying to find out if a certain plugin was active.

I have 32 of the things installed, but I'm only running 10 of them.

Safari won't let you find or sort plugins in any sensible fashion, and as far as I know there's not a way to list them in such a way that you can copy the result.  So I looked in the Safari Extensions folder and was surprised to find them all there.  I figured there would be a main folder and a disabled folder - nyet.

I did find a fairly complex little plist though, and I was able to grab the relevant info from it after some effort:

------------------------------------------------------------------------------------------------
set safariExtensionsPlist to "~/Library/Safari/Extensions/Extensions.plist"

tell application "System Events"
tell property list file safariExtensionsPlist
tell property list items of property list item "Installed Extensions"
set installedSafariExtansions to value of property list item "Archive File Name"
end tell


tell property list item "Installed Extensions"
tell (property list items where name of its property list items contains "Enabled")
set enabledSafariExtansions to value of property list item "Archive File Name"
end tell
end tell
end tell
end tell
------------------------------------------------------------------------------------------------

I thought I'd post this and perhaps save someone else the trouble.

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Blinkin' Safari Extension UI
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: [ANN]Scripting Helper Update
  • Next by Date: Re: Blinkin' Safari Extension UI
  • Previous by thread: Re: [ANN]Scripting Helper Update
  • Next by thread: Re: Blinkin' Safari Extension UI
  • Index(es):
    • Date
    • Thread