Re: Getting file suffix
Re: Getting file suffix
- Subject: Re: Getting file suffix
- From: Steve Thompson <email@hidden>
- Date: Mon, 13 Sep 2010 23:04:20 +0100
On 13 Sep 2010, at 11:27, LuKreme wrote: get the suffix of a file name that has been dropped into the folder
This is how I do it:
if (this_item as string) contains "." then set the_extension to (characters ((offset of "." in (this_item as string)) + 1) thru -1 of (this_item as string)) as string
Steve |
_______________________________________________
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