<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Wheadon&#039;s Words; Mark&#039;s Mutterings &#187; dialog</title>
	<atom:link href="http://www.markwheadon.com/blog/tag/dialog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markwheadon.com/blog</link>
	<description>Welcome to Mark Wheadon&#039;s blog; I hope you find it useful. Feel free to comment on anything you read here.</description>
	<lastBuildDate>Sun, 02 May 2010 14:14:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Keyboard driven dialog boxes and menus in Mac OS X</title>
		<link>http://www.markwheadon.com/blog/2009/04/keyboard-driven-dialog-boxes-osx/</link>
		<comments>http://www.markwheadon.com/blog/2009/04/keyboard-driven-dialog-boxes-osx/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 10:25:58 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[accelerator]]></category>
		<category><![CDATA[dialog]]></category>
		<category><![CDATA[dialogue]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[keyboard accelerator]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[tea]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=692</guid>
		<description><![CDATA[Want to use keyboard accelerators to drive dialogues etc. in Mac OS X? Here's how.


No related posts.]]></description>
			<content:encoded><![CDATA[<h2>The need</h2>
<p>Coming from the <em>Windows</em> to <em>Mac OS</em>, I missed being able to interact with dialog boxes etc. without having to use the mouse. There are times, especially with the MacBook, where clicking on an option is fiddly and error prone (in bed with a cup of tea for example <img src='http://www.markwheadon.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ) and it would be much better if I could use the keyboard&#8230;</p>
<p><img class="alignright size-full wp-image-694" title="without-full-keyboard-access" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/without-full-keyboard-access.png" alt="without-full-keyboard-access" width="434" height="188" />Here&#8217;s an example: here I am quitting from <em>Safari</em>. As is often the case, the dialog has reminded me that I don&#8217;t actually want to quit as I have multiple tabs, so I want to cancel the operation. Pressing <em>return</em> will close <em>Safari</em>, but how do I select <em>Cancel</em>? (Yes, I know you can press <em>esc</em> to cancel a dialog, but bear with me &#8212; the following solution works for all dialog selections and menus, not just <em>Cancel</em>).</p>
<h2>The solution</h2>
<p>The answer is to select <em>All controls</em> in <em>Full keyboard access</em> in <em>Settings-&gt;Keyboard &amp; Mouse-&gt;Keyboard Shortcuts:</em></p>
<p><em><a style="text-decoration: none;" href="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/full-keyboard-access.png"><img class="aligncenter size-large wp-image-698" title="full-keyboard-access" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/full-keyboard-access-540x492.png" alt="full-keyboard-access" width="540" height="492" /></a></em></p>
<p>Or, much easier <img src='http://www.markwheadon.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  , type <em>ctrl+F7</em>.</p>
<p><img class="alignright size-full wp-image-693" title="with-full-keyboard-access" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/with-full-keyboard-access.png" alt="with-full-keyboard-access" width="434" height="188" />Now when that dialog pops up it looks different. Notice that <em>Cancel</em> is surrounded by a blue glow &#8212; that&#8217;s the dialog option that currently has keyboard focus, and pressing the space bar will select it.</p>
<p>Now you can navigate the dialog box using the keyboard: <em>tab</em> and <em>shift-tab</em> change the currently selected option, <em>space</em> selects that option, and <em>return</em> will always select the solid-blue default option.</p>
<p>So in this example, <em>space</em> will cancel the dialog and <em>return</em> will do the default action (close <em>Safari</em> in this case).</p>
<p>So you can now navigate dialog boxes on a MacBook, in bed, armed with a cup of tea &#8212; and I hear tell this even works with coffee, at a pinch <img src='http://www.markwheadon.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/04/keyboard-driven-dialog-boxes-osx/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
