The script works fine, pastes the logo as a layer, aligns it to the lower right corner, until it has to move it. It seems to use absolute coordinates instead of relative ones so with larger images it ends up somewhere in the middle of the image completely ignoring and undoing the aligning steps. I can move it manually but then can't automatically let the script set the transparency and merge it. Here is a piece of the code snippet that seems to do the moving
Code: Select all
# Pick
App.Do( Environment, 'Pick', {
'Type': App.Constants.ObjectSelection.Select,
'X': 0,
'Y': 0,
'Width': 1,
'Height': 1,
'Group': True,
'Handle1': (600,1190),
'Handle2': (600,1127),
'Handle3': (800,1127),
'Handle4': (800,1190),
'Pivot': (700,1158.5),
'EarlyX4Script': False,
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Default,
'AutoActionMode': App.Constants.AutoActionMode.Match,
'Version': ((21,0,0),1)
}
})
# Pick
App.Do( Environment, 'Pick', {
'Type': App.Constants.ObjectSelection.Select,
'X': 0,
'Y': 0,
'Width': 1,
'Height': 1,
'Group': True,
'Handle1': (590,1190),
'Handle2': (590,1127),
'Handle3': (790,1127),
'Handle4': (790,1190),
'Pivot': (690,1158.5),
'EarlyX4Script': False,
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Default,
'AutoActionMode': App.Constants.AutoActionMode.Match,
'Version': ((21,0,0),1)
}
})