Tip o’ the Week #204 – Mirror, mirror, on the big screen

clip_image002

Many people who’ve had a new laptop in the last year will have experienced the frustration of showing up in a meeting room, only to find that you have no means of projecting onto the screen – there are at least 5 different types of connector that could go into the laptop, and 2 or 3 that might be supported by the screen in the room.

clip_image003Wireless projection has been promised for years, with a series of proprietary and clunky technologies that never really took off. All this is set to change, using a technology which started as a consumer function on high-end TVs, yet is filtering down to £200 tellies and will be mainstream on projection systems going forward. Maybe. For now, we have to live with a profusion of dongles while projecting at work, but what about in the home? Ever fancied delivering a PPT presentation to the gathered family?

Miracast” is a standard which allows devices – PCs and Android tablets, mainly (Apple does not support Miracast, preferring their own proprietary technology) – to replicate their display and sounds onto a remote device. Windows 8.1 now supports Miracast, and if your home TV is new, then you might well find it enables the screen mirroring technology too.

There are third-party Miracast devices which can bring wireless access to your “legacy” TV and sound system, potentially – EZCast HDMI WiFi adapters or the Netgear PTV3000. Maybe it’s worth treating your living room to some remote projection goodness?

A few things to check:

  • You can only use Miracast over WiFi – it’s not applicable using wired connections, and some WiFi networks won’t support it either.
  • Even if you’ve got an appropriate telly and a Windows 8.1 machine with the right kind of WiFi adapter, you may still need to get an updated display driver (either from your PC manufacturer or from Intel directly).
  • clip_image004Surface RT currently does not support Miracast even though the Nvidia Tegra 3 SoC that powers the original Surface, does. Surface Pro and 2 should be OK.
  • You’ll need to add the TV to your PC, akin to pairing a Bluetooth device – a one-off process that is pretty self-explanatory, though if it doesn’t go smoothly, return to the “update your driver” section.
  • As you may see, this is still not exactly Plug & Play…

Having said that, when it works – it works well. Think of Miracast as like HDMI over WiFi, so could be a way of streaming music to a TV connected to a sound system. Hello Xbox Music Pass, bye-bye Sonos?

To find out more, here’s a step-by-step guide on how to project and some more details on how it works, here.

Tip o’ the Week #203 – Remote control of Office

clip_image002Anyone who regularly presents will have had the occasion when there’s a need to wander around the stage, or instead be marooned behind a lectern on the side, yet if there’s no presentation “clicker” provided, it’s difficult to control the flow. A/V professionals complain that they can never keep hold of clickers as they grow legs and walk, so unless you bring your own, you might be out of luck.

There have been any number of attempts to build remote control software for Pocket PCs, Stinger smartphones, but none have been altogether successful – usually requiring faffing about with esoteric networking to make them work. There was also the snappily-named Microsoft Wireless Notebook Presenter Mouse 8000, which could be flipped over from its primary rodent function, to expose PowerPoint clicker type buttons below. It’s so bulky, maybe the mouse’s best use in retirement is to torment cats with its laser pointer.

clip_image001Enter Microsoft Research, who recently produced Office Remote – and a means, with your Windows Phone in paw, to remotely operate Office apps using a Bluetooth connection direct to the PC.

Frankly, controlling a remote Word doc (by jumping around the structure of the document, zooming in/out etc), or Excel (moving about, using Slicers/Filters/Pivots, as well as the jumping/zooming around) is something of a novelty. How many cases will you find yourself where you’re looking at a screen showing your document from your PC, but you don’t have the means to control the document directly?

Where the remote control really comes into its own, however, is with PowerPoint. You can read speaker notes and even use your phone screen as a virtual laser pointer on the main screen – as well as swiping back and forth to move through the slide being shown on the main PC.

There are two routes to go about installing the software – there’s an agent that needs to run on your PC, and an app on the clip_image003 phone. If you run the Setup app on your PC, then look under the “OFFICE REMOTE” tab in your Word/Excel/PowerPoint apps, you can remotely install the controller app on your phone. Or start with the phone install first.

Simply install the app on both PC (running Windows 7 or 8.x) and on your mobile device, bond the two together in Bluetooth settings (part of the setup to add a new device) and you’re off. Simple, effective and free. Thanks to Simon Boreham, Ant Austin, Rina Ladva and others for recommending the application.

