The problem is solved. Thanks for your help
I tried to define the conditions as -1<Re[]<1 , -1<Im[]<1 but I got this error NSolve::precbd: Requested precision [DoubleStruckCapitalC] is not a machine-sized real number between $MinPrecision and $MaxPrecision.
I meant the real and imaginary parts should be ranged between -1 and 1
What do you mean by "range [-i,i]"? Is that the segment between the points -i and i in the complex plane? Then the conditions should be Re[variable]==0&&-1<=Im[variable]<=1.
[-i,i]
-i
i
Re[variable]==0&&-1<=Im[variable]<=1