image
image

Go Back   macosx.com > Content & Information > Apple News, Rumors & Discussion

Reply
 
Thread Tools
  #1  
Old February 21st, 2002, 10:44 PM
simX's Avatar
Unofficial Mac Genius
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 2,183
Thanks: 0
Thanked 0 Times in 0 Posts
simX is on a distinguished road
HELP! I _DESPERATELY_ need AppleScript Studio help!

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.
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/

450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod

"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.

"You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET .

"The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown
Reply With Quote
  #2  
Old February 22nd, 2002, 07:22 AM
rharder's Avatar
Do not read this sign.
 
Join Date: Mar 2001
Location: Virginia, USA
Posts: 1,186
Thanks: 0
Thanked 0 Times in 0 Posts
rharder is on a distinguished road
I haven't figured out how to refer to objects within tabbed panes either in AppleScript Studio.

-Rob
__________________
There are only 10 kinds of people in the world:
Those who understand binary, and those who don't.
Reply With Quote
  #3  
Old February 22nd, 2002, 03:07 PM
twyg's Avatar
Back to Mac Baby!
 
Join Date: Sep 2001
Location: NYC by day, Hudson Valley by night
Posts: 582
Thanks: 0
Thanked 0 Times in 0 Posts
twyg is on a distinguished road
Tabs -- use ...of view of tab view item 1 of tab view 1 of window "window"

Or did you do that already?

Here's some other tips from that site.

Secure text -- access it like normal text, refer to it as of text field and don't use secure

color wells -- use call method "color" of object (color well "color" of window "main") for the time being

Added edit: Steve's ASS Forums

Some samples
__________________
Twyg

To laugh often and much; to win the respect of intelligent people and the affection of children...to leave the world a better place...to know even one life has breathed easier because you have lived. This is to have succeeded.
- Ralph Waldo Emerson

Last edited by twyg; February 22nd, 2002 at 03:43 PM.
Reply With Quote
  #4  
Old February 22nd, 2002, 08:09 PM
simX's Avatar
Unofficial Mac Genius
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 2,183
Thanks: 0
Thanked 0 Times in 0 Posts
simX is on a distinguished road
Twyg: You're absolutely right. For some stupid reason, Apple added an extra "view of" in there just to throw all of us AS Studio developers off. But at least now I can do it (I also got e-mailed this answer after posting to the AS Studio mailing list that Apple has set up).

Thanks, again.
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/

450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod

"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.

"You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET .

"The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
applescript studio mr. k Mac OS X System & Mac Software 1 January 29th, 2003 11:32 PM
Applescript Studio Application chief Software Programming & Web Scripting 2 November 25th, 2002 05:42 PM
Authenticate the user in AppleScript Studio? dricci Software Programming & Web Scripting 2 April 6th, 2002 03:10 PM
More AppleScript Studio help simX Software Programming & Web Scripting 0 February 21st, 2002 01:57 AM
AppleScript Studio? Is this our new HyperCard? rharder Apple News, Rumors & Discussion 5 September 27th, 2001 12:44 PM


All times are GMT -5. The time now is 04:13 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.