• 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: Jean-Baptiste LE STANG <email@hidden>
  • Date: Tue, 22 Jul 2003 22:50:56 +0200

Have also a look to the backup command of the Satimage OSAX, it lets you synchronize 2 folders, makes a report, 

JB

Le mardi, 22 jul 2003, ` 16:14 Europe/Paris, email@hidden a icrit :


Message: 1
Date: Tue, 22 Jul 2003 09:23:35 +0200
Subject: Newbie detail
From: Bernard Azancot <email@hidden>
To: AppleScript <email@hidden>

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 :-(
I have tried to remove the "activate finder line", but it did not avoid
the window opening.
The only solution I found was to add a "close windows" line at the end
of the script.

There must be somebody somewhere a human being who knows a simpler way
to do it.

Thanks in advance for his help.

Yours.
Bernard

=-=-=-=-=-=-=-=
try
with timeout of 200 seconds
tell application "Finder"
--activate

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

--close every window
end tell
end timeout
end try
=-=-=-=-=-=-
_______________________________________________
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: Question about Script Editor
  • Next by Date: Re: Newbie detail
  • Previous by thread: Re: Newbie detail
  • Next by thread: Re: Newbie detail
  • Index(es):
    • Date
    • Thread