setting values standard values

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
jan_hut

setting values standard values

Post by jan_hut »

Would it be possible to set for example the standard value for subtitles to "none" when importing a movie? Or at least export it to html like that if there is no subtitle info available? I think I should be able to use some php code for this but I haven't been able to find a way to code that in a single line (not a line for each language).
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

In the Preferences window there is a button to set default field values. These values are set on a newly created movie.
If you prefer to set a value when getting information from a script, edit the script and add just before the line "DisplayResults;" a line with:

Code: Select all

SetField(fieldSubtitles, 'none');
for example.
jan_hut

Post by jan_hut »

thanks ant!
Post Reply