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

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.

  • Follow-Ups:
    • Re: Newbie detail
      • From: John Delacour <email@hidden>
  • Prev by Date: Re: What to make of the "AppleScript Experience"
  • Next by Date: Re: saving AW file as PDF
  • Previous by thread: Re: 4-character codes for MacOS special items [was: script in startup folder]
  • Next by thread: Re: Newbie detail
  • Index(es):
    • Date
    • Thread