Skip to content Skip to sidebar Skip to footer

If Else Imacros With Javascript Command

please help me with my script i want to check the checkbox if {{!COL22}} NOT NULL and uncheck the checkbox if {{!COL22}} is NULL but this script not work in this statement with for

Solution 1:

It's impossible to get the !COL22 value directly inside a js-script. You should extract it before with an iim-code. For example by using an additional macro:

...
iimPlay(isi);

iimPlayCode (
    'SET !DATASOURCE Shoes<SP>05-04-2018.csv' + "\n" +
    'SET !EXTRACT {{!COL22}}' + "\n"
);

if (iimGetExtract() = "") {
...

Post a Comment for "If Else Imacros With Javascript Command"