Answered
Invalid value for set property 'appliedObjectStyles'
Hi everyone,
Can anyone help me to fix this script? I'm getting this error: Invalid value for set property 'appliedObjectStyles'.

Thanks in advance,
Rogerio
Hi everyone,
Can anyone help me to fix this script? I'm getting this error: Invalid value for set property 'appliedObjectStyles'.

Thanks in advance,
Rogerio
Try this:
app.changeObjectPreferences.appliedObjectStyles = app.activeDocument.objectStyles.item ('Numbers');
You need an object here, a string doesn't work.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.