Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.sys.mac.programmation > #1591

Content de se remettre à AppleScript

Path csiph.com!feeder.erje.net!1.eu.feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-a.proxad.net!nnrp3-1.free.fr!not-for-mail
Newsgroups fr.comp.sys.mac.programmation
Subject Content de se remettre à AppleScript
From benoit@com.invalid (Benoit)
Date Sat, 18 Nov 2017 15:14:45 +0100
Message-ID <1nfoxlm.1flpwki15yzof6N%benoit@com.invalid> (permalink)
MIME-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 8bit
X-No-Archive Yes
User-Agent MacSOUP/2.8.5 (ea919cf118) (Mac OS 10.13.1)
Lines 28
Organization Guest of ProXad - France
NNTP-Posting-Date 18 Nov 2017 15:14:45 CET
NNTP-Posting-Host 83.197.147.98
X-Trace 1511014485 news-2.free.fr 4831 83.197.147.98:64713
X-Complaints-To abuse@proxad.net
Xref csiph.com fr.comp.sys.mac.programmation:1591

Show key headers only | View raw


Bonjour,


Je veux convertir tous mes fichiers AAC en mp3. Un tour sur le net, un
peu les mains dans le cambouis et voilà le résultat en cours de test
avant de lancer sur la totalité des fichiers à convertir (beaucoup,
beaucoup, beaucoup ;)

tell application "iTunes"
    repeat with SomeTrack in (get the selection)
        if class of SomeTrack is file track then
            convert SomeTrack
            set TrackComment to comment of SomeTrack
            set newTrackComment to TrackComment & " Done"
            set comment of SomeTrack to newTrackComment
        end if
    end repeat
end tell

Après, je jette les "Donne"

Comme il y en a pas loin de 10 000 et que cela met 6s/morceau sur mon
vieux 17"... j'espère avoir terminé demain ;-)


-- 
On pense à l'étiquette,
Qu'une fois les vendanges faites.

Back to fr.comp.sys.mac.programmation | Previous | Next | Find similar


Thread

Content de se remettre à AppleScript benoit@com.invalid (Benoit) - 2017-11-18 15:14 +0100

csiph-web