• 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
problem with duplicating documents that are saved / changed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with duplicating documents that are saved / changed


  • Subject: problem with duplicating documents that are saved / changed
  • From: Christian Vinaa <email@hidden>
  • Date: Thu, 10 Feb 2005 20:42:07 +0100

i've encountered a funny thing with 'duplicate'  a  document

to put it short

if I script:
open an appleworks WP doc and then SAVE it

	--open myFile
	--save front document -- works ok
	--close front document -- works ok

it actually makes a second file in its folder that confuses the script if the script afterwards is set to duplicate the file

you can sse it if you watch the folder as a opened folder

a manual workaround is to have the folder open and choose the folder so the 'extra' file appears and then disappears

a script workaround is to do this

	close front document saving yes -- which saves but no close
	close front document -- closes

then a duplicate command will be obeyed

even tried to set in   delay 5  with the

	--save front document -- works ok
	--close front document -- works ok

but no help the extra file still confused the script when it had to duplicate the file

is this normal ?

--
Christian Vinaa

email@hidden

...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: The future for AppleScript [was Re: where are the shell scripts ?]
  • Next by Date: Re: The future for AppleScript [was Re: where are the shell scripts ?]
  • Previous by thread: re: Acrobat 6 - Page Resizing
  • Next by thread: Re: The future for AppleScript
  • Index(es):
    • Date
    • Thread