AppleScript to Enable Web Sharing with QuickSilver

Doing a lot of development on my local machine, I am needing to having Web Sharing enabled much of the time. Web sharing is basically Apache running on your Mac. However the problem comes in that it will start several processes and keep them running, consuming valuable memory.

Enter Applescript

So I cobbled together the following Applescript, complete with Growl support, that will enable or disable Web Sharing for you, with one click!

All you have to do is download the attached file and run it.

What about making it run with Quicksilver?

Simple! Download the file and place it here:

/Users/{your username}/Library/Application Support/Quicksilver/Actions/

Now restart Quicksilver.

When it comes back up, type "Web Sharing" and hit "Enter".

The script will execute and toggle your Web Sharing preference.

AttachmentSize
Web Sharing.zip7.03 KB

It's working to enable it but

It's working to enable it but it's not disabling it. Any thoughts? thanks!

Post new comment

  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.

More information about formatting options

Flickr recent photos

rss
5 years old and she gets a new bike._MG_0567_MG_0565_MG_0564_MG_0563_MG_0561

User login