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
Reference: Cryptographic Message Syntax Services Reference Newsbot Apple Developer News 0 30th October 2007 10:40 PM
Installer does not work anymore on OS 10.4.10 (and does not shut down) subfly59 Mac 3 10th October 2007 02:28 AM
BBEdit, ruby and syntax coloring Steve Hix Apps 2 30th November 2005 08:40 AM
simple load script syntax not working Arsalan AppleScript 2 1st April 2004 09:18 PM
Does AS have s 'switch-like' flow control syntax? Mark Anderson AppleScript 3 26th February 2004 07:22 PM


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


Welcome!
Welcome to the Mac Help Forums
 


Latest Threads
Youtube videos not working...
Vidmasterpat (8 Hours Ago, 02:05 AM)

Command+Z not working
tige7 (10 Hours Ago, 11:32 PM)

Blank screen w/"folder?" on reboot. HELP!
HJKaplan (19 Hours Ago, 03:14 PM)

Converting workflows/.apps
mcddjx (20 Hours Ago, 02:14 PM)

Weird tab appearing on all videos on the internet.
stefenymarie (1 Day Ago, 05:20 AM)