simX
Unofficial Mac Genius
Please guys, anything will help. ANY suggestions. Anything that might help me solve my problem. I posted this in the Programming thread, but I didn't get any help, so I'm hoping the higher traffic here will help.
I'm making a program with AppleScript Studio, and in my interface (built using Interface Builder), I have a tab collection. I have 3 tabs. Inside each of the tabs, I have a bunch of progress bars and text fields that I want to refer to. The problem is, I can't seem to figure out how!
Usually, the format for a progress bar in a normal window is:
progress indicator "ProgressBar1" of window "Window1"
For tabs, I've tried all of these combinations:
progress indicator "ProgressBar1" of tab view "TabCollection" of window "Window1"
progress indicator "ProgressBar1" of tab view item "Tab1" of window "Window1"
progress indicator "ProgressBar1" of tab view item "Tab1" of tab view "TabCollection" of window "Window1"
and even the simple:
progress indicator "ProgressBar1" of window "Window1"
None of these things work.
Maybe I'm doing something wrong somewhere else, but I really don't think so -- I've triple and quadruple checked that I'm referring to the correct names and that each item DOES have an AppleScript name. But, if someone could tell me exactly how to refer to items inside these tabs, I could figure out precisely where my problem is.
Please, ANY reasonable suggestions will do, no matter how trivial they might seem. The other day, I didn't name a window, and that's what was causing my problem.
I'm making a program with AppleScript Studio, and in my interface (built using Interface Builder), I have a tab collection. I have 3 tabs. Inside each of the tabs, I have a bunch of progress bars and text fields that I want to refer to. The problem is, I can't seem to figure out how!
Usually, the format for a progress bar in a normal window is:
progress indicator "ProgressBar1" of window "Window1"
For tabs, I've tried all of these combinations:
progress indicator "ProgressBar1" of tab view "TabCollection" of window "Window1"
progress indicator "ProgressBar1" of tab view item "Tab1" of window "Window1"
progress indicator "ProgressBar1" of tab view item "Tab1" of tab view "TabCollection" of window "Window1"
and even the simple:
progress indicator "ProgressBar1" of window "Window1"
None of these things work.
Maybe I'm doing something wrong somewhere else, but I really don't think so -- I've triple and quadruple checked that I'm referring to the correct names and that each item DOES have an AppleScript name. But, if someone could tell me exactly how to refer to items inside these tabs, I could figure out precisely where my problem is.
Please, ANY reasonable suggestions will do, no matter how trivial they might seem. The other day, I didn't name a window, and that's what was causing my problem.