How to write in jsx "Not equal"?


i need check, if bleeds have same value:

with (app.activedocument.documentpreferences){

if (documentbleedbottomoffset==documentbleedtopoffset==documentbleedinsideorleftoffset==docu mentbleedoutsideorrightoffset){

alert ("make bleeds equal!"); exit()

}}

 

but if try:

if (!documentbleedbottomoffset==documentbleedtopoffset==documentbleedinsideorleftoffset==doc umentbleedoutsideorrightoffset){

 

nothing changes: line "alert" executes anyway. why?

'me' != 'you' //-> true

edit:

google loves us: http://www.w3schools.com/js/js_comparisons.asp



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support