[SCRIPTING] Create object style based on selected object
Hello, there.
Any idea on how to create an object style based on the settings of selected object with javascript?
Hello, there.
Any idea on how to create an object style based on the settings of selected object with javascript?
If I run it from the Scripts Panel, there is no error.
But the anchoredObjectSettings doesn't apply... =(
I think I will set each property one by one in the script code.
Thank you soooo much, Brian!
Yeah, you can check
if (prop == "anchoredObjectSettings")
aNewStyle[prop].properties = select[prop].properties;
Or iterate through each property in case there are more conflicts.
You'd have to do with the other settings/prefs I mentioned above.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.