Tip o’ the Week #202 – Screen grabs, reprised

clip_image004Previous ToWs have covered how to capture the screen image on Windows, but things have moved on a little of late and it seems like a good time to highlight how to take an image of the screen on a number of devices. Props to Liam Kelly and Rachel Peck for inspiring this discussion.

There are any number of 3rd party screen grab utilities but here are some integral ways of doing so. Snap, Snap, Grin, Grin

Windows 8.1

ToW #183 uncovered a hack to replace the WindowsKey+S combination OneNote used but which was appropriated by Windows 8.1 preview, meaning that Win+S snappers were left with no easy way of capturing areas of the screen.

GREAT NEWS! The RTM of Windows 8.1 (or is it an update to OneNote?) has restored the ability to capture areas of the screen, this time by using WindowsKey + SHIFT + S. This method has the benefit of being able to screen grab parts of the Start screen and of modern apps too.

Windows 8.x devices

To quickly add the whole screen (or a combination of all of your displays if you’re running multi-mon) to the clipboard, just press WindowsKey + PrtScn.

If you want to capture the whole screen and find yourself lacking a PrtScn button (eg on the Surface) or in fact with no keyboard at all (eg tablets aplenty), you are able to grab the screen(s) by holding the volume down button and pressing the hardware Windows logo, at the bottom of the screen. The screen dims momentarily in both of the above methods, to let you know that the image has been dropped into the clipboard, ready for pasting into Word, Outlook or your favourite image manipulation app. Or MSPAINT.

Windows Phone 8

Simple – lightly press & hold the power/standby button and quickly press the Windows button on the front of the phone. The screen flashes briefly, the camera shutter noise may play (so careful playing with this feature in any situation where you wouldn’t want to look like you’re taking a photo…) and the resulting image is saved to the Screenshots folder within the Pictures hub.

Tip o’ the Week #201 – Multi-monitors with Windows 8.1

clip_image002

One of the best presents you can buy your PC is a second monitor. There have been a few ToW’s past that have explored the delights of running a second screen, where even just plugging your laptop into a desk monitor can make a really noticeable difference to the way you work.

The basics are all there – use WindowsKey + SHIFT + Left / Right to move the current window between monitors (though do try to remember that most desktop monitors don’t have touch input, or you might look like you’re from the Far Side). Windows 8.1 adds extra functionality though, including using the same key combo to move the main Start Screen around.

Andrew Warriner has a neat tip to maximise real estate on the 2nd screen –

Remove the task bar on a second screen.

How often do you use a second screen for presenting or running a demo and the task bar uses up valuable space along the bottom of the screen?  To remove it, simply right click on your taskbar and select Properties then toggle “Show taskbar on all displays”.

clip_image003Obviously, you can drag windows between monitors, and if you right-click on the desktop and select Screen Resolution then you can even position the two monitor icons in such a way that they reflect the physical arrangement of the screens, to make it easier to move the mouse around, and even position windows spanning the two (if you like to be really perverse).

Windows 8.1 adds some further goodness, such as the ability to adjust the scaling on individual screens – if you have a new laptop with a full HD quality screen then you may already be familiar with the fact that the pixels are really tiny so therefore everything looks small – but if you plugged your machine into an old fashioned 4:3 ratio 17” monitor, the screen resolution and pixel density would be a lot less, so windows will look larger in comparison.

If the mix is wrong, then a window that moves from one screen to another will be small on one and dis-proportionately huuuge on another – an effect akin to Billy Connolly’s Prescription Windscreen. The other side of the scaling tweak is that as we get higher resolution monitors (with 4K monitors on the horizon, even if the technology is still a little on the expensive side just now), then this will be more of an issue going the other way – an app that takes half the physical screen on a 17” widescreen laptop, would be postage stamp sized on a large high res external display.

To change the scaling on an individual monitor, go into the Screen Resolution settings, and look under Make text and other items larger or smaller – by selecting the monitor first, you can change the scaling for each individual screen, to get something a little more even.

clip_image005Windows 8.1 also allows the running of “Modern” (aka M***o) apps on multiple screens too, even combining them with the desktop environment, so you can mix & match. This fellow’s got interesting taste in apps, combining Python development with looking at puppies, alongside food, maps and pictures. Riiiight. There’s more detail on how, here.

