• 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
guaranteed crash with path to string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guaranteed crash with path to string


  • Subject: guaranteed crash with path to string
  • From: Mr Tea <email@hidden>
  • Date: Wed, 03 Apr 2002 14:18:15 +0100

I was cleaning out my AS archives when I stumbled across a script for
checking the size of the Stickies file (and launching Stickies if there are
any notes) that Jon Pugh posted on the MacScript list a couple of years
back.

This line...

set stickyFile to (path to preferences as string) & "Stickies file"

...causes Script Editor to crash every time with AS 1.8.2b3 and OS 9.2.2

The crash seems to be caused by this bit...

path to preferences as string

...and also occurs if 'preferences' is replaced with another 'special'
folder (eg 'extensions folder')

This, however...

(path to preferences) as string

...works just fine.

Has something changed since Jon posted this?

Thanks

T.
_______________________________________________
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: guaranteed crash with path to string
      • From: John Coelho <email@hidden>
    • Re: guaranteed crash with path to string
      • From: Jon Pugh <email@hidden>
References: 
 >Re: Shell script date & time coercions... (From: John W Baxter <email@hidden>)

  • Prev by Date: Re: Coordinating lists
  • Next by Date: Put Away Asking No crashes finder. Request alternative solution.
  • Previous by thread: Re: Shell script date & time coercions...
  • Next by thread: Re: guaranteed crash with path to string
  • Index(es):
    • Date
    • Thread