Tag Archives: cloud

Dropbox powertip: Word recovery and customized auto-correct files

(In an earlier post, I explained how I use symbolic links to make the most of Dropbox.  Read up on that process first–and install Link Shell Extension–before proceeding with the auto-correction tips below.)

I promised to demonstrate how symbolic links allow me to overcome some of the limitations of Dropbox–namely, the requirement that everything has to be located within the Dropbox folder, whereas some stubborn programs (I’m looking at you, Microsoft Office) insist on storing important configuration files in pre-determined folders on the root OS drive.  In this post, I’ll describe how to relocate several Word-related files and folders so that they will be synced by Dropbox–and why this could be a big time-saver for you.  The first two tips are relatively easy, and don’t require symbolic links because Word lets you specify the locations manually: autorecovery documents and custom dictionaries. The third tip–moving and syncing Word’s auto-correction database files–require symbolic links, but the potential payoff in your workflow efficiency makes up for it. (Note: I use Word 2007 on Windows 7 professional for both of my computers; your mileage may vary with other versions)

Part 1: AutoRecover documents

 

AutoRecover documents are the backups that are automatically created whenever you work on a Word document.  If something causes Word to crash before the file is saved, the next time you open the program it will prompt you to look at these AutoRecover documents and determine if they should be saved or trashed.  The most obvious reason for moving these to the cloud is to increase the chances of making a successful recovery of your work–e.g., imagine your laptop gets stolen while you’re in line buying a coffee.  It won’t do much good to have an automatic backup of your important chapter draft / paper / screenplay if that backup is stuck on a hard drive you no longer have access to.  It goes without saying that your most important final documents should already be saved to the cloud for safekeeping, so why not provide the same security to your drafts?  I know sometimes I’ve written several pages of text before I get around to saving the document, giving it a name and location and thus enabling Dropbox to sync it.  By relocating AutoRecover files to Dropbox as well, I know that my work is synced from the moment I start working on a new Word document (at least, assuming I have an internet connection).

The second, less obvious reason to move your AutoRecover files to Dropbox is that it enables you to make use of the automatic Previous Versions feature that Dropbox provides.  This is one of the neat, less-utilized features of Dropbox that can sometimes really come in handy–like if you screw up an important bit of code on your website and need to ‘roll back’ to an earlier version, or if you’re writing a paper and delete some reference or bit of info that you think you won’t need, and later decide it would be a nice addition after all.  If you’re using Dropbox to sync your files, you will find that you already have access to previous versions stretching back to the last 30 days.  For another $39/year you can get unlimited backups–previous versions of every file in your Dropbox, stretching back to the very first draft!

If you navigate to your files on the Dropbox website and right-click on a file, you will see a link for Previous Versions at the bottom of the context menu (For this and all of the following images, just click on them to see a full size version):

42813-Dropbox-versions-1If you click on that button, it will load a page showing links to all of the previous versions available, including the time and date they were saved and which synced device they were uploaded from:42813-Dropbox-versions-2jpg

 

Just click on any of the Versions to download a copy of the file. Cool, huh?

So let’s move those AutoRecover files! First, head to the Options panel in Word — in Word 2007, it’s a small easy-to-miss button at the bottom of the File menu.

42813-Word-menuNext, click on the Save tab.  This is a good time to set your AutoRecover to trigger more frequently than the 10 minute default.  I set mine to 1 minute, as you can see below. To move your AutoRecover file location, just click on the Browse button and select a folder somewhere on your Dropbox.  You can also set your default file location to your Dropbox, if you haven’t already.     42813-Word-save

That should do it–your AutoRecover files will now be backed up to the cloud!

2. Custom dictionaries

Another quick and easy modification, while we’re in the Word options menu, is to set the default custom dictionary to be located on the Dropbox.  If you set all of your devices’ copies of Word to access the same file, you’ll be able to save time by avoiding the re-entry of custom words every time you switch computers.  If you already have a hefty custom dictionary file, just copy it to somewhere on the Dropbox (maybe the same folder you set up for your AutoRecover files?) and then add it and set it as the default in Word on all of your devices.  First, click over to the Proofing tab in the Options menu:

42813-Word-proofingNext, click on the Custom Dictionaries button and you should see the following context menu appear:

42813-Word-customdicAs you can see from the file path below the dictionary list, I’ve already set my default CUSTOM.DIC file to a location on the Dropbox.  I use the same file for Word on my desktop and on my laptop, so I don’t have to repeat myself whenever adding new entries to the dictionaries.

3. Auto-correct database files

Finally, this last part requires the most work, but it can pay off if you use Word frequently.  I like to manually type up notes from books that I’m reading, including entire paragraphs that I think I may want to reference later in my own writing.  This requires a lot of fast typing, and I often make typos–in fact, I often make the same typos.  In cases where it seems safe to create an auto-correct pattern to fix these for me, I do so.  You can take a look at the patterns that are already built into the Word auto-correct database: just make a typo in Word, then right-click on it and select Autocorrect, then Autocorrect Options.  At the bottom of the context menu is a list of words (on the left) that will automatically be replaced by other words (on the right).  This is how Word is able to interpret (c) and turn it into a copyright symbol, for example–or create smiley faces based on emoticons.  But there are also a lot of obvious, frequent typos that Word recognizes and automatically corrects: teh becomes the, agreemnet becomes agreement, etc.  I suppose Microsoft could be forgiven for not including such typos as anthroplogy or hegmeonic–most folks probably don’t use these on a frequent basis, but I certainly do.  I found that over time, as I experimented and added more auto-correct patterns to my laptop (my primary note-taking computer), it was saving me time and cleaning up my most-repeated typing errors.  I wanted to extend this benefit to my desktop as well, but Word didn’t provide a way to relocate or specify the files where these auto-correct patterns are saved — they aren’t included in the custom dictionaries, described above.42813-Auto-correct

 

