Close/Open all Notification Centre Alerts and Banners with a Keyboard Shortcut

[wce_code id=”10″]

Screen Shot 2014-11-13 at 21.23.22

If there are times when you want to close or open in one fell swoop, all the on screen Alerts and banners that Notification centre has populated your screen with. But could not find a way.

One way you can  is by creating an Automator service to run the below  Applescripts and give them a keyboard shortcut in the System Preferences Keyboard shortcuts to do so.

Here is how.

Continue reading “Close/Open all Notification Centre Alerts and Banners with a Keyboard Shortcut”

Sync random order Pictures on Multi Screen Desktops.

Apples built in ‘Change picture – random order’ option for your desktop Pictures is great.

Screen Shot 2014-11-12 at 21.17.41

But what happens if you have more than one Screen/Monitor.  Well each screen needs you to turn this on separately . And the pictures for each screen will be independently random from each other.

We can fix that using Applescript and LaunchAgents we can turn off  the above and make each desktop picture change to a random image at a set interval and be the same image on each desktop.

Each desktop changes to the same image. If I switch to a new space on a desktop it’s image will change when the time comes.

Heres how..

Continue reading “Sync random order Pictures on Multi Screen Desktops.”

Get Notification when a specific wifi network becomes available

Ever wanted to be notified when a certain wifi network becomes available?.

Maybe you are at University and the wifi goes up and down randomly. Just like the person I originally wrote this code for who is charged for mobile data when using their iPhone as personal hotspot during the Uni. wifi outage.

Here is a simple way of doing just that.

Continue reading “Get Notification when a specific wifi network becomes available”

Swift programming – Huh, No need to import .Swift Extension file

[wce_code id=”1″]

Many of you may have started to use the new Programming language Swift which Apple introduced in the WWDC 2014 Keynote.

It took many of us by surprise and for me a “oh here we go again, I now have to try and get my heard around another language”.

Apple explains that it should be easier to use and easy to pick up for new  comers.

 I suspect that it will  be as Apple says for many people, me included.

One thing so far that I like and there are many..

Continue reading “Swift programming – Huh, No need to import .Swift Extension file”

10.9.3 Update hides /Users/ folder (fixed)

There have been many reports of the latest OS X update from Apple 10.9.3 (Build 13D65) intentionally hiding the /Users/ folder.  I am not convinced this is intentional but it has Happened to me.   People have suggested running the Terminal command

sudo chflags nohidden /Users

But After a logout or restart  you would have to run it again. Annoying!. Some one mentioned that it maybe the latest iTunes update that started it in conjunction with Find My Mac being switched on.  YES My where. So as an experiment I turned off Find My Mac. and ran the command. My Users folder obediently became un hidden. And on reboot stayed unhidden. But wait what about Find My Mac. Well I do want it on right. The only problem is turning Find My Mac back on makes the /Users/ folder go bye, bye : watch the video.

I will experiment some more. Because I think when I first did this It stuck around with Find My Mac switched back on, but I cannot remember just now what order I did things in to get it. i.e when I had Find My Mac back on.

Update – fixed ..

Continue reading “10.9.3 Update hides /Users/ folder (fixed)”

Custom HEX Color Picker – 1520 HEX colours

Using a couple of hex colour list from the web. I made a .clr  Colour Picker Palette file. Using NSColorlist

This can be placed in you users colours folder:


Once done.

Newly launched Applications will pick up the new palette which holds 1520 HEX colours.

I have marked some of the names with Web Safe. These should match what is considered web safe by those that know.

Screen Shot 2014-01-22 at 15.28.13 Screen Shot 2014-01-22 at 15.23.20

Download “Custom Apple Color Picker : 1520 HEX colors” – Downloaded 1304 times – 21 KB

Broken Skype Applescripts Fix…

Some of you may know that  Skype have an API that you can access via Applescript. To do such tasks as send sms text messages.

You may have found that for some unexplained reason this has stopped working?


Continue reading “Broken Skype Applescripts Fix…”

Grrr.. PackageMaker things to remember

I do not often use Apples PackageMaker; Part of Apples Developer Auxiliary tools

Screen Shot 2013-05-24 at 19.57.13

When I do dabble  I always forget a couple of simple things that stops me in my tracks and have me spending a whole lot of  wasted time trying to figure out whats going on.

I am writing this post in the hope it will burn at least two of the things I forget firmly into my BRAIN.

The first thing


Continue reading “Grrr.. PackageMaker things to remember”

An Epiphany for fixing NSPopover not closing behaviour


First this is not a tutorial for NSPopover . Just fix for an issue.

Apple introduced NSPopover in OS X v10.7

The  NSPopover  class provides a means to display additional content related to existing content on the screen. The popover is positioned relative to the existing content.

An anchor is used to express the relation between these two units of content. A popover has an appearance that specifies its visual characteristics, as well as a behavior that determines which user interactions will cause the popover to close. …….


But it seems Apple never intended for the NSPopover to be used in a  NSStatusBar  menu item.  Those are the little menu icons in you menu bar that when you click show you info or perform an action. This is probably why Apple has not fixed the bugs when using a popover in this way.

THE Problem

Continue reading “An Epiphany for fixing NSPopover not closing behaviour”