Tips & Tricks Part 1: Border inside/outside

Discuss AppleScripting for QuarkXPress 2015, 2016 & 2017.

Tips & Tricks Part 1: Border inside/outside

Postby 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: http://forums.quark.com/viewtopic.php?f=17&t=28981
Attachments
Keyboard Maestro QuarkXPress.zip
Keyboard Maestro QuarkXPress Macros
(7.77 KiB) Downloaded 132 times
pjanssen
 
Posts: 128
Joined: 31 Dec 1969, 19:00

Return to QuarkXPress 20xx: Scripting

Who is online

Users browsing this forum: No registered users and 1 guest