Welcome Guest

Pages: 1
Sample Actions
2MR1PostOctober 20, 2014, 12:42
Administrator
Posts: 17
Registered:
June 2, 2012, 01:19
Normal topicSample Actions

Sample actions can be found at:

https://2manyrobots.com/SampleActions/YateSampleActions.html

From time to time we might dump other sample stuff, such as search templates, to the Sample Actions page.

rocklobsterPostJune 4, 2015, 04:35
Beginner
Posts: 25
Registered:
May 29, 2015, 09:15
Normal topicRe: Sample Actions

Thanks for the sample actions. I found that dragging plist files to any pane of the main window did nothing. the main section accepts drop but beeps. perhaps because plist files are on a non-boot volume? also, cannot use "import preferences" to select more than one action at a time.

2MR2PostJune 4, 2015, 06:27
Avatar photo
Administrator
Posts: 2138
Registered:
August 23, 2012, 19:27
Normal topicRe: Sample Actions

Note sure what is happening. The import/export stuff is not 'aware' of single items. You either import all the actions in a plist file or none. If you are hearing the 'plink' something is being done. The code does not care about the source volume of the plist. The 'drag in' mode is a convenience and only works if you drag to the 'list of files' panel.

You can use 'Import Preferences File Contents....' or hold down the Shift key when dragging a plist in to view the contents.

....and...when you Import via the menu you get the chance to select which component types to import. When you import by dragging you preset the type of stuff you're interested in via 'Preferences-File List-Dragged preference file import settings'

rocklobsterPostJune 4, 2015, 13:26
Beginner
Posts: 25
Registered:
May 29, 2015, 09:15
Normal topicRe: Sample Actions

I'm talking about importing multiple .plist files (for unzipped sample actions) simultaneously. Can't get drag & drop to work at all, as stated. But I can Import Preferences one plist at a time, which is fine.

2MR2PostJune 4, 2015, 15:08
Avatar photo
Administrator
Posts: 2138
Registered:
August 23, 2012, 19:27
Normal topicRe: Sample Actions

Ah yes, the dragging of plist files and /or artwork files is one at a time. The dragging of audio folders or files allows multiples.

ShinglesMcGeePostJuly 28, 2024, 21:37
Avatar photo
Newbie
Posts: 1
Registered:
July 29, 2024, 00:24
Normal topicSample Actions

New Yate user here. I know this thread is 9 years old, but is the "one at a time" method of importing sample actions, still the expected behavior? It seems to be as I'm having the same experience as rocklobster, but just checking that there isn't a bulk import option available. I can probably set up automation through Hazel or a shell script to open the collection of sample actions and templates in Yate, but it would be great if there was a native option to just drag and drop a folder of actions and templates, then have them import all at once, much as you can do with folders of audio files.

2MR2PostJuly 28, 2024, 22:30
Avatar photo
Administrator
Posts: 2138
Registered:
August 23, 2012, 19:27
Normal topicSample Actions

Each plist file is actually an action bundle as it contains all components required to run the action. As an example, when you import the Apple Music plist you get 19 actions and 1 export set. You can drag the actions to the main window's file list area in order to import (most of the samples).

There was a reason why multiple imports at a time were disallowed and it is mostly to do with the sequencing of the imports. Each import is actually a separate process. When you drag over multiple audio files the load is coalesced and is a single process. This can't be done with the action/settings imports as plist files can contain lots of non action related settings and sequencing could be an issue. The issue is determining when it is safe to load the 2nd bundle, then the 3rd etc and how you could cancel.

I could export as many as I want into a single bundle which would then import a slew of actions but it would be much harder to explain the distribution. There is another reason I don't produce a single bundle and that is folder information would be lost. As multiple unrelated actions can be exported at a time, the original folder information has to be discarded and bundles either install the actions in the root or under a single folder. It would be more than a little tough to figure out what a flat list of hundreds of actions were.

Also, some of the bundles contain conflicting custom field definitions. When importing custom fields, everything stops and you have to confirm what you will accept and possibly which version (current or new) you want to keep.

Hopefully this doesn't sound like an excuse but there really are reasons behind the decision to do one bundle at a time.

While you could do it with a Hazel script you'd have to be able to determine if Yate's UI gets blocked by a popup panel (during installation) which is asking for input. The time it would take to write the script may be more than simply dragging them over one at a time.

The most aesthetic solution would be to extend the Action Updater to allow you to select actions to have installed as opposed to simply selecting updates for actions already installed. This sort of exists already in the Multi Field Editor which can present a list of available MFE actions and can bulk install them. This is somewhere on my todo list already ... but you'll have the actions long installed before I could do it. However, this is the way to go.

Sorry I don't have a better answer for you at this time.

2MR2PostJuly 30, 2024, 20:46
Avatar photo
Administrator
Posts: 2138
Registered:
August 23, 2012, 19:27
Normal topicSample Actions

I've implemented the Resource Actions Installer which is an expanded Action Updater. It displays all the actions on the web resource page's Actions section. You can select which actions you want to install and it takes care of the downloading and installation. ... avoiding all of the sequencing issues.

I had also forgotten that the single plist import can use the Shift and Option keys to modify the process. Shift displays the contents of the bundle and Option opens the bundle in the Container Viewer as opposed to installing it. Further there are template and custom edit panels which can be installed by the same UI dragging. All of this rambling leads to the point that I will not be allowing more than one plist to be dragged ... for now.

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.031 seconds.