• 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: script to delete .html files from a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script to delete .html files from a folder


  • Subject: Re: script to delete .html files from a folder
  • From: "Adam K. Wuellner" <email@hidden>
  • Date: Fri, 5 Nov 2004 11:03:51 -0600

On Nov 5, 2004, at 10:42 AM, Adam K. Wuellner wrote:

On Nov 5, 2004, at 10:08 AM, Roger Donaghy wrote:

tell application "Finder"
set thePath to (startup disk as text) & "Users:rdonaghy:Documents:testScript:"
[...]
end tell

set thePath to (path to startup disk as text) & "Users:akw:Desktop:" tell application "Finder" [...] end tell

Note that I put the (path to startup disk) outside of the Finder tell block,

In fairness, what you were doing with (startup disk) inside the Finder tell block was fine. 'startup disk' is a Finder term. 'path to ...' is not, but that's not what you were using. Sorry about that.


_______________________________________________
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: 
 >script to delete .html files from a folder (From: Roger Donaghy <email@hidden>)
 >Re: script to delete .html files from a folder (From: "Adam K. Wuellner" <email@hidden>)

  • Prev by Date: Re: script to delete .html files from a folder
  • Next by Date: Re: script to delete .html files from a folder
  • Previous by thread: Re: script to delete .html files from a folder
  • Next by thread: Re: script to delete .html files from a folder
  • Index(es):
    • Date
    • Thread