-
That does seem sensible. I've moved the creation of the layer bit to the beginning so I can do all the stuff within one 'tell' block. BUT for some reason I get the message:
Can’t get picture box "NEW" of current spread of document 1.
when the script gets to the 'move picture box to layer' line. It's ...
-
I have a script to create a 'guide' box on a non-printing layer. I select the box and run the script and a magenta outlined box appears to show me the area in which items can appear.
However, if my selected box is on page 2, the new box appears on page 2 until the command:
move picture box "NEW" to ...
-
you have to 'escape' the inches sign. Try:
set width of bounds of current box to
"8\""
-
Boxes have some useful properties that are sometimes hard to spot! You don't have to use the co-ordinates, you can just say:
set width of bounds of current box to "100 mm"
or
set height of bounds of current box to "50 mm"
-
Hans helped me many years ago and I know is English is excellent, so there may be hope!
Actually this really shouldn't be that hard to do - what is your timescale? If you want to send me a sample page of the Quark and the Excel relating to it, I'd be happy to have a look at it and quote you.
If you do a lot of this, there's an ...
-
Perhaps there is local formatting that you need to override? Try this:
set character style of paragraph 1 of selection to null
set character style of paragraph 1 of selection to "H2"
Then there are questions such as: Have you actually selected the type? Applying to selection is not always a good idea, ...
-
Only works for rectangular text boxes. Read original post more carefully!
-
Haven't had a chance to play with it yet (using the Other App this morning...) but it looks handy for runarounds and the like...
-
This is great, a welcome return!
And I only just discovered QuarkLabs (seem to have turned it off in my personalised view, sorry!). I shall definitely be keeping an eye on it in future.
-
Try this:
set character style of paragraph 1 of selection to "H2"