• 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
Delete file type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delete file type


  • Subject: Delete file type
  • From: William J Sisti <email@hidden>
  • Date: Wed, 10 Sep 2008 15:13:45 -0400
  • Thread-topic: Delete file type

Title: Delete file type
I want to make an addtion to the beginning of a script that will delete any aliases found on the desktop.  

So far I have

Tell application “finder”
    delete (every file of folder desktop whose item alias)
End tell


But that errors out saying “Finder got an error: Can’tt make desktop into type interger.”

Thanks in advanced

-William J Sisti
Technology Specialist
Westwood Regional Schools
 _______________________________________________
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: Delete file type
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: set optionKeyDown to...
  • Next by Date: Re: Delete file type
  • Previous by thread: Re: add xml element or attribute to story
  • Next by thread: Re: Delete file type
  • Index(es):
    • Date
    • Thread