Re: need explanation for trivial Safari script behavior
Re: need explanation for trivial Safari script behavior
- Subject: Re: need explanation for trivial Safari script behavior
- From: Christopher Stone <email@hidden>
- Date: Tue, 19 Jul 2016 09:39:18 -0500
On Jul 19, 2016, at 09:16, Mitchell L Model <email@hidden> wrote:
What kind of thing is a null result? I can produce one:
I mean a completely silent failure with a non-result.
Run this:
set l to {} tell application "Safari" repeat with i in windows set theDoc to i's document result end repeat end tell
I think setting theDoc to a non-existant item should either throw an error or produce a missing value.
|
_______________________________________________
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