Re: Path to folder list
Re: Path to folder list
- Subject: Re: Path to folder list
- From: Richard Allaway <email@hidden>
- Date: Wed, 30 Nov 2005 11:55:31 -0500
On Wednesday, November 30, 2005, at 11:29AM, Gonçalo Miguel <email@hidden> wrote:
>Hi list,
>i?m trying to make a AS to stuff some folders inside a certain folder,
>i already made this:
>
>set newArchive to choose folder with prompt "Escolhe a pasta das Obras
>Concluídas"
>set the item_list to list folder newArchive without invisibles
>tell application "DropStuff"
> stuff item_list format StuffIt with delete originals and individually
>end tell
>
>But list folder give me the name for the folders not the path to them,
>can anyone help me.
>
If you want a list of paths of visible folders, you could ask System Events:
-----
tell application "System Events"
set the item_list to (get path of every folder of newArchive whose visible is true)
end tell
-----
The "list folder" event that you tried is part of the StandardAdditions osax and, according its dictionary entry, it doesn't appear to have an option to list paths to folders.
--Richard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden