• 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
Simple newbie question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simple newbie question


  • Subject: Simple newbie question
  • From: Peter Robertson <email@hidden>
  • Date: Wed, 17 Jun 2009 16:17:03 -0400
  • Thread-topic: Simple newbie question

Title: Simple newbie question
How can I get just the name of a file without the extension?  If I use

set theName to (text 1 thru ¬
            (offset of "." in theFile) of theFile)

with say file '123.jpg' I get '123.'  I want just 123 without the "."

Thanks.

Pedro
 _______________________________________________
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: Simple newbie question
      • From: Christopher Nebel <email@hidden>
    • Re: Simple newbie question
      • From: CYB <email@hidden>
    • Re: Simple newbie question
      • From: Luther Fuller <email@hidden>
    • Re: Simple newbie question
      • From: Michelle Steiner <email@hidden>
    • Re: Simple newbie question
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Rép: FileMaker oddity ?
  • Next by Date: Re: Simple newbie question
  • Previous by thread: Re: Plan E from Outer Space
  • Next by thread: Re: Simple newbie question
  • Index(es):
    • Date
    • Thread