Re: Curious problem with Scripter
Re: Curious problem with Scripter
- Subject: Re: Curious problem with Scripter
- From: Mark Alldritt <email@hidden>
- Date: Thu, 26 Apr 2001 09:15:09 -0700
>
Script Debugger does do path to me nearly right (if you set the
>
preferences to return path to document). One caveat relying upon
>
this: path to x normally returns an alias while SD returns a file
>
specification. It seems to be implementing a command handler which
>
doesn't include the optional "as" parameter. The result?
>
>
SD: (path to me = path to document option off)
>
path to me as string
>
--> "Private:AppleScript:Editors:Script Debugger 2.0:Script Debugger"
>
>
SD: (path to me = path to document option on)
>
path to me as string
>
--> file "Dev:Con 4"
>
>
applet:
>
path to me as string
>
--> "Dev:Con 4"
>
>
To make it work correctly in SD use parentheses:
>
(path to me) as string
>
--> "Dev:Con 4"
>
>
One benefit of SD is Mark Alldritt who tends to be quite responsive
>
to user concerns. I wouldn't be surprised if he chimes in and does
>
something about it (hopefully the solution does not involve beating
>
me to a pulp for bringing it up...) 8)
Thanks for letting me know. I've corrected the bug and it will roll out
with the next version of SD.
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