I did some research and found that the contents of custom auto-correct patterns are stored in a few files within the default folder on the C drive where Office likes to store configuration files: C:\Documents and Settings\username\Application Data\Microsoft\Office  These files are named according to a pattern: MSO(Language ID Number).acl, where the Language ID number is a 4-digit code corresponding to each of the languages that Microsoft has provided support for (a few dozen seem to be available).  MSO1033.acl holds the entries for English; MSO1027.acl holds the entries for Catalan, etc.  You may have more or fewer or different files depending on which languages you have installed support for in Word.  Since Word requires these files to be located in the default folder, the only way I could sync them to Dropbox and share them across computers was to make use of symbolic links (described in an earlier post).  I located the files on my laptop, copied them to a folder in my Dropbox, deleted the originals, then used Link Shell Extension to easily replace the originals with symbolic links to the synced copies in Dropbox.  Then, on my desktop computer, I deleted the MSO…acl files and replaced them with symbolic links to the same synced copies in Dropbox.  Now my desktop copy of Word draws from the same auto-correct patterns as my laptop, without my having to manually re-enter all of the patterns.  And as I add new patterns on either computer, the other computer automatically benefits. Time saved!

Essential software: Link Shell Extension

One of the key ingredients in many of my Dropbox ‘hacks’ is the symbolic link.  In a nutshell, symbolic links are like post-it notes that tell your computer “Hey, I moved these files. Here’s a map to where they are now, but just pretend like they’re in the original spot. Kthxbai!”  If you’ve ever created a shortcut in Windows, this may sound like the same thing.  The crucial distinction is that most programs will follow the map to the relocated files and behave as if they are still in the original location.  Why is this so great?  Because it allows you to both 1) surpass one of the chief ‘limitations’ of Dropbox and 2) save virtually any file or folder on your computer to the cloud, either for backup or to sync between multiple devices.  It also allows you to move files from small, crowded drives (like a solid state drive) to larger or more spacious drives, hopefully without breaking any functionality in the process.

Anyway, symbolic links are normally created using the command line interface, which is tedious and leaves a lot of room for error (e.g., accidentally mistyping one character could leave your files in limbo).  Enter Link Shell Extension.  This freeware utility adds a context menu inside the Windows File Explorer.  Whenever you right click on a file or folder, you’ll see a new option to “Pick Link Source.”  After picking a source, you can navigate to another folder and right click again to ‘Drop’ the source as any of a number of types of links.  For my purposes, I always use symbolic links.

I’ll show some specific examples of files that I’ve moved to Dropbox and symbolically linked to their original location in other posts.  For now, I’ll just outline the general method:

  1. Locate the files you want to move. It’s probably best to move the entire folder, so you can more easily keep track of everything — and in case additional files are generated or added to the folder in the future.
  2. Copy the folder/files, either with Ctrl+C or using the right-click context menu.
  3. Navigate to wherever you want the files to reside–either inside your Dropbox, if you’d like to sync them to the cloud, or to a more spacious drive if you’re trying to save space on your SSD.
  4. Paste the folder/files.  You may want to create a new folder just for storing and organizing all of your symbolically linked files.
  5. Now return to the original files/folder and delete them.  This will free up the space they were using.  Alternatively, you could cut and paste in step 2 instead of copying, but if your system encounters problems while removing the files (e.g., files that are still in use by a running program), it can make a mess of things–some files will be deleted, others won’t.  I prefer copying and then deleting because I know I have a full backup of everything sitting in my destination folder, so I can use every tool at my disposal to delete the originals without worrying about losing anything.
  6. Navigate to your copied files, e.g. in the folder you created inside your Dropbox folder.  Once you’ve installed Link Shell Extension, use the new context menu option to select this folder as the Link Source: link-shell-start
  7. Now navigate back to the original location of the files you copied/cut/deleted, and right-click again to use Link Shell Extension to Drop the source as a symbolic link:link-shell-drop
  8. Voila!  Your computer will basically treat the symbolically linked files as if they were never touched; if you edit them, the changes will still be saved just like before.  The difference is that they are now physically stored in a different location, and if they’re inside your Dropbox, you can share them with your other devices.  This means that even if you didn’t install a given program inside your Dropbox folder to begin with–or if the program stores its configuration files in another directory, like C:\Users… or C:\AppData…– you may still be able to sync those files while satisfying the program’s insistence on locating its files in predetermined folders on your C drive.  I’ll offer some more concrete examples of how this is a handy feature in future posts.

Head on over to the source page to download Link Shell Extension or to read a LOT more about all of the program’s functions.  If you find it useful like I do, please send a donation to Hermann Schinagl, the creator.

Source:

Link Shell Extension