Seite 1 von 4

Neue Testversion 20.40b9

Verfasst: Mi 31 Mai 2017 16:53
von Gerhard Huber
Hallo,

es gibt wieder eine neue Testversion 20.40b9.

Windows:
http://www.pl32.com/beta/pl2040b9.zip


Mac OS:
http://www.pl32.com/beta/plx2040b9.zip



Neues:
- wir haben damit begonnen PhotoLine "Scriptingfähigkeiten" zu spendieren.
Dazu liegen im Verzeichnis "Defaults > Automation" einige "Versuche"
Das Ganze ist noch sehr Alpha, aber uns würde interessieren, ob das überhaupt jemand haben will.

diverse kleine Fehler beseitigt

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 08:57
von Herbert123
Scripting!!! That explains the silence for a while.

Downloading now. I will check this out this upcoming weekend.

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 09:09
von gmhofmann
Ist das ne doofe Frage: Was unterscheidet Scripting von den Aktionen in PL (bei denen auch Skripte erstellen werden)?
Und wie funktionieren die neuen Scripte?

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 09:22
von Herbert123
I found the "script" menu entry, but it is empty - no submenu.

Shouldn't it be populated with the scripts in that automation folder?

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 09:28
von Gerhard Huber
Herbert123 hat geschrieben: Do 01 Jun 2017 09:22 I found the "script" menu entry, but it is empty - no submenu.
Shouldn't it be populated with the scripts in that automation folder?
"Filter > Script" should be (and is here) a submenu with the examples of the automation folder.
Sorry, but I don't know if this works on macOS at the moment.

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 09:29
von Herbert123
gmhofmann hat geschrieben: Do 01 Jun 2017 09:09 Ist das ne doofe Frage: Was unterscheidet Scripting von den Aktionen in PL (bei denen auch Skripte erstellen werden)?
Und wie funktionieren die neuen Scripte?
Compare Photoshop's actions with its built-in scripting: if implemented with full exposure to custom user-built interface elements, we should be able to expand PhotoLine's functionality with completely new features relatively easily.

And scripting allows for FAR more control and advanced program flow than linearly recorded actions (basically, we can control the flow with considtions, loops, variables, and so on). If PhotoLine would provide the same level of scripting as Blender, for example, us users would be able to create entirely new tools and functions.

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 09:30
von Gerhard Huber
gmhofmann hat geschrieben: Do 01 Jun 2017 09:09 Ist das ne doofe Frage: Was unterscheidet Scripting von den Aktionen in PL (bei denen auch Skripte erstellen werden)?
Und wie funktionieren die neuen Scripte?
Scripte sind flexibler. Hier kann man "richtig" programmieren, also z.B. alle Seiten eines Dokuments durchlaufen, auf jeder Seite die Vektorebenen suchen und deren Farbe ändern. Solche Sachen lassen sich mit Aktionen nicht realisieren.

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 09:31
von Herbert123
Gerhard Huber hat geschrieben: Do 01 Jun 2017 09:28
Herbert123 hat geschrieben: Do 01 Jun 2017 09:22 I found the "script" menu entry, but it is empty - no submenu.
Shouldn't it be populated with the scripts in that automation folder?
"Filter > Script" should be (and is here) a submenu with the examples of the automation folder.
Sorry, but I don't know if this works on macOS at the moment.
I am on Windows, and the list shows up empty.

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 09:43
von Gerhard Huber
Herbert123 hat geschrieben: Do 01 Jun 2017 09:31 I am on Windows, and the list shows up empty.
Don't know why, but you can start the scripts from the Windows Explorer, too.
The best way would be to create a script in Visual Basic inside Visual Studio.

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 11:19
von photoken
Herbert123 hat geschrieben: Do 01 Jun 2017 09:31 I am on Windows, and the list shows up empty.
Works OK here on Win10 -- all the scripts show up in the submenu.

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 11:23
von photoken
Gerhard Huber hat geschrieben: Do 01 Jun 2017 09:43 The best way would be to create a script in Visual Basic inside Visual Studio.
Would it be possible to allow creating a script in C# inside Visual Studio? (At least on Windows?)

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 12:10
von gmhofmann
Windows 7: das Menü bleibt leer :shock:

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 12:37
von Gerhard Huber
gmhofmann hat geschrieben: Do 01 Jun 2017 12:10 Windows 7: das Menü bleibt leer :shock:
am Windows 7 kann es nicht liegen, damit habe ich auch getestet. Da muss etwas anderes Probleme machen, z.B. Umlaute oder Leerstellen im Dateipfad zu PhotoLine?

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 14:35
von gmhofmann
C:\Program Files\PhotoLine\Defaults\Automation :?:

Re: Neue Testversion 20.40b9

Verfasst: Do 01 Jun 2017 16:18
von Martin Huber
photoken hat geschrieben: Do 01 Jun 2017 11:23
Gerhard Huber hat geschrieben: Do 01 Jun 2017 09:43 The best way would be to create a script in Visual Basic inside Visual Studio.
Would it be possible to allow creating a script in C# inside Visual Studio? (At least on Windows?)
Yes, but technically speaking this wouldn't be a script, but a compiled application ;-)

And currently the scripting/automation interface is a moving target, so you might have to recompile your code with every new version of the interface.
But C# and VB.NET are much faster than VBScript, so it might be possible to realize more complex tasks using one them. And at least VB.NET offers things like code completion, error checks while editing and so on.

Martin