• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting file suffix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Getting file suffix
      • From: Shane Stanley <email@hidden>
References: 
 >Getting file suffix (From: LuKreme <email@hidden>)

  • Prev by Date: Re: Messing with the dock.
  • Next by Date: Re: Getting file suffix
  • Previous by thread: Re: Getting file suffix
  • Next by thread: Re: Getting file suffix
  • Index(es):
    • Date
    • Thread