Re: target of folder action (was: applescript-users digest, Vol 3 #1238 - 14 msgs)
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.