Answered
Need to suppress warning dialog while executing script from outside photoshop application

Is there any way to do it via scripting!

Is there any way to do it via scripting!
look at this discussion https://community.adobe.com/t5/photoshop-ecosystem-discussions/psuserconfig/m-p/13838507
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.