• 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: need explanation for trivial Safari script behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need explanation for trivial Safari script behavior


  • Subject: Re: need explanation for trivial Safari script behavior
  • From: "Stockly, Ed" <email@hidden>
  • Date: Fri, 15 Jul 2016 22:42:13 +0000
  • Thread-topic: need explanation for trivial Safari script behavior

theWindow as item

Is what does the trick.

 


From: <applescript-users-bounces+ed.stockly=email@hidden> on behalf of Mitchell L Model <email@hidden>
Date: Friday, July 15, 2016 at 1:56 PM
To: AppleScript Digest <email@hidden>
Subject: need explanation for trivial Safari script behavior

I am bewildered by the behavior of this most trivial Safari repeat.

tell application "Safari"
repeat with theWindow in the windows
log the name of theWindow
end repeat
end tell

What I get in the log is a long list of entries such as the following.

(*name of item 7 of every window*)




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >need explanation for trivial Safari script behavior (From: Mitchell L Model <email@hidden>)

  • Prev by Date: Re: need explanation for trivial Safari script behavior
  • Next by Date: RE: need explanation for trivial Safari script behavior
  • Previous by thread: Re: need explanation for trivial Safari script behavior
  • Next by thread: RE: need explanation for trivial Safari script behavior
  • Index(es):
    • Date
    • Thread