Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gwarth

macrumors newbie
Original poster
Nov 10, 2006
14
0
Hamburg, Germany
Hi everybody,

I'm new to AppleScript and after facing and solving a few things I'm pretty stuck now. I simply won't get the content out of a scroll view.
Code:
if the name of theObject is equal to "btnCreateQpassArchive" then
	set yadda to text view "txtShortDescription" of window "main"
	display dialog yadda
[...]

The error will be: Can't get class texV "txtShortDescription" of window "main".

Now, I've read somewhere it needs to be (which doesn't work either):
Code:
[...] text view of scroll view "txtShortDescription"
But... how do I know stuff like this in case this was working? Where's the reference stuff for all this?

Thanks so much!
Georg

[edit]
Forgot to add a screenshot...
scrollview_problem.png

[/edit]
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.