686 – What’s that #:~:text?

clip_image002Hypertext was a concept first coined in the 1960s, inspired by an idea in the early 1940s as a way of thinking about organising information. The first practical implementations of Hypertext let a document or application reference a link to some other content, just as we now know web hyperlinks to do. It’s no wonder that when Sir Tim was conceiving the means of writing what came to be pages on the web, he envisaged hypertext – or even hypermedia – as the glue that holds it all together.

True hypertext documents or applications don’t just link pages to each other, but specific contents – it could be a fly-out or a pop-up with a definition of what a specific term was, or it might be a link that jumps into a particular part of a longer document.

clip_image004

Many web pages have bookmarks defined within – eg Wikipedia typically has links on the left side which jump to parts later in the document, and the bookmark is added to the end of the URL – like https://en.wikipedia.org/wiki/Hyperlink#HTML

Office docs offer similar things – Word and Outlook have Bookmarks, PowerPoint can have hyperlinks inside slides that jump to a different slide etc.

If you look at documents stored on OneDrive or SharePoint, it’s often possible to create a link directly from within the full fat Office application, to a part of that document – eg clip_image006in PowerPoint, right-click on a slide in the sorter view and it will display a URL to that specific slide, that you could share or link from elsewhere.

When dealing with web pages, there are some other tricks you can do to jump straight to a part in the page, even if that page itself has not defined the bookmarks for you to reference like the Wikipedia one above. The WWW Consortium fairly recently defined a standard for handling “Text Fragments”, which means you could link to a specific phrase on a page. Clicking the link will navigate to that point on the page and highlight the text. This is done with a strange looking tag at the end of the URL: #:~:text=whatever.

Example: one of the most-visited articles in the TipoWeek archive, Killing me Softly, part I (a wistful post looking back at some of the Microsoft tech which has ceased to be) has a part which deals with the audio file format, Windows Media Audio – see it on https://tipoweekwp.azurewebsites.net/2016/10/21/tip-o-the-week-350-killing-me-softly-part-i/#:~:text=Windows%20Media%20Audio.

clip_image008Handily, if you want to generate a link straight to a word or phrase on a page, both Edge and Chrome offer a feature if you right-click on some text on the page – it may use other text fragment features to help steer to this specific piece of text, rather than just the first time that phrase appears on the page. See it in action, here.

669 – Hazelnut in every bite

imageWhat has a hazlenut in every bite? That’s right, a Topic from the British sweetie shop of yesteryear, and nothing at all to do with what’s near Tufty’s nest. Sadly discontinued last year, due to falling demand, there’s no accounting for taste.

Topics are still available today to users of Microsoft 365, as a way of curating certain scraps of knowledge that they can share with other users within the same organization. The very first version of Microsoft SharePoint (codenamed “Tahoe”) had a capability that aimed to do much the same thing – “Best Bets” were a way for an administrator to guide the search experience so that if someone ran a query for a term, rather than returning hundreds of old PowerPoint files that contain that word, it would take the searcher to a more official site.

clip_image002Viva Topics – because everything is getting Vivafied just as in the days of Tahoe, every other product had Live and/or .NET in its name – is part of a growing family of “employee experience” offerings; it’s an addon to even the top flight Office Microsoft 365 subscription, but adds AI-powered discovery as well as the means to manually curate things.

After deploying Topics and assigning licenses to the appropriate users, topic pages can be automatically created based on the documents that exist already – the Search and underlying Graph services can identify subjects that look like are active, with people contributing to them through documents, conversations and so on. Codenames or location names, for example, could be quickly identified and suggested.

A Knowledge Manager could also be assigned to create or approve new pages; individual users could be empowered to do it themselves, though that might end up in something of a mess. Best practice would be to have some kind of form or email-based request, where a user would ask for a topic page to be created and they would then own the content within.

clip_image004

Discovery is pretty easy – depending on how it’s set up, if the title of a topic is mentioned on a SharePoint site, it can be automatically highlighted on a pop-up card with which will give a summary of the topic, and a link to more the main page which contains furtherinformation.

clip_image006Topic pages themselves can be full of useful info; a search for documents or other pages that the SharePoint environment behind the scenes considers to be related, as well as specifically curated sources of information, contact cards for the people who are managing the project or involved with the customer, links to docs or other websites etc.

clip_image008

Within Office apps like Word or Outlook, if the user highlights a word or phrase and chooses to Search for it, a sidebar in Office will run a search online and across internal sites for that word – this is avialable to everyone, with or without Topics deployed.

If Topics has been configured and the searched for term is a topic (or is one of the topic’s synonyms, or is otherwise related), then the user will see it fairly prominently in the search results.

Now who’s for some chocolatey nuts?

623 – What’s .new pussycat?

