Photoshop scripting: a couple of questions
Posted: Sun Oct 25, 2009 11:19 pm
Hi, I am using Neat Image Pro+ plugin called from a javascript in Photoshop and I have a couple of questions:
1) I need to select "Auto Match profile" but with a fallback policy of "Auto Build profile" if there is no matched profile. Is this possible?
I found that after setting "SfpN" to "Auto match profile", then setting "BpaN" parameter to "false" has no fallback policy (if no profile is matched, the plugin stops waiting for a profile to be auto built), while if "BpaN" is set to "true" then the profile is always auto built (also if a match is found and regardless of "SfpN"). I am a bit confused...
2) To pass a preset name to the plugin, it's necessary to set the "FrpN" parameter. From some tests I did, it seems to me that I have to specify the full path of the preset (that can be a problem since it depends on the value of the PRESETS folder): is it true or there is a way to specify just the name without the path?
Thanks a lot.
Giuse
1) I need to select "Auto Match profile" but with a fallback policy of "Auto Build profile" if there is no matched profile. Is this possible?
I found that after setting "SfpN" to "Auto match profile", then setting "BpaN" parameter to "false" has no fallback policy (if no profile is matched, the plugin stops waiting for a profile to be auto built), while if "BpaN" is set to "true" then the profile is always auto built (also if a match is found and regardless of "SfpN"). I am a bit confused...
2) To pass a preset name to the plugin, it's necessary to set the "FrpN" parameter. From some tests I did, it seems to me that I have to specify the full path of the preset (that can be a problem since it depends on the value of the PRESETS folder): is it true or there is a way to specify just the name without the path?
Thanks a lot.
Giuse