Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Getting Pages to cooperate with the keyboard page up and page down buttons' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Getting Pages to cooperate with the keyboard page up and page down buttons
Authored by: Nem on Feb 28, '11 11:05:27AM

For giggles I decided to try this out with Keyboard Maestro (I don't use Pages for text documents, so I've never had issue with the PgUp/Down buttons). Keyboard Maestro costs almost half of what QuicKeys costs ($36 vs $59.95).

Pretty much the same. I was able to create 2 macros, one for Pg Up and one for Pg Down. My coordinates were slightly different is all:

Pg Down: Lower-left corner offsets: 491, -6
Pg Up: Lower-left corner offsets: 481, -6

I usually have the "Page Thumbnails" view turned on, though. If I even turn this off or change the side panel size, I'd have to re-program the macros. ;-(

Still, a nice hint. And now I know Keyboard Maestro lets me do mouse manipulations as well. ;-)

---
Nem W. Schlecht
http://geekmuse.net/



[ Reply to This | # ]
even cheaper solution...
Authored by: wallybear on Mar 01, '11 02:48:40AM
You can obtain the same functionality using the donationware Spark shortcut tool.

Just add a shortcut for Pages that triggers the following Applescript:
activate application "Pages"
tell application "System Events"
   try
      tell process "Pages"
         repeat with thewin in windows
            if subrole of thewin is "AXStandardWindow" then
               click button 1 of scroll area 1 of splitter group 1 of thewin
               exit repeat
            end if
          end repeat
      end tell
   end try
end tell
this is the code for page down, replace button 1 with button 2 for page up.
The strange repeat loop is needed because applescript detects also floating windows, and they are detected before regolar ones; so, as we cannot know how may palettes (inspector, font, colors, etc.) are open, the script browses all the windows till it finds the first one that is a regular one (it will be the frontmost open document).
Hope this helps.


[ Reply to This | # ]