• 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: RegExps in AS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RegExps in AS


  • Subject: Re: RegExps in AS
  • From: peter boardman <email@hidden>
  • Date: Mon, 21 Feb 2005 13:16:38 +0000

Andrew Oliver <email@hidden> said on 2005-02-20, 13:29 (-0800 GMT):

> Oops, hang on, I'm not using DOS 1.0, I'm dealing with .html files so that
> doesn't work, but it'll work for all other files, except for my .jpeg
> images, and my .qt QuickTime movies, and... and ...

and lots of other files too, sometimes even Apple ones.

> Your only real options here are Text Item Delimiters (text items 1 through
> -2 of the name when TIDs are '.'), or asking the Finder for the filename
> extension (a proerty of a file) and stripping that.

Or just the Standard Addition:

get info for (choose file)

--> {name:"iTunes 4 Music Library", creation date:date "Friday, July 9, 2004 15:11:33", modification date:date "Sunday, February 20, 2005 10:28:48", icon position:{0, 0}, size:9.66737E+5, folder:false, alias:false, name extension:missing value, extension hidden:false, visible:true, package folder:false, file type:"hkdb", file creator:"hook", displayed name:"iTunes 4 Music Library", default application:alias "Macintosh HD:Applications:iTunes.app:", kind:"iTunes Database File", locked:false, busy status:false, short version:"", long version:""}

pete
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: RegExps in AS (From: Andrew Oliver <email@hidden>)

  • Prev by Date: How to differentiate a Folder from a Package
  • Next by Date: Re: How to differentiate a Folder from a Package
  • Previous by thread: Re: RegExps in AS
  • Next by thread: Re: RegExps in AS
  • Index(es):
    • Date
    • Thread