I can't find any javascript automation discussion in this new Apple Developer Forums.
I think this discussion must be in "Services" like you see WWDC 2014 Video, but I can't find this category.
So I'm creating this new post in "Other/Developer Forums".
The problem I want to ask is written below.
I wanted to learn javascript for OS X automaion and to try the javascript sample source code used in WWDC 2014 - 306 "Javascript for Automation" 45:00 - "Window Tiles" which tiles visible windows in Script Editor.
But I couldn't find any so I rewrote the partial source from WWDC 2014 video and tried to add the rest.
1. If you have or can create WWDC 2014 "Window Tiles" souce please add the source or link for me.
2. I can't figure it out how to get Window title as a string(not Text object)
for example if the title name is "Window Tiles ~~" and I want it to be displayed as alert, I tried something like below. But I couldn't display the alert.
ScriptEditor = Application('Script Editor')
thisWindow = ScriptEditor.windows.whose({name:{_contains:'Window Tiles'}})
ScriptEditor.includeStandardAdditions = true
ScriptEditor.displayAlert(thisWindow.name.text)