Tip o’ the Week #200 – Top Ten Greatest Hits

clip_image001If I was to ever write a style guide for these Tip o’ the Week emails, it would say to never use the first person, and to maintain a degree of relatively irreverent humour that hopefully makes it easy to read and not get in the way of the content. When I was thinking about what to write for the ToW #200, a few areas were considered…

Rob Fraser suggested some intriguing but frankly unprintable ideas.

I considered writing an off-piste article such as “How to wash your car properly”, or “How to cook the perfect fillet steak”, amusingly the most popular (by a factor of x10) old post on my blog.

All old externally-relevant ToWs end up on the blog, so if you want to send this stuff to your customer then by all means forward the emails, or just point them at the blog.

But no. After thinking about 4 years’ worth of Tips o’ the Week, some of which are now superseded by new product releases or defunct intranet or external web sites, I decided to showcase my favourite ten, presented here in no particular order. Some are a little out of date now (eg the steps to follow changed due to a new release) but the core principle still holds up and is easy enough to figure out.

#1 – Hide Outlook New Mail Notification. In Outlook clip_image0032013, go into File | Options | Mail and look for the Message arrival section. Switch off particularly the Desktop Alert and the sound – you don’t need to know you have a new mail, and it’ll still be there next time you go to look.

#45 – Focus! Silence the interruptions! Featured a brilliant application which puts Outlook into offline mode and Lync into Do Not Disturb, for a period of time… to let you do your day job without interruption. Sadly not available externally, but you should check out the principle of the Pomodoro technique for time management.

#19 ­–­ Navigating multi-sheet Excel workbooks. Particularly useful when you’re using Multi-monitor setups (a scenario first covered in ToW #39, and updated for Win8.x in ToW #115).

#101 – Finding files for dialogs. The Copy As Path method of clicking on a file somewhere and adding its full file name and path to the clipboard is such a useful tip, it saves me practically several minutes every week. Hey, every second counts.

#71 – Formatting tips for Office apps. Introducing the “Magic Office Key no-one knows about”, F4. Not useful very often, maybe, but when you do need it, you’ll be singing praises to the Office product group.

#5 – Contact number formatting. Install this little utility into Outlook and it will live forever in your mailbox, so never needs to be re-installed. Run it to sweep your Contacts folder for number formatted 0118 etc and it will tidy them up as +44118 etc, so you can click to dial from Lync. It’s UK specific but easy enough to modify for other country codes if you’ve got any VBScript coding skills in you.

#175 – a ‘tastic OneNote add-in. The great OneNote addin “OneCalendar” has featured in a couple of ToWs, it’s so good. This is the latest incarnation, either as a standalone addin or as part of the OneTastic suite.

#102 – When did someone really put something in their calendar? I really wondered whether to “out” this technique for sneaking a look at another user’s calendar, to see how long ago they created a meeting that they are now saying conflicts with the thing you’ve already invited them to.

#105 – Productivity? Learn to type! By far the best thing you can do to increase your productivity, is to learn how to use your keyboard properly. That’s all.

#125 – Ban the Mail Bomb. Another internal-only Tip, aiming to Stop Reply-all madness. It doesn’t just affect Microsoft, though. Me too!
You could employ the great and simple addin to Outlook courtesy of Microsoft Research, which disables the Reply All functionality from any subsequent emails, without having to rely on Rights Management. See here for a description, and here to install.

Hopefully these may be a useful refresher for regulars or a new discovery for recent additions to the ToW list. Here’s looking forward to the next 200 tips – remember, keep the ideas and the feedback coming! Thanks,

Ewan

Streaming music at home

imageThose of us who like the idea of streaming music around our homes have a plethora of technologies available to make it a reality. Sadly, all of them – at least all the ones which work well – are proprietary and have some degree of “lock in” to the suppliers. Whilst this isn’t necessarily a bad thing from a user experience perspective, once you’re locked in, then you’re at the whim of a manufacturer deciding to continue supporting the system you’ve invested time and money into building up.

I’ve been playing around with streaming music for years, and have a few experiences to share, with some links to interesting discussion topics elsewhere on the net. Hands up – I work for Microsoft, and my preferences in the past have been to go down the Microsoft-compatible route as much as possible. Not necessarily the easiest route to take, as it turns out…

