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

RE : Newbie detail


  • Subject: RE : Newbie detail
  • From: Bernard Azancot <email@hidden>
  • Date: Tue, 22 Jul 2003 13:03:30 +0200

Le mardi, 22 jul 2003, ` 09:46 Europe/Paris, John Delacour a icrit :

At 9:23 am +0200 22/7/03, Bernard Azancot wrote:

I have a little script that performs a copy of files from a folder (FX), to another folder (on a backup volume), and archives (moves) them then, to another folder.

The folder (FX) window FX opens uselessly, and stays open. I have to close it manually then :-( ...



set theFolder_expt to "FX:"
set theFolder_dok to "Destination folder:"
set theFolder_archive to "IBM 01: Archive folder:"

select every file of folder theFolder_expt
copy selection to folder theFolder_dok
move selection to folder theFolder_archive

You don't need to select anything, just refer to the items. If you use 'reveal' or 'select', the window is bound to open.

tell app "Finder" to move items in folder x to folder y

Great ! Il have learned something !
Thx a lot John !!

Another question then:
In what case is the "activate" finder line necessary ?

Yours
Bernard
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Entourage: Using AppleScript with Rules?
  • Next by Date: Re: of Ethan and Euthanasia
  • Previous by thread: Re: Newbie detail
  • Next by thread: OS X OSAX and PS 7.0 Question
  • Index(es):
    • Date
    • Thread