Folder Action: Move and then open after download completes
Subject : Folder Action: Move and then open after download completes
From: TjL <email@hidden >
Date: Mon, 5 Mar 2007 14:59:06 -0500
Delivered-to: email@hidden
Delivered-to: email@hidden
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ehAzoMcqf746XfKiCzrI847A0sY2jditdNSq8B3mlvgp5VAza3ZPHitqi6bzasauruDTLthm5tuDqA155Ikkrp3e1+wSgfMfZM+wxnxJ/MpPeKSbsVVg4/ieJ4ZkXJcGSjhAy1krRkYh7SNU3hppNND9lYH2y5suhtb/PoP55og=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=M3neITmoVWYrn8DRS9P3aodMecYYkvYMCqBEejN8AwuIF2W+++zPeN7+/BfgipP10i7LAIVPb1nb4KoRkxYfS0ylRGVfRr4PZgtW3CXdw5CYY+Hw/6H3Wewqp2YdEfl46z+z+yRrSzSCGr8XQM0xMQxZZFtbIiY5FlzgYUea1Dk=
I am trying to make a folder action for a folder where files get downloaded.
When the download *completes* I want to move (or copy) the file to a
different folder and then open the moved or copied version (if copy,
open the copied version not the original.
So far I have the move part down:
on adding folder items to this_folder after receiving added_items
tell application "Finder"
repeat with aFile in added_items
move aFile to folder "Downloads" of desktop
end repeat
end tell
end adding folder items to
but the open part doesn't seem to work. It doesn't seem to wait until
the download completes perhaps?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.