[?]   dans   mode   trier par   

[<] Sujet : [AS] lire un fichier plist
De : KOENIG Yvan <anonyme@...>
Date : 2008-01-15 21:12:46

Sujet : Re: [AS] lire un fichier plist
De : KOENIG Yvan <anonyme@...>
Date : 2008-01-15 21:18:13

Le 15 janv. 2008 à 21:12, KOENIG Yvan a écrit :

> Bonsoir
>
> il n'y a pas que la keynote dans la vie ;)
>
> j'ai un chemin d'accès (à la mode HFS) vers un fichier pList :
> set thePlist to "Macintosh
> HD:Users:yvankoenig:Library:Preferences:com.apple.iWork.Numbers.plist"
>
> Pour lire ce fichier je pensais pouvoir utiliser:
>
> set thePlist to "Macintosh
> HD:Users:yvankoenig:Library:Preferences:com.apple.iWork.Numbers.plist"
> set thePlist to POSIX file thePlist
> tell application "System Events"
> 	tell contents of property list file thePlist
> 		{value of property list item "LSDocumentDefaultSaveDirectory"}
> 	end tell
> end tell
>

Quel c…

il suffisait d'utiliser le chemin à la mode HFS ;-)

Mais le processus de conversion m'intéresse toujours.

Yvan KOENIG
_______________________________________________
Applescript_fr mailing list
anonyme@...
http://listes.patpro.net/mailman/listinfo/applescript_fr

Sujet : Re: [AS] lire un fichier plist
De : Daniel Varlet <anonyme@...>
Date : 2008-01-17 21:01:52

Sujet : Re: [AS] lire un fichier plist
De : KOENIG Yvan <anonyme@...>
Date : 2008-01-17 21:12:20

Apple, AppleScript, AppleScript Studio, AppleTalk, AppleWorks, ColorSync, Finder, HyperCard, iBook, iLife, iMac, iWork, Keynote, Mac, Macintosh, Mac OS, Pages, Panther, PowerBook, Power Mac, Power Macintosh, QuickTime, Safari, Tiger, Xcode sont des marques déposées par Apple Computer, Inc., enregistrées aux Etats-Unis et dans les autres pays. Liste officielle