Kylomas, This Mod thinks it is an abomination and it only works by pure luck. johnmcloud, I would strongly advise against using non-standard contructs of that sort - you will only get bitten by one not working as you expect one day. And will you be able to remember how it is supposed to work when you look again at the script in several months time? Go for simplicity - AutoIt is slow enough that any time you save will be minimal, and large enough when compiled that you do not save much in size terms by condensing assign statements like that. Finally anything involving Booleans should be simple as possible as getting their logic right is difficult enough as it is M23