• 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: target of folder action (was: applescript-users digest, Vol 3 #1238 - 14 msgs)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: target of folder action (was: applescript-users digest, Vol 3 #1238 - 14 msgs)


  • Subject: Re: target of folder action (was: applescript-users digest, Vol 3 #1238 - 14 msgs)
  • From: Kai <email@hidden>
  • Date: Mon, 13 Jan 2003 23:55:24 +0000

on Mon, 13 Jan 2003 16:26:17 -0500, Gary Lists <email@hidden> wrote:

> On or about 1/13/03 3:02 PM, Steve Suranie wrote:
>
>>> Hi all:
>>>
>>> If I write a script for a folder action part of which is to move files is
>>> there a way I can tell the path to the folder the user has attached the
>>> action to?
>>>
>>> Thanks
>>>
>>> Steve
>
> path to me

That should return the path to the Folder Actions extension file. Try a
folder action script along these lines instead:

=====================================

on opening folder this_folder
display dialog (this_folder as string)
end opening folder

=====================================

In this example, the variable 'this_folder' is the target (as an alias) of
the folder action 'opening folder'.

--
Kai
_______________________________________________
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.

  • Follow-Ups:
    • Re: target of folder action (was: applescript-users digest, Vol 3 #1238 - 14 msgs)
      • From: Gary Lists <email@hidden>
  • Prev by Date: Re: Help! Photoshop Applescript times out
  • Next by Date: Re: Scripting Request
  • Previous by thread: Re: Big Cat
  • Next by thread: Re: target of folder action (was: applescript-users digest, Vol 3 #1238 - 14 msgs)
  • Index(es):
    • Date
    • Thread