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

Safari adds 2 windows....


  • Subject: Safari adds 2 windows....
  • From: Erik Ness <email@hidden>
  • Date: Sun, 25 Jul 2004 23:45:14 -0500

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?

Regards,

Erik Ness


--
###########################
Erik Ness <email@hidden> 608-242-7604

Urban Outfitters: http://nrdc.org/onearth/04win/reviews.asp
Dirty Minds: http://www.gristmagazine.com/books/books121503.asp
_______________________________________________
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.


  • Follow-Ups:
    • Re: Safari adds 2 windows....
      • From: Emmanuel <email@hidden>
    • Re: Safari adds 2 windows....
      • From: Andrew Oliver <email@hidden>
    • Re: Safari adds 2 windows....
      • From: Chris Garaffa <email@hidden>
  • Prev by Date: Re: Getting the default language with AppleScript
  • Next by Date: Re: Safari adds 2 windows....
  • Previous by thread: OT not there for three weeks
  • Next by thread: Re: Safari adds 2 windows....
  • Index(es):
    • Date
    • Thread