• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pages and localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pages and localization


  • Subject: Re: Pages and localization
  • From: KOENIG Yvan <email@hidden>
  • Date: Fri, 2 Jul 2010 11:59:14 +0200


Le 2 juil. 2010 à 11:54, KOENIG Yvan a écrit :



Le 2 juil. 2010 à 11:40, Brian Christmas a écrit :

G'day Yvan

try

tell application "Pages"
	set testtemplates to templates
	set TemplateName to item 1 of testtemplates
	make new document with properties {template name:TemplateName}
end tell

Regards


THANKS !

I searched many times in the dictionary and always missed the Application's property 'templates'

Even if I saw it, I'm not sure that I would have guess that it returned the localized names.

Alas, my workaround remains useful for Numbers because there is no occurence of 'template' in the Numbers dictionary.


Yvan KOENIG (VALLAURIS, France) vendredi 2 juillet 2010 11:59:01



_______________________________________________
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
References: 
 >Pages and localization (From: KOENIG Yvan <email@hidden>)
 >Re: Pages and localization (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: Pages and localization
  • Next by Date: Re: Sort not case sensitive
  • Previous by thread: Re: Pages and localization
  • Next by thread: script object scoping
  • Index(es):
    • Date
    • Thread