apply time-variable electric field in Forcite modules through the Scripting API

with Forcite modules (MS 7.0), i am doing some simulations about the diffusion of solute atoms, such as Cu or Mg,  in Al lattice under time-variable electric field.

In materials studio online-help , we know wen can apply electric field on atoms through the Scripting API. the keys words in following:

Electric Field

SettingDefaultValuesDescription
ElectricFieldStrength00 to 1e20The electric field strength (in V/Å).
ElectricFieldX0−100 to 100The electric field direction vector X component.
ElectricFieldY0−100 to 100The electric field direction vector Y component.
ElectricFieldZ1−100 to 100The electric field direction vector Z component.

But the electric field strength is constant during simulation.

How to achieve time-variable electric field? anyone can give me some suggestions or scripts to achieve this?

thanks in advance.