guaranteed crash with path to string
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.