• 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: Safari adds 2 windows....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari adds 2 windows....


  • Subject: Re: Safari adds 2 windows....
  • From: jj <email@hidden>
  • Date: Mon, 26 Jul 2004 07:52:34 +0200

> Greetings,
>
> I've been very nfused tonight. Safari, when prompted with:
>
> tell application "Safari"
> [snip]
> set n to the number of windows
>
> Returns 2 more windows than are open.
>
> When zero, it returns 2. When 5, it returns 7.
>
> The workaround is pretty obvious. Is this behavior normal? Consistent?

It is normal, as it allways worked so... Anyway, you can still reference
"real" windows stating:

windows whose visible is true


jj

--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Safari adds 2 windows....
  • Next by Date: Re: Getting the default language with AppleScript
  • Previous by thread: Re: Safari adds 2 windows....
  • Next by thread: Image Events questions
  • Index(es):
    • Date
    • Thread