Load selected images AND Apply Action from Browser
-
- Mitglied
- Posts: 51
- Joined: Tue 23 Jan 2018 10:06
- Location: Russia
Load selected images AND Apply Action from Browser
Is it possible to do this for one action from the browser? Sometimes it would be useful such an opportunity.
-
- Entwickler
- Posts: 3721
- Joined: Tue 19 Nov 2002 15:49
Re: Load selected images AND Apply Action from Browser
The context menu of the browser has the command "Apply Action". Is that what you are looking for?
-
- Mitglied
- Posts: 51
- Joined: Tue 23 Jan 2018 10:06
- Location: Russia
Re: Load selected images AND Apply Action from Browser
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.
For example, I need to create a copy of the layer and apply some filter to the selected from the browser.
-
- Entwickler
- Posts: 3721
- Joined: Tue 19 Nov 2002 15:49
Re: Load selected images AND Apply Action from Browser
You can do that with a simple script:
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
Code: Select all
Dim pl
Dim doc
Set pl = CreateObject("PhotoLine.Application")
For Each doc In pl
doc.DoOperation "Action", "Name", "DocumentAction"
Next
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