I'm trying to get every item of a folder whose name ends with ".html" into a list. Driving me NUTS!!!
Here's my latest effort: set myfilelist to every item of ((list folder thefolder) whose name ends with ".html") as list
that returns:
Can't get {".DS_Store", "_notes", "alternativeenergy_main.html", "alternativemedia_main.html", "animalissues_main.html", "congressgovernment_main.html", "corporationsmega_main.html", "drugs_main.html", "earthenvironment_main.html", "ecologicalprod_main.html", "economyandfinance_main.html", "farmandgarden_main.html", "fastingandjuicing_main.html", "foodandsupplements_main.html", "foodirradiation_main.html", "foodissues_main.html", "freedomdemocracy_main.html", "freedomhealth_main.html", "geneticengineering_main.html", "greenbusiness_main.html", "healthandnutrition.html", "housingandconstructioneco.html", "humanitarian.html", "institutesschools.html", "internetradioandTV.html", "links.html", "main.html", "miscellaneous.html", "newspapersmagazines.html", "nuclear.html", "out", "peace.html", "physicianorgs.html", "politicalcommentary.html", "rawlivefood.html", "real people.gif", "recycleeverything.html", "riversneedhelp.html", "side.html", "side.xxxx", "spirituality.html", "sproutswheatgrass.html", "toxics.html", "vaccination.html", "vegetarianvegan.html", "water.html", "wildfoods.html", "WS_FTP.LOG"} whose name ends with ".html". Access not allowed.
help, please.
joshua Joshua Whalen
+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
|