Monday, November 20, 2017

#1 2005-05-17 11:41:26 pm

Brandon Carpenter
Member
From:: Amarillo, Tx
Registered: 2002-11-20
Posts: 87
Website

AMDescription of info.plist

How does one go about finding the bundle ids of similar or related actions to fill the AMDRelatedActions of a info.plist action?
<key>AMDescription</key>
<dict>
              <key>AMDRelatedActions</key>
        <string>(* AMDRelatedActions bundle ids go here. (optional) *)</string>
</dict>

Offline

 

#2 2005-05-18 12:26:49 pm

ktam
Member
From:: UK
Registered: 2003-01-24
Posts: 246
Website

Re: AMDescription of info.plist

Brandon,

Look for the installed actions on your computer in:

/Library/Automator or
/Users/yourusername/Library/Automator

There might even be some in /System/Library/Automator - I'm not running Tiger where I am writing this from so I can't check.

If you can't find the actions you are looking in those locations then you should be able to find the actions in the application package of the application that the actions belong to. I can't remember which folder in the application package it is offhand.

Once you have found the actions, using finder, right/control click on the action and select view package contents. In the contents folder there is a file called info.plist. Open the info.plist file and look for a key called CFBundleIdentifier. The data associated with that key is what you will be looking for. Do this for each action.

Hth.

Kevin


MovingImages is a scripting tool for non-linear video editing.
http://zukini.eu/movingimages

iMagine Photo is deprecated. I would not use it for any new projects.

Offline

 

#3 2005-05-18 01:39:26 pm

Brandon Carpenter
Member
From:: Amarillo, Tx
Registered: 2002-11-20
Posts: 87
Website

Re: AMDescription of info.plist

Let me give a better example:

<key>AMDRelatedActions</key>
<array>
<string>com.apple.Automator.NameOfRelatedAction</string>
<string>com.apple.Automator.NameOfRelatedAction2</string>
</array>

I had originally thought something like this would be in the "Preferences"
folder as a plist item. Nothing like that.
I guess that you just name it what ever the action is that is related,
like so.

Offline

 

#4 2005-05-18 04:47:15 pm

ktam
Member
From:: UK
Registered: 2003-01-24
Posts: 246
Website

Re: AMDescription of info.plist

Brennan,

The information you need is found in the info.plist file inside the action package itself, so you need to find where the actions that are related to your action first. Once you have found the actions you will have to get access to the package contents by selecting "Show Package Contents" from the contextual menu that you get by control clicking on the action in Finder.

The information will not be in any action related preference file.

That is why I had such a long description on how to find the actions, because you can only get the bundle identifier information from this file which should be inside every package.

I should have explained that bit a bit better at the beginning of my reply.

Kevin


MovingImages is a scripting tool for non-linear video editing.
http://zukini.eu/movingimages

iMagine Photo is deprecated. I would not use it for any new projects.

Offline

 

#5 2005-05-18 10:51:39 pm

Brandon Carpenter
Member
From:: Amarillo, Tx
Registered: 2002-11-20
Posts: 87
Website

Re: AMDescription of info.plist

Got it. Thanks for the correct directions. I was kind of stumbling around confused.

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)