I have a problem that there's no method to save data to local by JS, so I want to assign the value of a JS variable to an iMacros variable,then save data to local by iMacros command.I know the command iimSet(),but its syntax :
int ret_code = iimSet ( String VARNAME, String VARVALUE )
e.g.
iimSet("ABC", "hello")
If there are lots of characters included in the value of a variable, need I type them one by one manually when I use iimSet()?And if data generated dynamically, @#$%^&

Any suggestions will be appreciated!