larsen67:Michel, another fine script but this actually does too much. What i was trying to achieve was a script that i could set to a keyboard short cut with no need to set anything. Is there a way that i can get a script to read the current scale property of a picture and then increase by 1% so far i have been unable to work out how to get this property returned as a number. I was hoping that your script would shed some light on where i was going wrong but i can't work this out. Many thanks.
Actually, it does. Here' are the lines that sg=hould help you in yours:
copy (coerce ((scale of image 1
of CurBox) as percent point) to list) to {VertPercent, HorPercent}set VertPercent to VertPercent as realset HorPercent to HorPercent as realThis will return the percentages as real numbers which could then be applied to any mathematical expression.
You should also know that you do not need to conevrt those values back to perent point prior to reapply them to the image, Quark will convert the values "on the fly" if it can.
Hope this helps!