• 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: Error from opening a read only applet in SD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error from opening a read only applet in SD


  • Subject: Re: Error from opening a read only applet in SD
  • From: Mark Alldritt <email@hidden>
  • Date: Thu, 28 Aug 2003 15:06:29 -0700

> I have a situation like this:
>
> set k to "Disk:Folder:applet"
> tell application "Finder"
> set y to k as alias
> open y using application file id "asDB"
> end tell
>
> Now if applet is read only, Script Debugger puts up a dialog with the
> result code -1756. How can i capture this error to return it to my script?
>
> it must be a duh question, I know it!

In this instance, Script Debugger does not return the error code with the
result for the Open event. I've filed a bug and will get it resolved in the
future. As things stand, SD will always display the error alert and return
error number 1 for the open event.

Cheers
-Mark

---------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 333 Moss Street
FAX: 250-383-3204 Victoria, B.C.
WEB: http://www.latenightsw.com/ CANADA V8V-4M9
AIM: markalldritt
_______________________________________________
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.

  • Prev by Date: Re: Filemaker+applescript=html
  • Next by Date: Scripting the Location
  • Previous by thread: Re: Error from opening a read only applet in SD
  • Next by thread: Copy folder and rename certain variables within folder names.
  • Index(es):
    • Date
    • Thread