This content has been marked as final.
Show 3 replies
-
1. Re: [JS][CS4] - Setting up an if statement based on artboard size
CarlosCanto Oct 12, 2011 11:29 AM (in response to booyajamo)you're almost there
replace
if(doc.artboards[0.artboardRect == [0,792,1224,0]){with
if(doc.artboards[0].artboardRect == "0,792,1224,0"){ -
2. Re: [JS][CS4] - Setting up an if statement based on artboard size
Muppet Mark Oct 12, 2011 11:35 AM (in response to booyajamo)May be this would suffice…
if ( doc.artboards[0].artboardRect.toString() == [0,792,1224,0].toString() ) { -
3. Re: [JS][CS4] - Setting up an if statement based on artboard size
booyajamo Oct 12, 2011 11:38 AM (in response to CarlosCanto)Thanks Carlos! I was hoping it was something super simple like that.


