Worldsong
Displaying photos from an iPhone or iPad on a TV

I was talking to a cellgroup last night about our kids church in the township, and wanted to share some photos with them.

The logical way was to connect my iPhone to their livingroom TV (using the special Apple AV-out cable for this) and then show them the photos on my phone.

The problem that then arises though is that the only standard way on an iPhone or iPad to then display photos on the TV is run them as a slideshow.  This means the photos keep zooming by, and if you pause the slideshow to talk about a pic, you get a blank screen!

Fortunately some research turned up a couple of apps that can help with this.

TVOut Genie is a very simple app that lets you display photos quite well, once you figure out the somewhat confusing interface (an irritation is that the default setting for TV-out is Off; you have to keep going into settings to switch this back On). It costs $4.

2Screens is a far more comprehensive offering that allows you to project all kinds of material and presentations, including photos, on a TV or projector.  It took a moment to find the photo option (click on the Home icon) and you also need to set TV-out to on (in the Options menu).

It costs $3 for the iPhone version and $5 for the iPad version.

Dummy’s Guide to AutoHotKey

How did I live without this?

Ever had a program or job that required pressing six keys every time to accomplish one thing?  AutoHotKey is the answer!  This well-known free utility lets you sets up “macros” - you hit one key, and it generates all those six key strokes for you.  (Mouse clicks are also supported).

Notice though that I didn’t say “easily lets you set up…”.  AutoHotKey is incredibly powerful - you can automate anything with it - and unfortunately the documentation is targeted at PhD’s wanting to control nuclear power stations with a Dvorak keyboard and a joystick.  So, here is a quick guide for the rest of us!

How It Works

Firstly you download and install the AutoHotKey utility, which runs in the background (you never directly interact with the program, which I found disconcerting at first).

Then you set up AutoHotKey scripts for your macros.  These are just text files with some instructions in them.  You give these an extension of .ahk, and when you want to run one, you doubleclick on it, AutoHotKey fires it up in the background, and a icon for it appears in your system tray (hovering over it shows the name of the script).  You can compile these into .exe’s (see below).

Writing Scripts

Your script starts with you identifying the key(s) and/or mouseclicks that will trigger the macro.  Basically you put the name of the key (see the full list of key names here), followed by ”::”.  The following would trigger your script whenever you hit the Enter key:

    Enter::

To show that the key is hit together with Ctrl, or Alt, Shift, or the Windows key, prefix it with one or more of these symbols:

    ^ Ctrl
    !   Alt
    +  Shift
    #  Windows key

Now start a new line (just for clarity, you could put this in one line).  Use the Send command to specify what keystrokes/mouseclicks your macro must generate.  Here is a simple script, where Control+Alt+S becomes a hotkey to type a signature (ensure that a window such as an editor or draft e-mail message is active before pressing the hotkey).  Here all the characters are sent literally except {Enter}, which simulates a press of the Enter key:

    ^!s::
    Send Sincerely,{Enter}John Smith
    return

This Send command would be the same as hitting a Control+C followed by an Alt+Tab followed by the string “pasted:” followed by a Control+V:

    Send Send ^c!{tab}pasted:^v

Slowing things down

Sometimes sending all your keystrokes one after the other instantly can go too quickly for Windows, especially if one of them is to open a dialogue box, which will take a fraction of a second to come up.  In this case, send your keys separately, separated by Sleep commands to put tiny pauses inbetween.  This script is triggered by clicking the right mouse button while holding down the Shift key, and generates the keystrokes to open an Insert dialogue box, paste in the contents of the clipboard, tab to the “ok” button, and press Enter:

    +LButton::
    Send +{Insert}
    Sleep 300
    Send ^V
    Sleep 100
    Send {Tab}
    Sleep 100
    Send {Enter}
    return

Compiling scripts into .exe files

To compile a script into a .exe file, simply right-click on the .ahk file in Windows Explorer, and choose the “Compile Script” option in the context menu that appears. You can now put the .exe file in your Startup folder if you choose so that it will automatically start when you fire up Windows.

Happy automating!

This is only a minute fraction of what you can do with AutoHotKey scripts…

See the documentation on the site for more.

The month of new technologies

August was an auspicious month, ushering three new technologies into my life.

First was a Livescribe pen on long loan from a friend.  I spend a lot of time each month in strategy sessions with clients, which are usually very fast-paced and intense with lots of interaction.  Afterwards (sometimes long afterwards, if it’s been a busy week) I then need to write up detailed notes on the session for my clients.  Deciphering and fleshing out my rapidly handwritten notes and sketches is often very difficult!

This is where the Livescribe pen shines.  As you take notes, it simultaneously records an audio transcript of the conversation.  Afterwards, just by tapping the pen on a spot in your notes you can hear the conversation played back from that exact moment when you were writing!  Invaluable!  (The pen writes on special paper and tracks where it is on each page through a tiny camera under the nib).

The notes can then also be uploaded from the pen onto your computer, and the same magic is available on the screen - click on a piece of writing and hear the conversation from that point.  Plus you can drop the notes and audio into a standard PDF with the same functionality, to share with clients.

This has proved a lifesaver for me with notes … but it does mean carrying around the pen and its charger/cable, plus purchasing the special paper (about R100 per large 200 page book, from Smartscribe SA), and so I’m starting to think about rather doing the same on an iPad (now that FNB are offering iPads for R200 pm).  There are already several iPad Apps (Notability, PaperDesk, SoundNote) that link audio recordings to typed notes, and several companies plan to offer this for handwritten notes soon too.

Right!  Now that I can decipher all my notes, I store all the points from a session for future reference in one of my many mindmaps for clients, using the superb free XMind program that I’ve been using for all my creative work for years.

Now, I still have to type up detailed notes on all my sessions … and I’m not a very fast typist!  To the rescue, this month’s second new technology: Dragon NaturallySpeaking 11.

I’d been hearing very good reports about this product for a long time and finally invested in it.  Worth every cent!  It is uncannily accurate, and with it I can knock out several thousand words in an afternoon without breaking a sweat.  One caveat: the program is very resource-intensive, and tends to “lock out” other programs that use your sound card, so I generally only fire it up when I need to do a lot of writing, after which you usually need to reboot your system to get it ‘back in the groove’ again.

Finally, at the end of the month, compliments of my latest Vodacom upgrade, I got a free iPhone 4.  It is every bit as amazing as I expected … more on this in the future..