• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Info for question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: applescript-users digest, Vol 2 #766 - 16 msgs
  • Next by Date: Re: Applescript Worm Virus on the loose?
  • Previous by thread: Re: Info for question
  • Next by thread: Re: Info for question
  • Index(es):
    • Date
    • Thread