Re: [Newbie] What's wrong with my code ?
Re: [Newbie] What's wrong with my code ?
- Subject: Re: [Newbie] What's wrong with my code ?
- From: Eric Morand <email@hidden>
- Date: Wed, 28 Dec 2005 10:34:55 +0100
It seems like the error is on the display dialog that fails with an error message...
I'll ask on the correct list and if I have an answer, I'll post it here to mark the question as solved.
Thanks for your help !
Eric.
Le 27 déc. 05 à 17:26, Mark J. Reed a écrit : On 12/27/05, Eric Morand <email@hidden> wrote: Yes, in the original example, there was no "at" and it makes sense if it fails.
But what about the real code ?
set aMenuItem to (make new menu item at the end of menu items of menu of encodersPopup with properties {title:anEncoder, enabled:true})
I attach the newly created menu item to the menu of the popup button but I can't access to its properties.
In other words :
set aMenuItem to make new menu item at the end of menu items of menu of encodersPopup with properties {title:"Test", enabled:true} display dialog (title of aMenuItem)
...doesn't work. That does seem odd. I don't actually use Studio, so I may not be much help. You might try reposting on the studio list.
I'm curious, though, because it seems like it should work. Does it fail with an error on the "set" , or does the "display dialog" just not show the right thing?
--
Mark J. Reed <email@hidden>
=============================================
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden