Build Events in Flare 2017

This forum is for all Flare issues not related to any of the other categories.
Post Reply
jimgilliam
Propeller Head
Posts: 96
Joined: Tue Jun 04, 2013 9:49 am
Location: Arkansas, U.S.A.

Build Events in Flare 2017

Post by jimgilliam »

I'd like to write a pre-build event script that checks if the ServerEnabled node (a setting in the Target > Publishing tab) is set to true. If it's checked (set to true), then I want the pre-build script to set the ServerEnabled to false. :flare:

For example:
IF ServerEnabled == true then set to false

Can this be accomplished with a pre-build event script? Would I just compare two strings?

Jim
:flare:
jimgilliam
Propeller Head
Posts: 96
Joined: Tue Jun 04, 2013 9:49 am
Location: Arkansas, U.S.A.

Re: Build Events in Flare 2017

Post by jimgilliam »

Or maybe a script to check the status of ServerEnabled, and if it is true, then abort the build or the publish and give the writer a dialog message box explaining why.

Thoughts?
:flare:
Post Reply