• 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
Enable to trap -39 error...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enable to trap -39 error...


  • Subject: Enable to trap -39 error...
  • From: Monsoft <email@hidden>
  • Date: Tue, 19 Nov 2002 18:25:53 +0100

Hello,

I have some pbms to trap an error -39 (MacOS 9.2.2)
I have to copy regularly a file which is regularly updated by a Windows application on a Windows disk.
This windows disk is mounted on my Mac (with DAVE) and all is working fine except a randomly -39 error which is not trapped by this code :

tell application "Finder"
try
if busy status of (info for file Origine_Itineraire) is false then
duplicate file Origine_Itineraire to folder myPath with replacing
else
return false
end if
on error msg number errNum
return false
end try
end tell

My Apple Script application stopped with a Finder dialog each time this error occured...

When I get info for this file, all seems to be OK.
When this error occured, my error trap doesn't trap anything!

Is there somebody with knowledge about AppleScript and Windows files?

Laurent Wallard

MONSOFT
31, avenue MICHELET
94210 - LA VARENNE
FRANCE
+33 (0)1 48 89 65 66
http://www.monsoft.com/
_______________________________________________
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: Enable to trap -39 error...
      • From: Emmanuel <email@hidden>
    • Re: Enable to trap -39 error...
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Burp! (was Digesting the digests ... also was: OK - so who ate my digests?)
  • Next by Date: RegEx & Concordances
  • Previous by thread: Re: Digesting the digests ... (was: OK - so who ate my digests?)
  • Next by thread: Re: Enable to trap -39 error...
  • Index(es):
    • Date
    • Thread