• 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
Multiple characteristics
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple characteristics


  • Subject: Multiple characteristics
  • From: Jeff Whitmill <email@hidden>
  • Date: Mon, 3 Feb 2003 22:41:05 -0600

I'd like to be able to tell a script to look in a folder and select files whose names meet two criteria:

1) The name ends in ".log.txt"
2) The name contains "_200"

The attempt below doesn't work - how do I get it to look for filenames meeting both of two criteria?

select (every file in folder "WebLogs" of folder "Logs" of folder "My_Admin" of folder "MainSite" of folder "Mywebserver" of folder "SeverApp" of folder ,
"Applications" of startup disk whose name ends with ".log.txt" and whose name contains "_200")

Thanks,

--

Jeff Whitmill
Composer Online - http://www.composeronline.com/
The Music of Your Name - http://www.moyn.org/
1510 Thomas Lake Pointe, #304
Eagan MN 55122
Phone: 651.675.0743
Fax: 360-838-8759

"Come, then - weigh me a pound of fire, measure me a bushel of wind, or call back a day that has passed." - 2 Esdras 4:5
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: Scripting Address Book
  • Next by Date: Re: Adding an attachment to Entourage
  • Previous by thread: Scripting Address Book
  • Next by thread: Re: Multiple characteristics
  • Index(es):
    • Date
    • Thread