Play things backwards with the help of AppleScript

Play things backwards with the help of AppleScript

Today, in this video, you're going to learn how to make a simple program that can allow you to play stuff backwards, like a song, with Xcode and AppleScript on your Mac OS X computer. This application will be well worth showing off to your friends.

Code:

on clicked theObject
start progress indicator "Spinner" of window 1
set my_track to choose file set volume 7
--second, open QuickTime and start playing
tell application "QuickTime Player"

close every window
open my_track
set my_movie to first document
set ts to time scale of my_movie
set current time of my_movie to 60 * ts
--start playing backwards
set rate of my_movie to -1
end tell
stop progress indicator "Spinner" of window 1

end clicked

Hosted by youtube.com
Creator's Site: www.youtube.com/user/applesnumber...
Curated By: tenebrism

Comments

Add your comment:

New Super Hybrid Kicks Tesla Motors' Butt

Capstone's CMT-380 stealth looking prototype can hit 150mph, compared to Tesla's 125. Tesla better step it up. Says Engadget: "Rather than mixing batteries and a conventional engine, this whip ...

Super Robot Has Powers of Levitation

This robot hasn't levitated any humans yet (especially not pictured Days of Our Lives star Deidre Hall), but it looks like the sky may be the limit with the Robo-Air Jet System. Developed by Aaron ...

Smoke Bombs Make Beautiful Art

What is it about the infamous colored smoke bomb that is so deeply satisfying, so beautiful? Well, first there's an explosion (always fun), which then yields beautiful billowing clouds of saturated ...

$44K Street Legal Wooden SuperCar

Beautifully constructed wooden SuperCar Maniwa manufactured by Sada-Kenbi. The wooden Japanese car goes for $44,000. Wow. That's a lot for a toy. However, this baby is street legal and can go up to ...

Stomach Churning Taxidermy Fashion

Uh...yuck. Fun, but definitely yuck. Terrifying taxidermied jewelry and accessories by Reid Peppard. That's right, dead rodent cufflinks, change purses, bowties, bracelets... and a guinea pig hair ...

loading...