Re: GUI Scripting & Missing Values
Re: GUI Scripting & Missing Values
- Subject: Re: GUI Scripting & Missing Values
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 31 Jan 2003 10:58:39 -0500
on 03-01-31 6:45 AM, Philip Weaver at email@hidden wrote:
>
Certain properties do not appear to be available. I'm trying to read
>
the following properties of a text area: selected & selected text
>
range. They each return "missing value". I know I have a reference to
>
the correct text area because the value property is correct.
>
>
Has anyone been able to do this successfully? I know this is beta
>
software but I'm already suspicious that these properties will never be
>
implemented.
I'm sure it's only because GUI Scripting is beta. In UI Browser, I can view
text, selected text, and the text selection range without difficulty,
including in Project Builder. UI Browser uses the same underlying technology
as GUI Scripting.
Here's the script UI Browser generates as a reference to the main code
editing pane in Project Builder, when Project Builder is set up in its
single-window mode:
text area 1 of scroll area 1 of group 1 of window "UI Browser -
PFBrowserController.m" of application process "Project Builder"
It doesn't work as a script for GUI Scripting yet, as you point out.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.