On Sep 18, 2009, at 1:29 PM, Chris Cairns wrote:
I want to see the result of this applescript.
I got an error because access for assistive devices wasn't enabled.
After enabling it, I got the result below. You probably won't be
surprised to know that the open_save script also works unmodified now.
So, that was the problem. I usually run with that enabled anyway, just
forgot to re-enable it after installing Snow Leopard.
My modified version also seems to work still. I wonder if a version
that works in both cases is preferable, but maybe it doesn't work on
Leopard?
Result:
{group 1 of sheet 1 of window "Untitled" of application process
"TextEdit" of application "System Events", button "Save" of sheet 1 of
window "Untitled" of application process "TextEdit" of application
"System Events", button "Cancel" of sheet 1 of window "Untitled" of
application process "TextEdit" of application "System Events",
checkbox 1 of sheet 1 of window "Untitled" of application process
"TextEdit" of application "System Events", text field 1 of sheet 1 of
window "Untitled" of application process "TextEdit" of application
"System Events", static text "Save As:" of sheet 1 of window
"Untitled" of application process "TextEdit" of application "System
Events", static text "Where:" of sheet 1 of window "Untitled" of
application process "TextEdit" of application "System Events", pop up
button 1 of sheet 1 of window "Untitled" of application process
"TextEdit" of application "System Events", sheet 1 of sheet 1 of
window "Untitled" of application process "TextEdit" of application
"System Events"}
--
Rob McBroom
<http://www.skurfer.com/>