Tips & Tricks Part 5: Runaround

Discuss AppleScripting for QuarkXPress 2015, 2016 & 2017.

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
try
   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
            else
               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: http://forums.quark.com/viewtopic.php?f=17&t=28981
pjanssen
 
Posts: 125
Joined: 31 Dec 1969, 19:00

Return to QuarkXPress 20xx: Scripting

Who is online

Users browsing this forum: No registered users and 1 guest