Apple AirPlaysee more on Wikipedia

Introduced in 2010 as an evolution of a previous proprietary protocol (AirTunes), Apple’s AirPlay is the slickest system around – as long as you have Apple devices everywhere. This alone makes it compelling enough for consumers who have already got an iPhone/iPad/iPod, to invest in other kit that purports to be compatible. There’s something of a dependency on Apple not shifting the goal posts in future, but for the majority of users who are in the Apple device fold, “it just works”.

Chris Hoffman recently published a great overview of all the wireless standards on How-To Geek. Chris highlights the various efforts the non-Apple industry has tried to counter AirPlay with – Intel’s WiDi wireless display, the somewhat disappointing DLNA alliance and the frustratingly non-aligned Miracast standard. In time, there might be a credible and non-proprietary alternative that works as well as AirPlay, but nobody seems to know when.

I have one old iPod bought only because a previous car had a 3rd party device available that swapped out its CD changer for an iPod; that side of things works well enough, but having to suffer iTunes on the PC ever since is the cross I have to bear.

Slim Devices / Logitech Squeezebox

Logitech bought over Slim Devices in 2006, to acquire their network streaming product, Squeezebox. After bringing out a number of well-regarded devices which supported the proprietary Slim Server (later “Logitech Music Server”) software, which offered a web interface as well as a number of 1st and 3rd party mobile control applications (such as SqueezeRemote for Windows Phone or Windows 8). Squeezebox devices have been discontinued now, and Logitech switched the brand to “UE Radio” – which used basically the same hardware as the last Squeezebox Radio, but with new operating software which was not Squeezebox compatible. After some disquiet from existing users, it’s now possible to “downgrade” the UE Radio back to Squeezebox however there appears to be no future development for Squeezebox apart from occasional updates to the server software. The UE Smart Radio has now disappeared from the US web site, and the UK one is showing pretty deep discounting. Looks like that’s the end of that.

I’ve had a Squeezebox Boom for a number of years, and it’s a great piece of kit – they change hands on Ebay now for not much less than they sold for brand new.

Logitech have switched tack to being a wireless speaker provider (eg the UE Mini Boom), which is possibly more user friendly if all you want to do is play music on your mobile device, but doesn’t really help if you’re looking to stream music around the house from a central library. it’s a pity, really – the Squeezebox worked really well when you got it up and running, and attracted a devoted set of users, audiophiles amongst them. Those looking for something else to replace SB with, seem to inevitably draw the conclusion that without relying on DIY or community-driven open source projects, there’s nothing much out there, but…

SONOS

Been around for since 2002, selling one platform for streaming over WiFi or over their own proprietary wireless standard. The range of devices is expanding (and to a degree contracting – the dedicated Sonos controller has been superseded with mobile apps for iOS and Android). A whole bunch of new devices have been released in the last year. SONOS starts to make a lot of sense once you have multiple devices, as you can specify different zones within your house, and play different music in each zone. Some of the devices can even be combined together – so the PLAY:1 speaker could be a standalone player in one room, could combine with a 2nd PLAY:1 to make a stereo pair, or could even be configured as satellite speakers for a home theatre system.

Downsides with SONOS? Well, they still haven’t come off the fence as to whether they’re going to build a Windows 8 or Windows Phone app controller app – ask SONOS directly and you’ll be sent to request it on their online forum, but at the time of writing and despite being the single most asked-for feature, the last comment from SONOS themselves was 6 months ago and doesn’t say whether they are planning on doing either. There are 3rd party apps out there – like Phonos or Sonata – but they don’t offer the same degree of control as the kosher apps do on other platforms, or on Windows 7/8 desktop.

Another bummer about moving from Squeezebox to SONOS is that the latter doesn’t support Lossless WMA playback – years ago, I ripped my whole CD collection in WMA, so it’s a bind to have to convert the whole lot to FLAC just so that SONOS can play it back without reducing the quality to 320kpbs. The free conversion software FOOBAR2000 did the trick of batch converting everything, but that’s just a pain to have to deal with.

SONOS supports Spotify (Premium only) so the next decision is whether to move off Xbox Music and take the plunge to a more expensive Spotify service…

 

Tip o’ the Week #199 – Checking your home network speed