clip_image002Many products evolve due to exposure to their competitors – adopting and refining the best features, and sometimes that evolution even starts to overtake the original. Many traditional desktop applications moved to online variants or were supplanted by newer concepts, such as shifting to mobile apps. Experiences that were clunky – like banking – moved to sometimes lower-functionality but more convenient apps, just as consumers adopted mobile payments and contactless cards.

Having blazed a trail with email in Hotmail and later Outlook Web Access, in 2010 Microsoft launched the first version of the Office web applications, meaning you could run lightweight Word, Excel and PowerPoint in your browser, as a companion or even as an alternative to the full-fat desktop versions.

A few years earlier, Google Docs released as an online word processor (and later, other types of productivity apps, rebranding as G Suite and now Google Workspace). There are pros and cons of the browser-only experience; you tend to sacrifice some functionality compared to the desktop applications in favour of ubiquitous availability, though web clients can be updated more easily and sometimes new features appear there first – as ToW #605 covered, with snoozing email.

Check out What’s new in Excel for the web or look for the summary covering Visio, Forms, Words and more, here.

clip_image004Not sure about living in a browser? Modern-living afficionados can get by, using only web apps like Outlook, OneNote, To-Do and more.

If you like being browser based rather than desktop boundclip_image006, you could start a new document from the address bar by simply entering word.new, excel.new or powerpoint.new. Others include docx.new, ppt.new, teams.new, sway.new

clip_image008You could add such links to your browser favourites; therefore, a new doc is but a single click away.  There are many more .new shortcuts – Google’s in-house domain registry launched the service a few years ago, so not unsurprisingly, Mountain View hoovered up a lot of the relevant ones if you’re of a Googly persuasion. See docs.new, sheets.new or slides.new, mail.new

593 – It’s a Date

clip_image002Following last week’s missive on Notepad, including the obscure tip on how to create a log file, the topic of inserting and handling dates in other applications is worth a (re-)visit. Each individual app may choose to offer different methods and formats, but for common Office applications there are a handful of memorable tricks and shortcuts.

clip_image004In Word, there are plenty of ways to insert and manage dates – perhaps the most useful way to remind the reader when the document was last updated (manually showing when a document was last reviewed or published). On the Insert tab, you’ll find Date & Time on the right-hand side, letting you add appropriate info in the format of your choice. You can also tick a box to update the field automatically, though that simply means every time the document is opened, it will show today’s date… which feels a bit pointless.

clip_image006More useful could be to tell the reader when the document was created or last saved, by referencing the actual properties of the document clip_image008(though be careful; auto-save might mean someone opened an old document, realised it was irrelevant, but had inadvertently saved it back).

On the Insert tab / Quick Parts, look under Field, then pick the doc property and format you’d like to show.

It is worth pointing out that showing a date as 10/1/21 (or similar) is ambiguous given that a few hundred million people will expect it be month-day-year while many of the remaining 7 billion will assume the day comes first, with a couple of billion presuming the format should normally start with the year, such as yyyy-mm-dd (which is arguably the most sensible of all; and it sorts properly, too).

A more daily usable short format like dd-mmm-yy (ie 13-Aug-21) should perhaps be the norm, especially when the date is appearing as text in a document. Pressing SHIFT+ALT+D in Word will insert the current Date as a field (so you can edit the format to remove ambiguity) and SHIFT+ALT+T inserts the current time too. In PowerPoint, both of these combos bring up the “Date & Time” dialogue to add the chosen content and format as plain text.

clip_image010When formatting dates, incidentally, the convention is that two letters refer to the short number (eg dd = 13), whereas 3 d’s or m’s will use the short form of spelling the day or month, with 4 meaning the whole thing (ie Friday, August). Try formatting a cell in Excel as Custom, and you can preview what the format would be, by typing in a variety of letters.

While in Excel, it’s worth learning the short cut key to insert the date and time – CTRL+; and SHIFT+CTRL+; respectively (no doubt there’s a reason why Excel has a different shortcut to other Office apps – some legacy of Lotus 1-2-3 perhaps?).

OneNote fans will want to remember that SHIFT+ALT+D / T combo as it inserts the date/time into the notebook; really handy when taking notes of a phone call or similar. SHIFT+ALT+F puts both day and time, something that Word doesn’t offer. In both Desktop OneNote and users of the Windows Store version, it’s just plain text that gets added, so you’re on your own when it comes to formatting.

clip_image012

OneNote pages will typically have a date & time showing under their title – on the Desktop version, it’s possible to change that so as to mark a page as having been recently updated. No such luck on the lame duck Store version.

At least when stalwarts insist on writing – or worse, saying – a short-form date as something like “ten one”, there’s more than half of each month where one number in the date could only mean “day” – starting with the thirteenth (as in, 8/13 can never by the 8th of a month, but 8/12 could be a few days before Christmas to Europeans, or the date when tweedy Americans start looking for grouse in the Yorkshire moors and Scottish Highlands).

