• 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
Re: folder actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: folder actions


  • Subject: Re: folder actions
  • From: Axel Luttgens <email@hidden>
  • Date: Tue, 09 Oct 2007 15:54:48 +0200

On 9/10/07 15:44, Wayne Melrose wrote:


[...]

Thanks for the reply.. sorry for my delay.. Let's start with the basics as you did..

Why can't I get even this to work ?

on adding folder items to this_folder after receiving added_items
-- repeat with each added item
repeat with i from 1 to count items of added_items
set scptProductionScript to item i of added_items
display dialog scptProductionScript
end repeat
end adding folder items to


Try this one:

   set A to alias "BootDisk:"
   display dialog A
       --> error

and then this one:

   set A to alias "BootDisk:"
   display dialog (A as string)
      --> the expected dialog appears

One problem with Folder Actions is that they silently fail in case of runtime error.

HTH,
Axel
_______________________________________________
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
References: 
 >folder actions (From: Wayne Melrose <email@hidden>)
 >Re: folder actions (From: KOENIG Yvan <email@hidden>)
 >Re: folder actions (From: Wayne Melrose <email@hidden>)
 >Re: folder actions (From: Axel Luttgens <email@hidden>)
 >Re: folder actions (From: Wayne Melrose <email@hidden>)
 >Re: folder actions (From: Axel Luttgens <email@hidden>)
 >Re: folder actions (From: Wayne Melrose <email@hidden>)

  • Prev by Date: Re: folder actions
  • Next by Date: Re: folder actions
  • Previous by thread: Re: folder actions
  • Next by thread: Re: folder actions
  • Index(es):
    • Date
    • Thread