Re: Closing TCP/IP control panel and BUG in 'path to'
Re: Closing TCP/IP control panel and BUG in 'path to'
- Subject: Re: Closing TCP/IP control panel and BUG in 'path to'
- From: Nigel Garvey <email@hidden>
- Date: Sat, 11 May 2002 03:06:44 +0100
Paul Berkowitz wrote on Fri, 10 May 2002 08:33:14 -0700:
>
set tcpPanel to (((path to control panels) as string) & "TCP/IP") as alias
>
>
>
WARNING: Before Nigel comes in to say that it actually works more
>
efficiently (i.e. save a millionth of a second) by writing that as
>
>
set tcpPanel to ((path to control panels as string) & "TCP/IP") as alias
>
>
without parentheses before 'as string', DON'T do it in OS 9.2.2, AS 1.8.2b3
>
and I don't know how many other AS versions (1.7 on perhaps)?
>
>
path to control panels as string
>
>
without the parentheses CRASHES Script Editor and all other script editors.
>
I just found this out the hard way.
Thanks for the warning, Paul. :-) It works fine with AS 1.6 (OS 9.2.1).
1.7 really was a bit of a disaster, wasn't it? And it looks as though
things haven't fully recovered yet.
NG
_______________________________________________
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.