Bug when adding content to Description Field through script
Posted: 2002-07-27 11:48:16
Hi
My goal is to add text to the Description field through a script instead of replacing the original content.
Try the following:
In the IMDB script replace one line
SetField(fieldDescription, getfield(fieldDescription) + #13#10#13#10 + Value);
instead of
SetField(fieldDescription, Value);
When running this through ordinanary scripting (F6) it does what it is supposed to do but when I use the "Get information from script" it ignores the part with "getfield(fieldDescription)".
Finally I have question. Is it possible to check from a script if there already is a picture attached to the current movie so I can avoid replacing this?
AMC 3.3.0 (22/6/2002)
Windows 2000 SP 2
My goal is to add text to the Description field through a script instead of replacing the original content.
Try the following:
In the IMDB script replace one line
SetField(fieldDescription, getfield(fieldDescription) + #13#10#13#10 + Value);
instead of
SetField(fieldDescription, Value);
When running this through ordinanary scripting (F6) it does what it is supposed to do but when I use the "Get information from script" it ignores the part with "getfield(fieldDescription)".
Finally I have question. Is it possible to check from a script if there already is a picture attached to the current movie so I can avoid replacing this?
AMC 3.3.0 (22/6/2002)
Windows 2000 SP 2