Saturday, April 25, 2009

How do I make an organisation chart or a flow chart in Pages?

One of the crucial things in making a chart is to have connector points between boxes and other objects, so the links can stay the same, even if you move the objects around.



The connector points of Pages are a little limited, but they exist.
  1. Create two or more shapes. (For example: Insert > Shape > Rectangle.)
  2. Make sure the shapes are floating in the Inspector > Wrap (third icon) > Floating (doesn't move with the text.
  3. Highlight two shapes.
  4. Go to Insert > Connection Line.
You can now move the objects around in Pages to fit the page layout. You can also drag the middle of the connector line to bend it. Or change line type, shadow, colour, and so on.


(Updated for Pages 9.0. Thanks for the comments pointing out that one no longer has to create the chart in Keynote!)

Tuesday, April 14, 2009

How do I find paragraph marks and tabs in Pages?

If you want to search for paragraph marks, tabs or other special characters in Pages, you can do that in the search dialogue (Edit > Find > Find...) using the Insert... drop down.


If you prefer to use Applescript to find this kind of items, you can use the special keywords space, tab, return, linefeed and quote, for example like this:

tell application "Pages"
repeat with achar in characters of body text of front document
if contents of achar = return then
display dialog (character offset of achar as integer)
end if
end repeat
end tell

Monday, April 13, 2009

Keyboard Shortcuts in Pages


To quickly learn some of the keyboard shortcuts in Pages, the easiest way is to look in the menus. In the menu above, you can for example see that you use command+C to copy.

These are the symbols that are used:

⌘ is the "command" key.
⌥ is the key called "alt" or "option" depending on your keyboard.
⇧ is the shift key.
^ is the ctrl key.

However there are more keyboard shortcuts that are not necessarily available in any of the menus. Also note that they may be slightly different (or even broken) in other languages than English. Here are some examples of working shortcuts for an English keyboard:

Hold the mouse pointer over a word, and press ⌘ ^ D. This will call up a small dictionary window. If you want more information about the word, click on "more".

Type a few letters, and press ⌥ esc to get a list of words beginning with those letters. You can also use F5 for the same function.

To change to the next open Pages window, press ⌘ `.

To change to the next open application, press ⌘ tab.

To copy text or a graphic, highlight it. Then hold down at the same time as you drag it to the place where you want to copy it.

You may have noticed that you can drag tabs around in the ruler with your mouse. However, by default they only land at certain positions. To be able to move the tabs around to any position on the ruler, hold down at the same time as you drag.

When you try to close a modified document window, you get a dialogue asking if you want to change your changes. The three buttons each have their hidden shortcut: Return saves. Escape closes the dialogue without closing the window. ⌘ D is equivalent to "Don't save" and discards your modifications.

To get super script, like in mc², highlight a character, and press ⇧ ^ ⌘ +. (In the menu, it looks like the shortcut is simply ^⌘+. However, as the + character needs ⇧ to display, you need to add ⇧ as well. To get subscripts , like O₂, you only need to press ^⌘-).

To add an indent level to an item in a list, use ⌘ ]. To remove an indent level for a list item, use ⌘ [.

To add an indent level to an item in an outline, use tab. To remove an indent level for an outline, use
⇧ tab.

Graphics

If you change the size of a shape, you can hold down at the same time as you drag its corners to keep the proportions between height and width.

If you want to rotate a shape or image, you can hold down and hold the cursor over a resize point of the shape or image, to change the cursor to a rotation tool.

If you want to make sure that a shape or image keeps the same centre point, hold down
at the same time as you resize.

Some more graphics keyboard combinations are described in this post.

More resources

In Finder, go to Help, and type "shortcut" in the search field, to get generic Mac OS X shortcuts.

In Pages, go to Help, and type "shortcut" in the searchfield, to get Pages shortcuts.

You can find more information about shortcuts in Mac OS X at Apple's support site.

You can find more information about shortcuts in Pages at Apple's support site.

To learn how to customize your own shortcuts in Mac OS X and Pages, go to this page.