[?]   dans   mode   trier par   

[<] Sujet : [AS] Changer_la_date_de_création_d'un_fichier
De : Yves PETRONIN <anonyme@...>
Date : 2008-03-25 13:14:20

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : Patrick Proniewski <anonyme@...>
Date : 2008-03-25 09:35:28

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : Daniel Varlet <anonyme@...>
Date : 2008-03-25 10:00:50

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : KOENIG Yvan <anonyme@...>
Date : 2008-03-26 14:00:02

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichie r
De : jlouisleg <anonyme@...>
Date : 2008-03-26 14:12:30

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : Patrick Proniewski <anonyme@...>
Date : 2008-03-26 14:15:01

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : jlouisleg <anonyme@...>
Date : 2008-03-26 14:23:47

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichie r
De : Patrick Proniewski <anonyme@...>
Date : 2008-03-26 14:02:44

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichie r
De : Patrick Proniewski <anonyme@...>
Date : 2008-03-26 13:56:40

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : KOENIG Yvan <anonyme@...>
Date : 2008-03-26 14:35:36

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : Patrick Proniewski <anonyme@...>
Date : 2008-03-26 14:49:58

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : jlouisleg <anonyme@...>
Date : 2008-03-26 15:08:14

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : Patrick Proniewski <anonyme@...>
Date : 2008-03-26 15:29:57

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : KOENIG Yvan <anonyme@...>
Date : 2008-03-26 15:28:24

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : KOENIG Yvan <anonyme@...>
Date : 2008-03-26 18:02:45

Le 26 mars 2008 à 15:28, KOENIG Yvan a écrit :
>
> Le 26 mars 2008 à 15:08, jlouisleg a écrit :
>>
>>
>> Donc ça met les 2 dates de création et modification identiques.
>>
>> Si on place une date supérieure à la date de création, que la date
>> de modification qui est changée.
>>
>
> Je viens d'allumer un imac sous 10.5.2 et je constate le même
> comportement.
>
> Si l'on souhaite conserver la date de modification il faut compléter
> le code:
>
> on open theseItems
> 	set theDate to "200501261012.51"
> 	repeat with i from 1 to the count of theseItems
> 		set thisItem to (item i of theseItems)
> 		tell application "System Events" to set dateMod to modification
> date of file thisItem
> 		do shell script "touch -t " & theDate & space & (quoted form of
> POSIX path of thisItem)
> 		tell application "System Events" to set modification date of file
> thisItem to dateMod
> 	end repeat
> end open
>
>
> Yvan KOENIG

J'ai demandé sur le forum de discussion américain <applescript- 
anonyme@...>

si un document décrivait le "changement effectué sur Touch" et un  
intervenant m'a répondu que Touch fonctionnait déjà ainsi sous 10.4.

Bien entendu j'ai vérifié … et j'ai constaté qu'il a raison.

Comme quoi, même quand la description d'un outil énonce quelque  
chose, il n'est pas inutile d'essayer d'expérimenter hors limites.

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

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : Daniel Varlet <anonyme@...>
Date : 2008-03-26 22:46:23

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : Patrick Proniewski <anonyme@...>
Date : 2008-03-27 09:03:41

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : jlouisleg <anonyme@...>
Date : 2008-03-27 10:18:19

Sujet : Re: [AS] Changer_la_date_de_création_d'un_fichier
De : Daniel Varlet <anonyme@...>
Date : 2008-03-28 08:58:23

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