iPhone Mail – Ghost Mail Count

mail_icon

Today I had an annoying problem, where the iPhone Mail was claiming I had some unread messages in my inbox, I checked thoroughly, and there wasn’t any unread mail to be found

Thankfully the fix for this is pretty simple, and is detailed below

1. Go to Settings

2. Go to Mail, Contacts, Calendars

3. Tap on your account

4. Next to Mail, move the slider to the off position

5. Power off the phone

6. Power on the phone

7. Go to Settings

8. Go to Mail, Contacts, Calendars

9. Tap on your account

10. Next to Mail, move the slider to the on position

11. Go back to Mail and once synchronised, you will have no ghost unread mail

job done

Remove Multiple ‘Open With’ Menu Items – Command Line

Command Line Network Configuration
So, I had this annoying situation the other day, when I CTRL Clicked on a file and chose Open With, I was presented with this menu

openwith

Multiple versions of Excel and Word to choose from, probably caused by software updates, anyway, I didn’t like this, it made the menu looked cluttered, so to remove it, you need to open Terminal and enter the following line of code

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

It takes a few seconds to work, but afterwards you should end up with less cluttered menus

newopenwith

You may need to relaunch Finder, which is done by pressing CTRL, ALT and clicking on the Finder icon in the Dock, then click on relaunch

System Preferences – General – 10.8

 

I thought I’d do a series on System Preferences in 10.8, as these have changed a little from what people are used to, and some have a few options that can re-enable ‘lost’ features
So, I’ll start with General

Here, the most useful options for bringing back old features are as follows

 

Show Scroll Bars – Choose Always

This will bring back the scroll bars that have been ‘lost’ since switching from 10.6

 

Ask to keep changes when closing documents – Tick the box

Tick this box if you have been unnverved by 10.8’s autosave feature, and would rather be prompted to save all documents that you have open, like the good old days

 

Close windows when quitting an application – Tick the box

Tick this box if you would rather applications opened empty and fresh, rather than slightly delayed as they try to restore all the windows that were open when you quit it

 

Open Quicktime Movie Fullscreen & Loop – 10.8

I had the task of setting some TV’s to show QuickTime movies on a loop, Fullscreen

This was a little trickier than it used to be, as some of the commands in Applescript have changed over the years, you’ll find below the script I ended up using, this starts off by checking if QuickTime Player is running, then quits it, then opens the movie file required, makes it full screen and then loops it

the reason for checking if it’s running and quitting it first, is that in 10.8 (and probably 10.7), applications that were open when a machine was forcibly shut down tend to re-open again, and if we didn’t quit it first then it will try and open a file thats already open and end up erroring.

anyways, here’s the script, I saved this as an application, set this as a login item and set the machine to login automatically, hope this helps you out

on appIsRunning(appName)
tell application “System Events” to (name of processes) contains appName
end appIsRunning

if appIsRunning(“QuickTime Player”) then
tell application “QuickTime Player”
delay 1
try
close document 1
end try
delay 1
quit
end tell
end if

delay 1

tell application “QuickTime Player”
delay 1
activate

delay 1

open POSIX file “/Path/to/Movie/file.mov”

play document 1

set looping of document 1 to true

set presenting of document 1 to true

end tell

Quickly Encrypt External Drives – 10.8

 

 

Since 10.8 was released you now have a quicker option for encrypting exetrnal devices, like USB Keys or External Hard Drives

I’ve had some issues with this on FAT formatted drives, but its worked fine with HFS (Mac) formatted drives

It really couldn’t be simpler

Insert a USB Key, or FireWire drive into your Mac

Right Click (or CTRL Click) on the drive once its mounted

Click on Encrypt “VolumeName” – VolumeName will be replaced with the name of your external device

enter a password and then click on the Encrypt Disk button

For USB Keys this is usually pretty quick, but for 20GB+ capacities then be prepared for a wait, the time it takes isn’t easily guessible, as it depends on the spec of your machine and the other tasks you are running at the same time, but i’d estimate 30 mins + for over 20GB

job done