Hi Ian
Scripting is pretty simple. Action.Platform is actually an enum, which wasn’t expose to scripting until now, however it works as an integer
TPlatform = (Win32, Win64, OSX32, Linux64);
So
Win32 = 0
Win64 = 1
OSX32 = 2
Linux64 = 3
So add a project variable called CompilerPlatform, set the type to integer, default value 0 (win32)
Then select the action, go to the script editor, on the Before Action tab, select Javascript as the language (I avoid vbscript!) :
Action.Platform = FBVariables.CompilerPlatform;
That’s all there is to it.
BTW, for code signing, I have an example project on github you can borrow ideas from - see this post https://www.finalbuilder.com/resour…s-for-2016