Re: AppleScript-Users Digest, Vol 13, Issue 374
Re: AppleScript-Users Digest, Vol 13, Issue 374
- Subject: Re: AppleScript-Users Digest, Vol 13, Issue 374
- From: Bertrand LAMBERT <email@hidden>
- Date: Sat, 10 Sep 2016 07:44:25 +0200
With a window open , I got ”true” and ”un” in french instead of ”vrai” and ”un”, ”un” is ”one” :)
And exactly the good number of windows fron 1 to 20…
Bertrand
> Le 10 sept. 2016 à 05:51, email@hidden a écrit :
>
> Send AppleScript-Users mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.apple.com/mailman/listinfo/applescript-users
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of AppleScript-Users digest..."
>
>
> Today's Topics:
>
> 1. Safari 10.0 bug? (Brian Christmas)
> 2. Re: Safari 10.0 bug? (Jerome Krinock)
> 3. Re: Safari 10.0 bug? (Brian Christmas)
> 4. Re: Safari 10.0 bug? (Christopher Stone)
> 5. Re: Safari 10.0 bug? (Jerome Krinock)
> 6. Re: Safari 10.0 bug? (Steve Mills)
> 7. Re: FYI (Christopher Stone)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 10 Sep 2016 11:31:36 +1000
> From: Brian Christmas <email@hidden>
> To: Applescript Users <email@hidden>
> Subject: Safari 10.0 bug?
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> G’day scripters
>
> Could anyone running the Sierra Golden Master, or older trials of Sierra, test this script please, and let me know the results.
>
> Safari 10.0 reports TWICE the actual number of opened windows on my iMac, using this script.
>
> Regards
>
> Santa
>
> tell application "Safari"
> set v to ((version as text) starts with "10.0")
> say v
> say (count of windows)
> end tell
>
>
>
> And what, you ask, was the beginning of it all?
> And it is this......
> Existence that multiplied itself
> For sheer delight of being
> And plunged with numberless trillions of forms
> So that it might
> find
> itself
> innumerably
>
> Sri Aurobindo
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/applescript-users/attachments/20160910/555679d1/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 09 Sep 2016 19:23:53 -0700
> From: Jerome Krinock <email@hidden>
> To: Brian Christmas <email@hidden>, Applescript Users
> <email@hidden>
> Subject: Re: Safari 10.0 bug?
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=utf-8
>
>
>> On 2016 Sep 09, at 18:31, Brian Christmas <email@hidden> wrote:
>>
>> Could anyone running the Sierra Golden Master, or older trials of Sierra, test this script please, and let me know the results.
>
> I get (actualCountOfWindowsOpen + 2)
>
> This unexpectedly large count also happens with [NSApp windows] in Cocoa. I think it counts the menu bar and other stuff as “windows”, or something like that.
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 10 Sep 2016 12:35:55 +1000
> From: Brian Christmas <email@hidden>
> To: Applescript Users <email@hidden>
> Subject: Re: Safari 10.0 bug?
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> G’day Jerome
>
> What OS version are you running, please?
>
> The script worked reliably under El Capitan, just in the new Sierra does it consistently display DOUBLE the actual window numbers, and it reports zero when zero windows are open, on my iMac.
>
> So, I don’t think under my circumstances any extra windows are being reported, just double the opened sites.
>
> Regards
>
> SANTA
>
>
> On 10 Sep. 2016, at 12:23 pm, Jerome Krinock <email@hidden> wrote:
>
>
>> On 2016 Sep 09, at 18:31, Brian Christmas <email@hidden> wrote:
>>
>> Could anyone running the Sierra Golden Master, or older trials of Sierra, test this script please, and let me know the results.
>
> I get (actualCountOfWindowsOpen + 2)
>
> This unexpectedly large count also happens with [NSApp windows] in Cocoa. I think it counts the menu bar and other stuff as “windows”, or something like that.
>
>
> And what, you ask, was the beginning of it all?
> And it is this......
> Existence that multiplied itself
> For sheer delight of being
> And plunged with numberless trillions of forms
> So that it might
> find
> itself
> innumerably
>
> Sri Aurobindo
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/applescript-users/attachments/20160910/b2aa1cf7/attachment.html>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 09 Sep 2016 22:03:49 -0500
> From: Christopher Stone <email@hidden>
> To: Applescript Users List <email@hidden>
> Subject: Re: Safari 10.0 bug?
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> On Sep 09, 2016, at 20:31, Brian Christmas <email@hidden <mailto:email@hidden>> wrote:
>> Safari 10.0 reports TWICE the actual number of opened windows on my iMac, using this script.
>
>
> Hey Brian,
>
> Safari has been problematic in this respect since 2005 or so.
>
> Try this:
>
> ----------------------------------------------------------
> tell application "Safari"
> set winList to windows where its document is not missing value
> end tell
> ----------------------------------------------------------
>
> --
> Best Regards,
> Chris
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/applescript-users/attachments/20160909/fef9afea/attachment.html>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 09 Sep 2016 20:14:17 -0700
> From: Jerome Krinock <email@hidden>
> To: Brian Christmas <email@hidden>
> Cc: Applescript Users <email@hidden>
> Subject: Re: Safari 10.0 bug?
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=utf-8
>
>
>> On 2016 Sep 09, at 19:35, Brian Christmas <email@hidden> wrote:
>>
>> G’day Jerome
>>
>> What OS version are you running, please?
>
> Safari 10.0 (12602.1.50.0.8). I got the Sierra GM yesterday.
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 09 Sep 2016 21:47:41 -0500
> From: Steve Mills <email@hidden>
> To: AppleScript Users <email@hidden>
> Subject: Re: Safari 10.0 bug?
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
>> On Sep 9, 2016, at 20:31, Brian Christmas <email@hidden> wrote:
>>
>> G’day scripters
>>
>> Could anyone running the Sierra Golden Master, or older trials of Sierra, test this script please, and let me know the results.
>>
>> Safari 10.0 reports TWICE the actual number of opened windows on my iMac, using this script.
>>
>> Regards
>>
>> Santa
>>
>> tell application "Safari"
>> set v to ((version as text) starts with "10.0")
>> say v
>> say (count of windows)
>> end tell
>
> I've seen that on OS X 10.10, like a few extra window objects that didn't have names or some other properties (can't recall what).
>
> Steve via iPad
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/applescript-users/attachments/20160909/c7d9f637/attachment.html>
>
> ------------------------------
>
> Message: 7
> Date: Fri, 09 Sep 2016 22:51:12 -0500
> From: Christopher Stone <email@hidden>
> To: Applescript Users List <email@hidden>
> Subject: Re: FYI
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> On Sep 09, 2016, at 11:37, Brian Christmas <email@hidden <mailto:email@hidden>> wrote:
>> In answering my own question from several days ago, I found a shell script that returns the time in seconds, to 12 decimal places.
>
>
> Hey Brian,
>
> There's a lot of latency in a do shell script call, so that doesn't offer you much precision.
>
> But I imagine it's good enough for what you're doing.
>
> --
> Best Regards,
> Chris
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/applescript-users/attachments/20160909/173ce3f0/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> AppleScript-Users mailing list
> email@hidden
> https://lists.apple.com/mailman/listinfo/applescript-users
>
> End of AppleScript-Users Digest, Vol 13, Issue 374
> **************************************************
_______________________________________________
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