• 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
Move an item dropped into a folder & launch an app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Move an item dropped into a folder & launch an app


  • Subject: Move an item dropped into a folder & launch an app
  • From: Rob Valentine <email@hidden>
  • Date: Sat, 20 Dec 2003 13:42:24 -0800

Hi. I9m trying to write a folder action script that moves an item dropped
into it to one of Acrobat9s 3watched folders2 and then launches Distiller. I
can get the script to launch Distiller, but when I try to get it to move a
document, it fails. Here9s what I9ve got:

set file_path to "Janet:Desktop Tabs:Distill:In"
on adding folder items to thisFolder after receiving addedItems
repeat with anItem in addedItems
tell application "Finder"
move anItem to file_path
open application file id "DSTL"
end tell
end repeat
end adding folder items to

When I tried attaching the folder action to the watched folder, it worked
the first time, then the attached folder action simply vanished.

What am I doing wrong here?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Sorting IP addresses
  • Next by Date: Re: Sorting IP addresses - Progress
  • Previous by thread: Scripts via rules in Mail
  • Next by thread: Re: Sorting IP addresses - Progress
  • Index(es):
    • Date
    • Thread