• 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: Applet's last command doesn't take
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applet's last command doesn't take


  • Subject: Re: Applet's last command doesn't take
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 24 Feb 2001 21:57:50 -0800

On 2/24/01 9:38 PM, "email@hidden" <email@hidden> wrote:

> tell application "Finder"
> set thisDesk to path to desktop as string
> repeat with x in {"Color photos", "BW photos", "Project photos", "dummy"}
> if not (exists folder (thisDesk & x)) then make new folder at alias
> thisDesk with properties {name:x}
> if not (exists window named x) then open folder (thisDesk & x)
> if not (popup of window named x) then
> activate
> set popup of window named x to true
> end if
> end repeat
> end tell

There is no 'named' property, but you can just say

window "Some Name"

Therefore

set popup of window named x to true -- bad

should be

set popup of window x to true

Also in all the lines higher up.


--
Paul Berkowitz


  • Follow-Ups:
    • Re: Applet's last command doesn't take
      • From: Shane Stanley <email@hidden>
References: 
 >Applet's last command doesn't take (From: email@hidden)

  • Prev by Date: Sigma's Coercions Loses its Power
  • Next by Date: Re: Sigma's Coercions Loses its Power
  • Previous by thread: Applet's last command doesn't take
  • Next by thread: Re: Applet's last command doesn't take
  • Index(es):
    • Date
    • Thread