• 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: Finder error duplicating AppleWorks file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder error duplicating AppleWorks file


  • Subject: Re: Finder error duplicating AppleWorks file
  • From: Nigel Smith <email@hidden>
  • Date: Fri, 23 May 2003 11:21:13 +0100

On 21/5/03 3:04, "Jeffrey Mattox" <email@hidden> wrote:

> I am trying to save a copy of an AppleWorks 6 database file (Mac OS
> 10.2.5). If there are no AppleWorks files open when this starts, it
> runs. However, normally the database file is open, so I close it.
> But this fails, even if I quit AppleWorks and delay in the script, as
> shown.

Why use the Finder at all?

--begin script
set theSrc to ((path to current user folder) as string) & <no-break>
"Documents:WW1:Archives.cwk"
set theDest to ((path to current user folder) as string) & <no-break>
"Documents:WW1:Backups:Archives.cwk"

tell application "AppleWorks 6"
tell document "Archives.cwk"
save
save in file theDest
close
end tell
open file theSrc
end tell
--end script

No need to leave AppleWorks, and no trouble with updates etc.

HTH,

Nigel
_______________________________________________
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: Finder error duplicating AppleWorks file
      • From: Jeffrey Mattox <email@hidden>
References: 
 >Finder error duplicating AppleWorks file (From: Jeffrey Mattox <email@hidden>)

  • Prev by Date: Sorting entries in Address Book
  • Next by Date: Re: Simple rot-13 encoding script
  • Previous by thread: Re: Finder error duplicating AppleWorks file
  • Next by thread: Re: Finder error duplicating AppleWorks file
  • Index(es):
    • Date
    • Thread