555 – checking Accessibility

clip_image002The word “accessibility” has been used for decades as a catch-all for how people of differing abilities can interact with their surroundings, and often applies to technology which can help to overcome barriers. It’s very easy to go about your day with no thought to how others could be affected by things that you don’t even notice, whether as a result of actions you do or just objects you encounter. Design plays a big part in helping people who have disabilities or who may find certain things more difficult, and good design means that assistive technology does not get in the way of anyone who doesn’t need it.

These technologies often spawn wider usage in unforeseen ways, and in many cases are developed not for goals of making a fortune or having global influence, but to help a particular individual:

Microsoft has a long history in pushing accessibility technology – Windows 95 was the first clip_image004operating system to ship with accessibility options built in, and has developed a variety of tools and platform services aimed at developers. Windows 10 has many built-in options, grouped mainly under the Settings | Ease of Access applet.

You can jump straight to many of the settings applets by running ms-settings:easeofaccess-keyboard or ms-settings:easeofaccess-speechrecognition and so on.

clip_image006If you don’t need to use assistive technology yourself, it’s good practice to think about how your work might impact people who do – and there’s a tool built into Office applications which will give you tips to make sure your document or email is suitable for users with accessible needs, such as having the contents read out by the machine, or making sure there’s adequate contrast in text colours, for improved reading ease.

The Check Accessibility option on the Review tab in Office apps like Word and Outlook, should be run just as you’d check the spelling of a document when you think it’s finished. The tool will give you a series of recommendations with guidance as to why it may be better to change aspects of the document. Not every one will be viable – you may want to have images in a particular place on the page, for example, rather than just in-line with text – but many are quick to correct.

clip_image008If you’ve inserted graphics or charts, for example, then it’s worth adding “Alt Text” to describe what it is, so screen-reading software can read your description of what it is. Right-click on your image to add the text, or have the PC generate a description for you – sometimes with amusing results…

clip_image010Thanks to Jon Morris for providing feedback on ToW #554, about email signatures – Jon rightly points out that many of us have tiny logos (Twitter, LinkedIn etc) or other icons in our email .sig, but don’t have Alt Text on them.

One call to action would be update your own sig to add Alt Text, or to mark the images as decorative so screen reader software ignores them.

For more tips on how to write documents which are more accessible, see guidance from Microsoft or from the University of Washington. Some resources for developers or web page designers from the UK Gov, with plenty of links to other sources – Testing for accessibility – Service Manual – GOV.UK (www.gov.uk).

Tip o’ the Week 396 – Handling dates in Office apps

clip_image002There are many times when you may need to deal with dates in ordinary applications – and there are a few shortcuts that you can make it easier.

In Outlook, any time there’s a date field (like when you’re setting a reminder, or clip_image004entering the start date/time for an appointment) you can choose or enter a regular date, or put in an expression – like “2 days” or “next Tuesday” – and Outlook will figure out the offset from today, and will set the appropriate date.

In some date fields (like an appointment start time), if you say “4 days” then press enter or TAB, it will evaluate the new date; if you return and put “4 days” again, it may add those extra days to the last date. Try a few other things like “next Christmas”, “3rd Sunday in November”, “2mo” , “7d” or some special days – there are some surprising ones there, like “Lincoln’s birthday”, and other events with static dates … though nothing that might change the actual date from year to year (like Easter, or Thanksgiving).

clip_image006In Excel, press CTRL+; to insert the current date into any cell – add a SHIFT key to insert the time instead. Excel are many date-oriented functions, but you don’t always need to write functions – simple maths can work on date fields – calculating the number of days’ difference between two dates, for example, or adding a number of days to a start date.

clip_image008In the desktop OneNote app, if you want to edit the date and time at the top of a page, click on the field and you’ll see a clock or calendar icon appear next to it – click on that  is set to, click on that to change the value; handy if you’re updating some reference material and want to make it clear that it’s recent.

Another way might be to insert the current date or time into the text: to do so, press SHIFT-ALT-D, or SHIFT-ALT-T for the current time, or SHIFT-ALT-F for the current date and time. The last one is really handy if you’re taking notes about a phone call, and want to quickly note the time that your insurance company said that everything was all fine, or when you started the indefinite call to the airline. The same shortcuts apply to the desktop OneNote 2016 application and also the OneNote store app.

clip_image010Word also supports SHIFT-ALT-D and SHIFT-ALT-T like OneNote, though inserts a date or time field rather than a simple bit of text, and is slightly different to the Date & Time command on the Insert tab, which gives a bit more control over the formatting at the point of insertion, rather than requiring the user to insert the field then go back in to edit the format.

Since Outlook uses Word as its text editor behind the scenes, the same shortcut keys will also insert date fields into the text of an Outlook email.