Previous  |  Main  |  Next
AppleScript Logo

Step Two Pages Back / Forward

Script for: QuarkXPress
Copyright: Free, use at your own risk!
Description: Script A: Steps two pages back.
Script B: Steps two pages forward.

These scripts get really useful when
working on documents with facing pages!
Necessary: None
Download: Script A:  2_Pages_Back.hqx
Script B:  2_Pages_Forward.hqx
The Scripts: Script A:
tell document 1 of application "QuarkXPress 3.3"
	try
		show page ((page number of current page) - 2)
	on error -- captures the beginning of the document
	end try
end tell

Script B:
tell document 1 of application "QuarkXPress 3.3"
	try
		show page ((page number of current page) + 2)
	on error -- captures the end of the document
	end try
end tell

 


Contact: Matthias Steffens  |  Previous  |  Main  |  Next  |  Last Updated: 11-Mar-00