Re: Getting file suffix
Re: Getting file suffix
- Subject: Re: Getting file suffix
- From: LuKreme <email@hidden>
- Date: Wed, 15 Sep 2010 03:13:18 -0600
On Sep 14, 2010, at 8:50, KOENIG Yvan <email@hidden> wrote:
> As you may use the instruction :
>> tell application "Finder" to set myFile to name of myFile
>
> it's clear that myFile is not a text object.
It is when I set it to the name I'd the file.
> So, the instruction :
>> set theSuffix to last text item of myFile
>
> will fail.
Nope. Tested with a couple hundred files and it worked perfectly.
_______________________________________________
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