Mac Help Forums


Reply
Thread Tools Display Modes

Syntax does not work

 
New Member
Join Date: Jul 2006
Posts: 1
 
      13th July 2006
Hello,

I hope somebody can help me further!! I have a problem since yesterday with a syntax that does not work. I will describe you my problem.

I have a definition bar (NSView (name=box#)) which contains different objects (2 NSPopUpButtons and 1 NSTextField). This definition bar is a component of the NSTabViewItem (name=bletab_delete) which is in turn a component of the NSTabView (name=bletab). Now, when I address one of these objects (here PopUpButton) inside the NSView I use the following syntax e.g.:

set showProperty to title of popup button "Property" of view "box1" of tab view item "bletab_delete" of tab view "bletab" of window "main"

When I run the code, the following error message appears. I know it's not so much information:

NSReceiverEvaluationScriptError: 4 (1)

The problem seems to be the addressing of the view "box1". I can address PopUpButtons in NSTabView's without problems as long as their aren't part of a NSView (box#). Concurrently I can address NSView's which aren't a component (inside of) of a NSTabView.

If you see the error, please write me$

Thanks
 
Reply With Quote
 
 
 
 
Ric Ric is offline
Senior Member
Ric's Avatar
Join Date: May 2004
Posts: 4,260
 
      19th July 2006
Hi there and welcome !

sorry missed this one !

How have you got on ? Have you had any joy yet ?

regards

Ric
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Syntax of duplicate? Jochen Machatschke AppleScript 1 24th September 2005 06:43 PM
syntax coloring Keith Wiley Programmer Help 1 31st August 2005 07:20 PM
OTish: sed syntax question Ian McCall UK Macs 4 28th March 2005 12:14 AM
Grep syntax query D.M. Procida UK Macs 7 23rd February 2004 01:52 PM
Syntax for Illustrator 10 Steve Ellis AppleScript 3 25th November 2003 07:54 PM


All times are GMT +1. The time now is 06:00 AM.
Mac-Help.com is an independent website and is not affiliated with Apple Inc.


Welcome!
Welcome to the Mac Help Forums
 


Latest Threads
Yikes! Teacher needs help!
Mollyc4627 (9 Hours Ago, 08:57 PM)

Unable to log in to websites
AMonty20 (12 Hours Ago, 05:52 PM)

Add Different Speech Commands
bae_22 (13 Hours Ago, 04:40 PM)

Login (2 macs) passwords spontaniously changed?
Roger Vaught (14 Hours Ago, 03:31 PM)

Best car charger or inverter for Macbook Pro?
imeme87 (14 Hours Ago, 03:22 PM)

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51