As winter bites, as roadworks cause pandemonium, there may be a trend for staff to work at home more. Microsofties all know Lync powers the ability to effectively work and be contactable when you’re sitting in your shreddies in your home office.

If you have a less than perfect broadband connection, though, Lync may be a cause of frustration as it reverts to warning of a “pretty bad” connection, and remote clip_image001participants might complain about not being able to hear you, even if you can more-or-less hear them.

This is a symptom of a poor internet connection at home – very likely nothing to do with whether you’re on WIFI or wired, as the connection to the internet is likely the bottleneck in both cases. If in any doubt, there are a few tests you can run to see if your network is under pressure, and maybe even figure out why.

Test, test and test again

It’s always difficult to get an accurate idea of your own broadband speed – it’s quite variable so from one minute to the next, you can get wildly different results. If there is a bottleneck, it could be anywhere between you and the resource you’re trying to connect to – and any *** in the chain could be causing the issue.

clip_image003Speedtest.net is a popular site for testing your connection  speed over a minute or two (making sure you don’t click on any of the adverts to speed up your PC, clean the Registry, install Google Chrome etc).

It will first test your “PING” (the time in milliseconds it takes to send a request and get a response, ideally in single or low double figures), then tries a download followed by a short upload test. Typical ADSL speeds could be 2-6mbps (megabits/sec, so 6mbps would equate to 0.75 Mb per second) download, and a few hundred kbps upload (kilobits/sec, so a 250kbps rating equates to only 31.25 Kb per second). Fancy-pants cable or fibre broadband types need not worry – generally – clip_image005though sometimes may see varying spikes and troughs in the connection fidelity. The very rural who insist on living miles from the nearest telephone exchange may be stuck with 1mbps down though your upload speed may still be in the few hundred kbps.

If you imagine being on a Lync call, the upload speed is the bottleneck to decent quality – where you might be made sound like a fast/slow/quick-quick/slow Dalek to other participants if  you have too low bandwidth, or too high latency, or PING results (a symptom of the latency in the network being too high to effectively support real-time communications such as a voice call or an Xbox Live game).

To find out what your theoretical maximum speeds should be, you might be able to check in the configuration of your router, or else (assuming you’re on BT provided broadband), try using the BT Wholesale Speed Tester. Run the first test, then click on Further Diagnostics, provide your landline phone number and you’ll get more info.

clip_image007Pingtest.net needs Java (oooh, how quaint) installed on your PC to get the most out of it, but still kinda-works without it. It will test the quality of your connection (as opposed to the speed of it) and can be a useful barometer of troubles elsewhere. One issue that can cause very high reported latency could be that your connection is being maxed out by something else – kids in the house streaming movies, downloading large files etc.

Uploads can kill the capacity of your connection, however – if you’re uploading files to a SharePoint site over DirectAccess, for example, you’ll see a drop in perceived download speed too and your reported latency will likely shoot up.

clip_image009There’s a nice utility called WinMTR which can be used to track the latency between you and the internet (or in fact, of your broadband supplier’s network – who knows, maybe the problem is upstream and in the telephone exchange?). Drop in a URL or IP address and you’ll get the equivalent of a TRACERT performed repeatedly, showing average, best & worst response times for each hop between you and the eventual resource – if you’re seeing averages that are reasonable but the odd very high spike, then you’ve got a problem.

What’s causing the bottleneck?

If you’ve managed to rule out errant family members as possible causes of your poor connection, it’s worth checking your own PC before chewing out the broadband supplier – you never know, it could be a background process on your own machine that’s doing the damage.

With Windows 8.1 and the deep SkyDrive integration, as well as SkyDrive Pro and the ability to take files offline with SharePoint 2013, it’s quite possible that your own PC is busy uploading Gbs worth of content back to the office, all the time hammering your home network uplink, and causing massive latency for Lync and other applications. To perform a quick check on what is using the network on your machine, then Resource Monitor is your friend.

clip_image011

To start the tool, go to Task Manager (right click on the Taskbar and choose Task Manager, or else press CTRL-SHIFT-ESC, a simple three-finger gesture all along the left on your keyboard). Once in Task Manager, you can get some basic info on what’s hogging your machine’s resources, both now and (for Modern Apps) historically, and you can also see some pretty detailed stats on how the machine is performing all-up.

