Tips & Tricks Part 5: Runaround

Discuss scripting using AppleScript in QuarkXPress 2015, 2016, 2017 & 2018.
Discuss scripting using JavaScript in QuarkXPress 2018.
Post Reply
Posts: 69
Joined: 31 Dec 1969, 19:00

Tips & Tricks Part 5: Runaround

Post by pjanssen » 30 Nov 2016, 08:50

I created some Applescripts, which might be useful for others too. So I wanted to share them here.

The fifth one is for toggling runaround on or off for a box.

Code: Select all

	tell application "QuarkXPress"
		tell document 1
			set var_referenceBox to object reference of current box
			tell var_referenceBox
				if runaround is none runaround then
					set runaround to item runaround
					set runaround to none runaround
				end if
				set selected to false
				set selected to true
			end tell
		end tell
	end tell
end try
This script is especially useful if a keyboard shortcut is attached to it.

If you own Keyboard Maestro: more useful macros can be found here: viewtopic.php?f=17&t=28981

Post Reply

Return to “QuarkXPress 20xx: Scripting (AppleScript / JavaScript)”