Tips & Tricks Part 5: Runaround

Discuss scripting using AppleScript in QuarkXPress 2015, 2016, 2017 & 2018.
Discuss scripting using JavaScript in QuarkXPress 2018.

Tips & Tricks Part 5: Runaround

Postby 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:
Posts: 132
Joined: 31 Dec 1969, 19:00

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

Who is online

Users browsing this forum: No registered users and 2 guests