I want to automatically check 'Use Artboards' check box, when exporting JPEG/PNG from Illustrator. Is there any way to do it? May I have to change some script file to avoid manual checking for every new export dialog box. Thank you
Illustrator used to save your export settings for each opened session (meaning you would only have to hit this checkbox once). Times have changed, and now export settings are not retained, leading to problems like yours.
There are two solutions:
Use the "Save for Web" option, which does retain settings like "Clip to Artboard" (the same thing as Use Artboards in Export).
Use an action, just like in Photoshop, where your Export has the settings saved. You could simply create an action called "Export with Artboard" that does only that action for you.
Best of luck!