Re: Applescript Help...
Re: Applescript Help...
- Subject: Re: Applescript Help...
- From: Bill Briggs <email@hidden>
- Date: Thu, 19 Jul 2007 16:27:47 -0300
At 9:24 AM -0700 7/19/07, Don Wieland wrote:
>Any help would be appreciated ;-)
You should at least TRY to do it before asking.
tell application "Finder"
-- activate
set fileSource to alias "MacHD:Path:to:the:folder:"
set itemList to every item of fileSource as alias list
set parentName to name of fileSource
set n to count of itemList
repeat with i from 1 to n
set tempName to name of item i of itemList
set newName to parentName & "_" & tempName
set name of item i of itemList to newName
end repeat
end tell
- web
_______________________________________________
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