Re: Get only the name of the file, instead of the whole path!
Re: Get only the name of the file, instead of the whole path!
- Subject: Re: Get only the name of the file, instead of the whole path!
- From: "Stockly, Ed" <email@hidden>
- Date: Wed, 16 Jan 2008 11:59:07 -0800
- Thread-topic: Get only the name of the file, instead of the whole path!
> Good afternoon all!
Good morning!
> How can I get only the name of a file, instead of the whole path? Here are my
> tries!
on adding folder items to this_folder after receiving added_items
repeat with thiFile in addedItems
set AppleScript's text item delimiters to ":"
set fileName to the last text item of (thisFile as string)
end repeat
Etc....
HTH,
ES
_______________________________________________
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