Load selected images AND Apply Action from Browser

Here everybody can post his problems with PhotoLine
gennadiy
Mitglied
Beiträge: 84
Registriert: Di 23 Jan 2018 10:06
Wohnort: Russia

Load selected images AND Apply Action from Browser

Beitrag von gennadiy »

Is it possible to do this for one action from the browser? Sometimes it would be useful such an opportunity.
Martin Huber
Entwickler
Entwickler
Beiträge: 4159
Registriert: Di 19 Nov 2002 15:49

Re: Load selected images AND Apply Action from Browser

Beitrag von Martin Huber »

The context menu of the browser has the command "Apply Action". Is that what you are looking for?
gennadiy
Mitglied
Beiträge: 84
Registriert: Di 23 Jan 2018 10:06
Wohnort: Russia

Re: Load selected images AND Apply Action from Browser

Beitrag von gennadiy »

I would like to be opened in the editor, and then the action applied to the open.
For example, I need to create a copy of the layer and apply some filter to the selected from the browser.
Martin Huber
Entwickler
Entwickler
Beiträge: 4159
Registriert: Di 19 Nov 2002 15:49

Re: Load selected images AND Apply Action from Browser

Beitrag von Martin Huber »

You can do that with a simple script:

Code: Alles auswählen

Dim pl
Dim doc

Set pl = CreateObject("PhotoLine.Application")

For Each doc In pl
	doc.DoOperation "Action", "Name", "DocumentAction"
Next
This script applies the action named "DocumentAction" to each opened document.
To execute the script you will have to save it as text file with the extender ".vbs", for example "ActionToDocuments.vbs". Double-clicking in Explorer will execute it.

So the needed steps are:
- Select the files in PhotoLine's Browser
- Open them using the context menu
- Execute the script by double-clicking it in Explorer.

Martin
Benutzeravatar
shijan
Mitglied
Beiträge: 1497
Registriert: Mo 23 Dez 2019 15:21
Wohnort: Ukraine

Re: Load selected images AND Apply Action from Browser

Beitrag von shijan »

In most cases PLD is your final destination. So instead of apply action to every opened file, i personally just use Batch Convert tool, apply action from there, and save to folder as PLD. In single click this gives me folder with pre-setted files for future editing.
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302