I'm not a C programmer so am struggling with this. The JSON file I can figure but the guts of the C part I'm at a loss.
What I'm trying to do (or want to do) is have a Script I can run that will populate a Custom Field (1-5..) with the Current date and time. Sounds simple? UGH
Any help is appreciated, or even just point me in a direction that is helpful.
Thanks anyone!! :)
We actually have an example script that you will only need to change one line in order to perform what you want.
Please edit the file: %APPDATA%\Imploded Software\Helium 14\scripts\Examples\AddCustomField.cs file and change line 16 into:
track.Custom1 = DateTime.Now.ToString("yyyy-MM-dd HH:mm");
Save the file.
Now I noticed a mistake that we made so you will also need to edit this file:
%APPDATA%\Imploded Software\Helium 14\scripts\Examples\AddCustomField.json
The "EntryPoint" is set to "ArtistPicturesFromFiles.cs". Please change this to "AddCustomField.cs" and save the file.
Now you should be able to run this script and get the result you want.
Let us know if you need any more assistance! You can also read more about the C# language that is being used to run scripts here: