• 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: move folder & copy image ? (newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: move folder & copy image ? (newbie)


  • Subject: Re: move folder & copy image ? (newbie)
  • From: Mr Tea <email@hidden>
  • Date: Tue, 07 Aug 2001 01:29:08 +0100

This from T. Breheny / DiGiTAL ZEN - dateline 7/8/01 12.30 am:

> is there an AS equivalent to: "../" used to navigate up a directory?
<snip>
> i need to select all the files in a folder and have them moved to
> the parent folder.

You can use 'container of' to move up a level. Something like:

tell application "Finder"
set theFolder to alias "Hard Disk!:Folder:Subfolder:"
set theFiles to every file of theFolder
move theFiles to container of theFolder
end tell

The alternative is to pick the destination folder out of the path by working
back through the colons, so to speak.

HTH

Mr Tea
--
Brew of the day: Korean Gunpowder Green

Visit the Tea Room at:
http://homepage.mac.com/mrtea/tearoom.html


References: 
 >Re: move folder & copy image ? (newbie) (From: "T. Breheny / DiGiTAL ZEN" <email@hidden>)

  • Prev by Date: Re: move folder & copy image ? (newbie)
  • Next by Date: Re: move folder & copy image ? (newbie)
  • Previous by thread: Re: move folder & copy image ? (newbie)
  • Next by thread: Re: move folder & copy image ? (newbie)
  • Index(es):
    • Date
    • Thread