• 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
Can't get AMDescription working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't get AMDescription working


  • Subject: Can't get AMDescription working
  • From: benoit cantin <email@hidden>
  • Date: Tue, 18 Apr 2006 11:07:18 +0200

Dear AppleScript users,

I am developping an Automator Action, and I have a problem while configuring the Info.plist file, and more specifically, the AMDescription block.

In Info.plist file, if I put something like that :

	<key>AMDescription</key>
	<dict>
	</dict>

I get those items in the description given in Automator :

Name of action
Input: (Movie files)
Result: (Movie files)

It is fine. Now, I can modify the AMDescription block and put something like that :

	<key>AMDescription</key>
	<dict>
		<key>AMDAlert</key>
        	<string>Alert example</string>
        	<key>AMDInput</key>
        	<string>Movies from the previous action.</string>
        	<key>AMDNote</key>
        	<string>Note example</string>
       		<key>AMDOptions</key>
        	<string>No real UI...</string>
        	<key>AMDRelatedActions</key>
        	<array>
            	<string>No related action.</string>
        	</array>
       		<key>AMDRequires</key>
        	<string>QuickTime 7 Pro</string>
        	<key>AMDResult</key>
        	<string>Movies from the previous action.</string>
        	<key>AMDSummary</key>
        	<string>Summary example</string>
	</dict>

I get those items in the description given in Automator :

Name of action
(* AMDSummary text to explain what your action does goes here. *)
Warning: (* AMDAlert text goes here. (optional) *)
Note: (* AMDNote text goes here. (optional) *)
Requires: (* AMDRequires text to explain anything outside of Automator required for the action's operation, e.g. a web page open in Safari, goes here. (optional) *)
Input: (Movie files) (* AMDInput text to further explain the types accepted as input goes here. (optional) *)
Options: (* AMDOptions text to further explain configuration options in the UI goes here. (optional) *)
Result: (Movie files) (* AMDResult text to further explain the types provided as output goes here. (optional) *)


As you can see, all the valued items in my configuration file are replaced by defaults settings for the given keys.

Has anybody ever experienced this problem ? And found the solution ?

Thanks,

--
Benoit
_______________________________________________
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: Can't get AMDescription working
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: logout hook and AppleScripts
  • Next by Date: Swap keyboard from "belgium" layout to US
  • Previous by thread: Re: AppleScript to write script
  • Next by thread: Re: Can't get AMDescription working
  • Index(es):
    • Date
    • Thread