• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[Newbie] What's wrong with my code ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Newbie] What's wrong with my code ?


  • Subject: [Newbie] What's wrong with my code ?
  • From: Eric Morand <email@hidden>
  • Date: Tue, 27 Dec 2005 12:04:17 +0100


Hi list !

After a lot of years spent with Objective-C, I'm back to Applescript...and I've to confess that it is NOT that easy to return !!!

In fact, I'm stuck with newbies problems (yes that's a shame). In particular, here is a snipet of code that doesn't work :


set aMenuItem to (make new menu item) set (title of aMenuItem) to "Test" display dialog (title of aMenuItem)



Can anyone tell me what's wrong with this code ? I just can't see where I made a mistake.


Thanks by advance,


Eric. _______________________________________________ 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
  • Follow-Ups:
    • Re: [Newbie] What's wrong with my code ?
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Re: Getting the name of selected cell (FileMaker)
  • Next by Date: Re: [Newbie] What's wrong with my code ?
  • Previous by thread: NSInternalScriptError
  • Next by thread: Re: [Newbie] What's wrong with my code ?
  • Index(es):
    • Date
    • Thread