I have recoded a script with your Steps and values and saved it. I then ran it and it defiantly remembers the Values
I have recoded a script with your Steps and values and saved it. I then ran it and it defiantly remembers the Values
Just a further update: I received a reply back from Corel that they could not duplicate the fault, so did a bit more investigation.
I did the same script in PSPX2 and PSP X3 and after placing both scripts in the X2 program (on laptop) and then transferring both to the X3 program (on desktop) Found that the X2 script worked under both versions while the X 3 script failed under both versions.
I then used wordpad to examine each script:
The X2 script :
# Color Adjust Levels
App.Do( Environment, 'ColorAdjustLevels', {
'Levels': {
'RGB': (0,255,1.6545,0,255),
'Red': (0,255,1,0,255),
'Green': (0,255,1,0,255),
'Blue': (0,255,1,0,255),
'Clipping': 0
},
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Default,
'AutoActionMode': App.Constants.AutoActionMode.Match,
'Version': ((12,0,0),1)
}
})
and after the skin smoothing when the levels was used again :
# Color Adjust Levels
App.Do( Environment, 'ColorAdjustLevels', {
'Levels': {
'RGB': (0,255,0.672425,0,255),
'Red': (0,255,1,0,255),
'Green': (0,255,1,0,255),
'Blue': (0,255,1,0,255),
'Clipping': 0
},
____________________________________
The X 3 script :
# Color Adjust Levels
App.Do( Environment, 'ColorAdjustLevels', {
})
and after the skin smoothing :
# Color Adjust Levels
App.Do( Environment, 'ColorAdjustLevels', {
})
So the X3 program was as suspected not recording the level data and using the default setting after the last operation.
Now is there something wrong with the program or do I have a dud version . Might have to uninstal and reinstall and see if the same occurs again.
My version is PSP X3 Version 13.0.0.253
My test script
from PSPApp import *
def ScriptProperties():
return {
'Author': u'',
'Copyright': u'',
'Description': u'',
'Host': u'PaintShop Photo Pro',
'Host Version': u'13.00 Alpha 00000000.0000000000.00'
}
def Do(Environment):
# EnableOptimizedScriptUndo
App.Do( Environment, 'EnableOptimizedScriptUndo', {
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Default,
'AutoActionMode': App.Constants.AutoActionMode.Match,
'Version': ((13,0,0),1)
}
})
# Color Adjust Levels
App.Do( Environment, 'ColorAdjustLevels', {
'Levels': {
'RGB': (0,255,1.53492,0,255),
'Red': (0,255,1,0,255),
'Green': (0,255,1,0,255),
'Blue': (0,255,1,0,255),
'Clipping': 0
},
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Default,
'AutoActionMode': App.Constants.AutoActionMode.Match,
'Version': ((13,0,0),1)
}
})
# SmoothSkin
App.Do( Environment, 'SmoothSkin', {
'Amount': 50,
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Default,
'AutoActionMode': App.Constants.AutoActionMode.Match,
'Version': ((13,0,0),1)
}
})
# Color Adjust Levels
App.Do( Environment, 'ColorAdjustLevels', {
'Levels': {
'RGB': (0,255,0.68147,0,255),
'Red': (0,255,1,0,255),
'Green': (0,255,1,0,255),
'Blue': (0,255,1,0,255),
'Clipping': 0
},
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Default,
'AutoActionMode': App.Constants.AutoActionMode.Match,
'Version': ((13,0,0),1)
}
})
Bookmarks