Re: Pages & AppleScript
Re: Pages & AppleScript
- Subject: Re: Pages & AppleScript
- From: KOENIG Yvan <email@hidden>
- Date: Mon, 16 Feb 2009 10:24:13 +0100
Le 16 févr. 2009 à 02:26:31, Deivy Marck Petrescu a écrit :
On Feb 15, 2009, at 12:55, KOENIG Yvan wrote:
The property 'placement' of graphic items
whose property was {placement:moving}
remains moving.
Is there a way to change it ?
Yvan KOENIG (from FRANCE dimanche 15 février 2009 16:53:03)
Well, I did not read properly the message so I did the opposite,
but it worked.
So ...
Here is a concise script
<script>
tell application "Pages" to tell document 1
set the placement of every graphic whose placement is fixed to moving
end tell
</script>
Let me know if this works for you.
Bingo
I had to reverse the test to fit my needs but:
--[SCRIPT]
tell application "Pages" to tell document 1
set the placement of every graphic whose placement is moving to fixed
(*
get properties of every graphic -- to check the result
*)
end tell
--[/SCRIPT]
does the trick.
THANK YOU DEIVY
Yvan KOENIG (from FRANCE lundi 16 février 2009 10:23:46) _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden