• 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: list issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list issues


  • Subject: Re: list issues
  • From: Joshua Whalen <email@hidden>
  • Date: Thu, 25 Jun 2009 10:13:47 -0400

Wow! Thanks for all the help, everyone! I really appreciate the wealth of responses. 

The script itself is a program to transform an old tables-based website to a modern css site. I'll post the code here: 
http://www.panix.com/~joshua/code/port-o-matic.html in a few minutes. It still needs a few tweaks (I need to clear the content of the <body> tag, and a few other things), but it might be of some use to others, and given the awesome response I feel a bit of an inspiration to share this one.

Thanks again!

Joshua


Joshua Whalen
email@hidden
email@hidden
+1 (212) 457-9908 - home, voicemail
+1-646-299-8207 - cell
+1-747-665-1905 - SIP

"Vision without action is a day dream,
Action without vision is a nightmare."
-- Japanese proverb




On Jun 24, 2009, at 9:27 PM, CYB wrote:

I'm trying to get every item of a folder whose name ends with ".html" into a list. Driving me NUTS!!!

Joshua,
An easy solution is
tell
application "Finder"
   set myfolder to choose folder
   name of (files whose name extension is "html") of folder myfolder
end tell

Then you get the list of names with extension

Carlos Ysunza B.
Director
Ysunza/Santiago
Comunicación Visual • Automatización
Tel. (52)55 5256-0336
email@hidden

http://www.ysunzasantiago.com
http://www.thesecretmexico.com
http://www.softrobot.com.mx


 _______________________________________________
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

References: 
 >Re: list issues (From: CYB <email@hidden>)

  • Prev by Date: Telling remote Finder to sleep
  • Next by Date: Re: Telling remote Finder to sleep
  • Previous by thread: Re: list issues
  • Next by thread: Re: Open for access oddity
  • Index(es):
    • Date
    • Thread