• 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
scriptSuite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scriptSuite


  • Subject: scriptSuite
  • From: Go <email@hidden>
  • Date: Sun, 9 Feb 2003 15:58:54 +0900
  • Organization: Gyaz'Square

Hi,

I'm trying to handle the following "attaching" argument of the geturl
command <http://ftp.nwu.edu/ftp-archive/pub/newswatcher/url-ae-standard-
1-1.txt>.

geturl string -- the URL
[attaching <list>] -- files to attach to mailto URLs

Optional attaching parameter:
keyword: 'Atch'
type: 'list' (typeAEList)


I added the followings in MyApp.scriptSuite & MyApp.scriptTerminology.

MyApp.scriptSuite:

<key>Arguments</key>
<dict>
<key>Atch</key>
<dict>
<key>AppleEventCode</key>
<string>list</string>
<key>Optional</key>
<string>YES</string>
<key>Type</key>
<string>NSArray</string>
</dict>
</dict>

MyApp.scriptTerminology:

<key>Arguments</key>
<dict>
<key>Atch</key>
<dict>
<key>Description</key>
<string>The files to attach</string>
<key>Name</key>
<string>attaching</string>
</dict>
</dict>


In MyApp's dictionary of Script Editor, The following description came
to be displayed.

geturl: Open a mailto URL
geturl reference -- the object for the command
[attaching list] -- The files to attach


It seems to work well, but I describe the script, and when checking
syntax, the script is rewritten.

before: geturl "mailto:xxx"; attaching { ... }
after: geturl "mailto:xxx"; list { ... }

I think that probably description of scriptSuite (scriptTerminology) is
wrong... Any help appreciated.

Thanks,
Go
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Programmatically adding an NSTextField to an NSTextView
  • Next by Date: Re: International keyboard input/interpretKeyEvents questions
  • Previous by thread: Re: Weird problem with array declaration in action
  • Next by thread: Duplicating Apple search field UI
  • Index(es):
    • Date
    • Thread