Tips & Tricks Part 1: Border inside/outside

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

Tips & Tricks Part 1: Border inside/outside

Post by pjanssen » 30 Nov 2016, 08:34

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

The first one is for setting the borders of boxes to grow inside or outside.

Code: Select all

tell application "QuarkXPress"
	activate
	tell project 1
		if frame inside of layout space 1 is true then
			set frame inside of layout space 1 to false
			display dialog "Framing is now set to \"outside\"" buttons {"OK"}
		else
			set frame inside of layout space 1 to true
			display dialog "Framing is now set to \"inside\"" buttons {"OK"}
			
		end if
	end tell
end tell

If you own Keyboard Maestro: more useful macros can be found here: viewtopic.php?f=17&t=28981
Attachments
Keyboard Maestro QuarkXPress.zip
Keyboard Maestro QuarkXPress Macros
(7.77 KiB) Downloaded 307 times

Post Reply

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