• 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
Re: .sdef file parameter code question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .sdef file parameter code question


  • Subject: Re: .sdef file parameter code question
  • From: Christopher Nebel <email@hidden>
  • Date: Thu, 19 Jun 2008 15:51:58 -0700

On Jun 19, 2008, at 9:56 AM, x x wrote:

If I have a .sdef file with multiple command
definitions, each of which has a "with name" parameter
defined, am I supposed to use the same "code" for each
of the "with name" parameters of each of the commands
?

Example parameter definition:

<parameter name="with name" code="awnm" type="text"
optional="no" description="Test name.">
               <cocoa key="test"/>
</parameter>

This question really should have gone to applescript-implementors, but I'll answer it anyway.


It wouldn't hurt to make them all the same, and it might help keep you sane, but it's not required. Parameters codes are scoped to the command that they're in.


--Chris Nebel AppleScript Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >.sdef file parameter code question (From: x x <email@hidden>)

  • Prev by Date: .sdef file parameter code question
  • Next by Date: ARD login script
  • Previous by thread: .sdef file parameter code question
  • Next by thread: ARD login script
  • Index(es):
    • Date
    • Thread