Re: Info for question
Re: Info for question
- Subject: Re: Info for question
- From: Nigel Garvey <email@hidden>
- Date: Sat, 16 Jun 2001 10:47:26 +0100
Jan Erik =?iso-8859-1?Q?Mostr=F6m?= wrote on Fri, 15 Jun 2001 22:23:34
+0200:
>
I've made an AppleScript that a few people are testing for me, for some
>
people
>
including myself everything works perfectly but one user reports that an
>
error
>
occur on this line
>
>
on utilLoadLib()
>
try
>
set u to info for pLibCodeName
>
on error msg
>
display dialog "Sorry, but I couldn't find Mvvtjelitt's code
>
library ("
>
& msg & ")." buttons {"Quit"}
>
error -128
>
end try
>
>
pLibCodeName is a string with a full path name.
pLibCodeName is a string. 'info for' requires a file specification or an
alias:
info for file pLibCodeName -- even if the 'file' is a folder or a disk
info for alias pLibCodeName
If you have Jon's Commands installed (or Akua Sweets, I believe) the
string will automatically be coerced to the required form, otherise you
must use the correct syntax.
NG