Re: A newbie's problems with Pages and Applescript
Re: A newbie's problems with Pages and Applescript
- Subject: Re: A newbie's problems with Pages and Applescript
- From: KOENIG Yvan <email@hidden>
- Date: Sat, 30 Oct 2010 23:07:15 +0200
Le 30 oct. 2010 à 22:43, KOENIG Yvan a écrit : Le 29 oct. 2010 à 23:37, alma-services.abel.co.uk a écrit : set n to count of the_paragraphs
set le_document to choose file of type {"com.apple.iwork.Pages.sffPages", "com.apple.iwork.Pages.Pages"} tell application "Pages" open le_document end tell may be what you need.
A detail bothers me. In your main script I read :
repeat with p from 1 to n If my eyes did correctly their duty, the variable n isn't define before this instruction.
Yvan KOENIG (VALLAURIS, France) samedi 30 octobre 2010 22:42:55
Oops, my eyes seem to be tired, they missed the instruction defining n as the count of the_paragraphs.
Time to switch off and sleep.
Yvan KOENIG (VALLAURIS, France) samedi 30 octobre 2010 23:06:51
|
_______________________________________________
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