If you wish to alphabetize a list in pages....
1. Make the list as below say it's names -
Sarah
Jane
Elizabeth
Ben
Patrick
2. Insert a table on the page
3. Highlight the list of names and drag them into a box in the table - they should automatically each end up in their own box.
4. Go to the 'edit tool bar' and click on the table logo at the top, bringing up all the table edit options.
5. Select only one box in the table ie. the one at the top of the list.
Go to "Edit Rows & Columns" there is a drop down menu. This menu will allow you to 'sort ascending' 'sort descending' etc. Select which you would like.
6. Once the contents of the table are in the order you want, move the text out of the table and get rid of the table.
tell application "Pages"
-- not a perfect solution, but a near-perfect one
-- code stolen liberally from: http://www.macosxhints.com/article.php?story=20040513173003941
set blob to the selection of document 1
set blobY to paragraphs of text of blob
set TID to AppleScript's text item delimiters
set AppleScript's text item delimiters to {ASCII character 10}
set blobList to (blobY as string)
set AppleScript's text item delimiters to TID
set blobReplace to do shell script "echo " & quoted form of blobList & " | sort -f"
set the selection of document 1 to blobReplace
end tell
Even better way ...
Open System Preferences
Open Keyboard
Select Keyboard Shortcuts tab
Select Services in left-hand pane
Scroll down to Text entry.
You'll see Sort Lines Ascending and Sort Lines Descending
mt
Even better way ...
Open System Preferences
Open Keyboard
Select Keyboard Shortcuts tab
Select Services in left-hand pane
Scroll down to Text entry.
You'll see Sort Lines Ascending and Sort Lines Descending
mt
I must be really blind...... I don't see this option..... *shrug*
Pages can only sort in a table. Install WordService from Devon Technologies to add sorting in the main text layer of a word processing document.
If you wish to alphabetize a list in pages....
1. Make the list as below say it's names -
Sarah
Jane
Elizabeth
Ben
Patrick
2. Insert a table on the page
3. Highlight the list of names and drag them into a box in the table - they should automatically each end up in their own box.
4. Go to the 'edit tool bar' and click on the table logo at the top, bringing up all the table edit options.
5. Select only one box in the table ie. the one at the top of the list.
Go to "Edit Rows & Columns" there is a drop down menu. This menu will allow you to 'sort ascending' 'sort descending' etc. Select which you would like.
6. Once the contents of the table are in the order you want, move the text out of the table and get rid of the table.
You also could do this, if you've run AppleScript utility and have the AS menu in the menu bar.
Open your script editor and paste this file:
Code:tell application "Pages" -- not a perfect solution, but a near-perfect one -- code stolen liberally from: http://www.macosxhints.com/article.php?story=20040513173003941 set blob to the selection of document 1 set blobY to paragraphs of text of blob set TID to AppleScript's text item delimiters set AppleScript's text item delimiters to {ASCII character 10} set blobList to (blobY as string) set AppleScript's text item delimiters to TID set blobReplace to do shell script "echo " & quoted form of blobList & " | sort -f" set the selection of document 1 to blobReplace end tell
The script should be saved in this folder: /Users/<user name>/Library/Scripts/Applications/Pages/
Now it will appear in the AppleScript menu, under "Pages Scripts"
mt
>highlight text/list
>Format>Table>Convert Text to Table
>Inspector>Table Tab>Edit Rows and Columns>Sort Ascending/Descending
>Format>Table> Convert Table to Text
Hope it helps!![]()
Have no luck moving out of the table, back to regular text
I have no luck selecting the contents of a table and moving it back to regular text. I can't believe Apple makes no easy way to just write a grocery list and select all, sort asend or desend. So every time you want to add to a list, you have to move the list into and out of a table? I'm shocked. So once I have the list asended or desended, I have tried selecting the table, coping it and , but all I get is another table, not the raw contents of the boxes.
Holy cow, I could spend more time trying to figure out how to use this MacRumors than it took me to find the answer when I googled and found this forum. This answer helped save me many more hours of frustration. Thanks a bunch for your smartness!How to alphabetize in pages!
If you wish to alphabetize a list in pages....
1. Make the list as below say it's names -
Sarah
Jane
Elizabeth
Ben
Patrick
2. Insert a table on the page
3. Highlight the list of names and drag them into a box in the table - they should automatically each end up in their own box.
4. Go to the 'edit tool bar' and click on the table logo at the top, bringing up all the table edit options.
5. Select only one box in the table ie. the one at the top of the list.
Go to "Edit Rows & Columns" there is a drop down menu. This menu will allow you to 'sort ascending' 'sort descending' etc. Select which you would like.
6. Once the contents of the table are in the order you want, move the text out of the table and get rid of the table.