Expected to get a list, but got an array instead
Expected to get a list, but got an array instead
- Subject: Expected to get a list, but got an array instead
- From: Lists <email@hidden>
- Date: Wed, 10 Jun 2015 00:01:16 -0700
Nothing I can’t deal with, but I got an unexpected result from this line of script.
tell application "Safari" set x to URL of every tab of (every window where its document is not missing value) end tell
I’m unclear why this is returning a nested list instead of just a list. Adding one more line to the script gets the list I want:
Thanks J |
_______________________________________________
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