• 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: How to "Tell" a varible name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to "Tell" a varible name


  • Subject: Re: How to "Tell" a varible name
  • From: Emmanuel <email@hidden>
  • Date: Thu, 8 Feb 2001 11:57:45 +0100

At 0:23 +0100 8/02/01, SeaSoft Systems wrote:
>=======================================
>set realmslist to "some text"
>tell application "Finder"
> set WebStar to (the first process whose creator type is "WWW") as text
>end tell
>
>tell application WebStar
> try
> set <<class Prlm>> to realmslist
> on error
> end try
>end tell
>=======================================
>
>Now the snippet will not compile but gives an error message:
>
>>>> Can't set <<class Prlm>> to realmslist
> Access not allowed.

This is a minor bug of AppleScript (which is documented somewhere in
Smile's help I think).

The problem arises with properties of the application. You've got to write
something like "its" before such a property. (Sorry not to be more
specific).

Emmanuel


  • Follow-Ups:
    • Re: How to "Tell" a varible name
      • From: David Blache <email@hidden>
References: 
 >Re: How to "Tell" a varible name (From: SeaSoft Systems <email@hidden>)

  • Prev by Date: File IDs -> paths
  • Next by Date: Re: Prefs in a loadable ircle script...
  • Previous by thread: Re: How to "Tell" a varible name (solved??)
  • Next by thread: Re: How to "Tell" a varible name
  • Index(es):
    • Date
    • Thread