If I test my Powershell script from within Windows Powershell ISE, it opens the Beta version instead of the regular version.
If I launch the script from the explorer from within Automation folder (in the regular version folder) ; then it works with the regular version.
Phil
Apply an action to all pages.
-
- Mitglied
- Posts: 187
- Joined: Thu 28 May 2015 18:00
- Location: Belgium
-
- Mitglied
- Posts: 1691
- Joined: Mon 23 Dec 2019 15:21
- Location: Ukraine
Re: Apply an action to all pages.
Yes, put script file in special folder ~/Library/Preferences/PhotoLine/Automation
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302
-
- Mitglied
- Posts: 187
- Joined: Thu 28 May 2015 18:00
- Location: Belgium
Re: Apply an action to all pages.
My script is in the "Automation" special folder.
But not listed in the Scripts menu : /Filter/Script.
-
- Entwickler
- Posts: 4234
- Joined: Tue 19 Nov 2002 15:49
-
- Entwickler
- Posts: 4234
- Joined: Tue 19 Nov 2002 15:49
Re: Apply an action to all pages.
That's strange. On Windows, the registry contains entries that define which application is used for automation. PhotoLine writes these entries when being installed.PhilM wrote: ↑Wed 15 May 2024 18:51 If I test my Powershell script from within Windows Powershell ISE, it opens the Beta version instead of the regular version.
If I launch the script from the explorer from within Automation folder (in the regular version folder) ; then it works with the regular version.
So automation should always use the latest PhotoLine version that you have installed.
You can overwrite the current entries by starting PhotoLine from command line with
Code: Select all
PhotoLine.exe /RegisterPerUser
-
- Mitglied
- Posts: 187
- Joined: Thu 28 May 2015 18:00
- Location: Belgium
Re: Apply an action to all pages.
I have re-installed Photoline 24.01 to be sure it is the latest.Martin Huber wrote: ↑Fri 17 May 2024 10:09That's strange. On Windows, the registry contains entries that define which application is used for automation. PhotoLine writes these entries when being installed.PhilM wrote: ↑Wed 15 May 2024 18:51 If I test my Powershell script from within Windows Powershell ISE, it opens the Beta version instead of the regular version.
If I launch the script from the explorer from within Automation folder (in the regular version folder) ; then it works with the regular version.
So automation should always use the latest PhotoLine version that you have installed.
You can overwrite the current entries by starting PhotoLine from command line with
MartinCode: Select all
PhotoLine.exe /RegisterPerUser
I have also executed "RegisterPerUser".
And Powershell ISE still invoke PL Beta.
My VBS scripts work as usual with PL 24.01 no problem.
Philippe
-
- Entwickler
- Posts: 4234
- Joined: Tue 19 Nov 2002 15:49
Re: Apply an action to all pages.
Did you quit PowerShell ISE before reinstalling PhotoLine?
PowerShell ISE keeps the connection to PhotoLine active as long as it is running. So if you don't quit PowerShell ISE, it will still be using the old assignment:
- PL Beta is registered for automation.
- You start Powershell ISE and execute a script.
- PowerShell ISE creates a connection to PL Beta.
- You register PL 24.01.
- PowerShell ISE will still be using PL Beta.
So you have to quit PowerShell ISE before registering PL 24.01. Before changing the registration, make sure that no PhotoLine is running in the background (by using the Task Manager).
Martin
-
- Mitglied
- Posts: 187
- Joined: Thu 28 May 2015 18:00
- Location: Belgium
Re: Apply an action to all pages.
Fixed !Martin Huber wrote: ↑Fri 17 May 2024 15:34Did you quit PowerShell ISE before reinstalling PhotoLine?
PowerShell ISE keeps the connection to PhotoLine active as long as it is running. So if you don't quit PowerShell ISE, it will still be using the old assignment:
- PL Beta is registered for automation.
- You start Powershell ISE and execute a script.
- PowerShell ISE creates a connection to PL Beta.
- You register PL 24.01.
- PowerShell ISE will still be using PL Beta.
So you have to quit PowerShell ISE before registering PL 24.01. Before changing the registration, make sure that no PhotoLine is running in the background (by using the Task Manager).
Martin
Powershell ISE was running when I did the re-install/registering ...
Thanks
Philippe