In the Performance tab, there’s an Open Resource Monitor button. If you know you want to go straight there, clip_image013you could just type resmon at the Start menu to jump straight to the app.

clip_image015Once you have the Resource Monitor up and running, a simple check is to look in the Network tab – click to sort by Send B/sec and you can see if something is bogging down the machine’s performance trhough upload…

If you tick one of the check boxes next to a particular process, you’ll see (under Network Activity, TCP Connections and Listening Ports) what activity that particular application is doing. Watch out for GROOVE.EXE and SKYDRIVE.EXE as potential file synchronisation clip_image017villains…

You could try right-clicking on the SkyDrive Pro applet in the system tray, and choose to Pause syncing. That’s GROOVE taken care of (you thought you’d seen the last of that application? Think again…). If you’ve other processes causing problems, try right-clicking on the process name and Search Online to find out what it might be, and get you one step closer to figuring out how to return normality.

Tip o’ the Week #198 – 22 minute meetings

clip_image002Hot on the heels of last week’s How 2 rite English proper tip, and the previous extensive Outlook appointment duration code-a-thon, here comes a simple yet entertainingly effective idea to think about whilst you’re digesting all the over-indulgence of the Christmas period (Merry Christmas, by the way) – if you need to meet in person, why not hold shorter, more engaged and more effective meetings?

clip_image003OneNote program manager Nicole Steinbok delivered an award-winning internal Microsoft presentation, blaming inefficient meetings (in part) on the 30-minute blocks that Outlook defaults to.

Apart from the usual stuff like starting on time, having an agenda, etc etc, there are some great bits of advice for having better meetings – some which everyone knows but nobody follows…

· Stay standing up

· Close all laptops

· Silence all phones

One director in MS UK had a Lync status message, “I try not to IM in meetings, preferring to focus on the people in the room – if really urgent please do text me”.

Perhaps not as fundamentalist a stance as the 22 Minute Meeting method, but definitely a step further in the right direction than most people take.

Proud Canadian Nicole also spoke at an external event called Ignite – improving productivity 5 minutes at a time. It’s well worth watching both this and the internal one.

For more info, there’s a Facebook group now, at http://22minutemeeting.info/.

Tip o’ the Week #197 – When to use apostrophe’s

Grammar and punctuation fundamentalists (the Basterds!) will almost certainly have read Lynn Truss’ (or should clip_image001that be Truss’s… discuss…) seminal book on why punctuation is so important.

The title highlights the difference adding simple punctuation makes to a term said of a Giant Panda, that it “eats shoots & leaves”. Add a comma after the first word, and the same bear becomes a postprandial, gun-toting evacuee.

Misuse of most punctuation doesn’t have quite the same dramatic effect, but it may signal (to some people, at least) a lack of attention to detail, therefore invites ridicule. None more so than using the prolific Grocer’s Apostrophe.

Kingsley Amis, on being challenged to produce a sentence whose meaning depended on a possessive apostrophe, came up with:

  • Those things over there are my husband’s.
    (Those things over there belong to my husband.)
  • Those things over there are my husbands’.
    (Those things over there belong to several husbands of mine.)
  • Those things over there are my husbands.
    (I’m married to those men over there.)

There’s a simple rule when wondering whether you need to add an apostrophe or not – if in any doubt, just leave it out. Jess Meats circulated a now-dead website a while ago – www.canipluralizethatwithanapostrophe.com. Visiting the site displayed a blank page carrying just the word NO. In 96pt Arial Bold.

If you’re not really sure of the rules or if you find you forget them a bit too easily, check out The Oatmeal’s brilliant graphical guide for when to – and perhaps more importantly, when not to – use an apostrophe. There are other wordsmithery wonders too – how to use a semicolon, some words you need to stop misspelling, who vs whom and more. Genius. And really, really funny too.

clip_image002

Tip o’ the Week #196 – Change Outlook meeting duration

clip_image002It’s seemingly an irrefutable law that when you book a meeting for an hour, it takes an hour. Or what might happen is some people are still rocking up at 3 or 4 minutes after the start, and others start packing up 5 minutes before the end because they have another meeting to go to. Others yet will start a whole new discussion (“oh, just one more thing…”) with 2 minutes to go.

One comedian even made a fortune trying to teach us how to make meetings work. Here’s one video that’s 20 years old – yet still holds entirely true today. It was updated last year, and the original version is almost 40 years old. Clearly we don’t learn.

