Newbie detail
Newbie detail
- Subject: Newbie detail
- From: Bernard Azancot <email@hidden>
- Date: Tue, 22 Jul 2003 09:23:35 +0200
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.