• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Folder Action: Move and then open after download completes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Folder Action: Move and then open after download completes
      • From: "John C. Welch" <email@hidden>
  • Prev by Date: Re: AppleScript In Web Publishing...
  • Next by Date: InDesign 'crop images to frames'
  • Previous by thread: Re: AppleScript In Web Publishing...
  • Next by thread: Re: Folder Action: Move and then open after download completes
  • Index(es):
    • Date
    • Thread