Now this week’s tip has been a long time coming – since the very beginning of Tip o’ the Week, approaching 3 years ago on this blog (and a year before that internally at Microsoft), it’s something that has been in the back of mind as a productivity tip. Thanks to discovering a blog post that provided suitable inspiration for the idea, and for the majority of the code, here it finally is. Praise be! Huzzah! Etc.

Frustratingly, Outlook has never offered the option to set how long a new meeting should clip_image004be, or what time it should start. There are a few workarounds – you can set the timescale the calendar shows (so each line is 60, 30, 15 etc minutes, and if you double click on a section of your calendar to create an appointment, then it is set to that time slice). Try it out by going into Calendar, selecting the View tab, then View Settings. Select Other Settings on the pop up dialog, and change the view from there.

What we need is a Macro

Today’s tip will let you set both the default duration and the start time of new appointments – so if you want to make all meetings 20 minutes long, starting 5 minutes past the hour or half hour, then you simply set it up as such when you install the code. Don’t be afraid – there is code involved here, but it’s fairly straightforward.

Here it is, step by step:

  • Start Outlook. Well, duh – you already have…
  • clip_image005Press ALT-F11 to open the Visual Basic editor
  • Expand out the tree at the top left, then double-click on the ThisOutlookSession line, which opens a code window to the right.
  • Paste the following into the code window on the right:

Private objMeeting As clsMeeting

Private Sub Application_Quit()
    Set objMeeting = Nothing
End Sub

Private Sub Application_Startup()
     Set objMeeting = New clsMeeting
End Sub

Next, right-click on ThisOutlookSession on the left hand pane, and choose Insert then Class Module.

  • Click on the newly-created Class1 and in the Properties section immediately beneath, select (Name) and rename Class1 to clsMeeting.
  • Now double-click on the new clsMeeting, and you’ll see a code window appear on the right – copy and paste the following code into that window:

Const DEFAULT_LENGTH = 45
Const START_OFFSET = 5


Private WithEvents olkIns As Outlook.Inspectors, _
        WithEvents olkApt As Outlook.AppointmentItem


Private Sub Class_Initialize()
    Set olkIns = Application.Inspectors

End Sub


Private Sub Class_Terminate()
    Set olkIns = Nothing
End Sub


Private Sub olkApt_PropertyChange(ByVal Name As String)
    If Name = "AllDayEvent" Then
        With olkApt
        If .AllDayEvent = False Then
            .Duration = DEFAULT_LENGTH
             .Start = DateAdd("n", START_OFFSET, .Start)
        End If
        End With
    End If
End Sub

Private Sub olkApt_Unload()
    Set olkApt = Nothing
End Sub

Private Sub olkIns_NewInspector(ByVal Inspector As Inspector)
    If Inspector.CurrentItem.Class = olAppointment Then
        Set olkApt = Inspector.CurrentItem
        With olkApt
            If .CreationTime = #1/1/4501# Then
                .Start = DateAdd("n", START_OFFSET, .Start)
                .Duration = DEFAULT_LENGTH
            End If
        End With
    End If
End Sub

OK, now you have your code imported. To change the defaults for meeting duration or offset time, simply change either or both of the Const values at the top of the code. You’ll need to restart Outlook for these changes to take effect.

There are a few steps to go through now:clip_image008

  • Click the floppy disk icon on the top left of the toolbar to save your changes, then close the Visual Basic for Applications window down.
  • In Outlook 2013, go into File / Options / Trust Center, then click the Trust Center Settings button.
  • Now, go into Macro Settings and change from the default of “Notifications for digitally signed macros, all other macros disabled” to “Notifications for all macros”

clip_image009

clip_image011

Now close Outlook entirely, and restart it – you’ll get a prompt to Enable Macros – this is unavoidable, sadly, but it will only happen when you first launch Outlook. Assuming you actually want this code to run, choose Enable Macros.

Now, what happens is whenever you create a new appointment, the Macro you’ve just installed will jump on it and set the start and duration times as appropriate. If you need to change the defaults, simply go back into the VB code as above, edit the values in clsMeeting, save the whole shebang and restart Outlook again. If you don’t want the code to run any more, go back into Trust Center and change the Macro settings back to the previous value.