Re: guaranteed crash with path to string
Re: guaranteed crash with path to string
- Subject: Re: guaranteed crash with path to string
- From: John Coelho <email@hidden>
- Date: Thu, 4 Apr 2002 12:31:25 -0800
Mr Tea,
We tried to reproduce this crash on a couple of machines with OS 9.2.2 +
AppleScript 1.8.2b3 and could not. Here are the script statements we
tried:
path to preferences as string
-- as well as:
set stickyFile to (path to preferences as string) & "Stickies file"
Can you supply a MacsBug standard log?
jc
On Wednesday, April 3, 2002, at 05:18 AM, Mr Tea wrote:
From: Mr Tea <email@hidden>
Date: Wed Apr 03, 2002 05:18:15 AM US/Pacific
To: AS List <email@hidden>
Subject: guaranteed crash with path to string
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.
_______________________________________________
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.