Quark 5.0 Beta, layering
Quark 5.0 Beta, layering
- Subject: Quark 5.0 Beta, layering
- From: Jeremy Sellors <email@hidden>
- Date: Wed, 12 Sep 2001 20:19:04 -0700
>
> Has anyone found a way to control layering via applescript in the Beta?
>
> I want to be able to place items on layers, as well as hide and un-hide
>
> layers by name, and I can't see any reference to any layer anything in
>
> the dictionary of the public beta.
>
>
>
> Thanks!
>
> --mark
one solution might be Deneba's "Canvas 8" (Better) @
http://www.deneba.com/
I tried some of Canvas's language in Quark 5 but no luck. Is it not the case
that if it is not in the dictionary it doesn't exist; or can we poke around
looking for stuff? When one adds some extensions like FontReserve or
ScriptMaster, the dictionary also has added functions.
tell application "Canvas 8"
tell page 1 of document 1
set newLayer to make new layer at beginning
set countOfLayers to count of layers
set StackPos2 to stacking position of layer "Road Layer"
set StackPos to stacking position of layer "Text Layer" -- returns
layer position
set stacking position of layer "Text Layer" to 4 --moves layer
set StackPos3 to stacking position of layer "Road Layer" -- shows
changed layer position
end tell
end tell
--
This is from the dictionary:
(* Class layer: A layer
Plural form:
layers
Elements:
graphic object by numeric index
arc by numeric index
bezier curve by numeric index
composite path by numeric index
concentric circle by numeric index
cube by numeric index
envelope by numeric index
extrude by numeric index
grid by numeric index
group by numeric index
image by numeric index
line by numeric index
multigon by numeric index
oval by numeric index
polygon by numeric index
rectangle by numeric index
rounded rectangle by numeric index
spiral by numeric index
text by numeric index
Properties:
name string - Name of the layer
visible boolean - visible state of the layer
printable boolean - printable state of the layer
locked boolean - lock state of layer
active boolean - Is layer active?
stacking position integer - z-order of the layer
shared boolean [r/o] - Is layer a shared? *)
>
I just noticed that today as well. I could not install Xpert Tools like in
>
3x, 4x and control the layers. I did install ScriptMaster, but it did not
>
respond to recording the layer command like it does others. I hope they
>
implement this when they release the final version!
>
The FontReserve 2.6 dosn't work either so it appears we will have to wait
for upgrades.
JeremySellors