Copy link to clipboard
Copied
I'm processing a large number of files and many of these files came from a CS3 environment where the artboard is singular rather than plural. Anyhow, I think this is the reason that I'm getting a "Convert To Artboards" dialog when I open these files. If I hit OK, then everything is good, but this is an automated process and I need to do two things through script:
1. Detect when the aforementioned dialog is present
2. Press the OK button
Any ideas? A second option would be to preprocess all of these files, but I think I still run into the same issue if I want to automate that.
Copy link to clipboard
Copied
Don - Haven't had a chance to test yet, but have you tried the new properties in the OpenOptions data class for dealing with artboards?
Options -
convert crop area to artboard
convert tiles to artboard
create artboard with artwork bounding box
preserve legacy artboard
Copy link to clipboard
Copied
prevent dialogs from showing by setting the
UserInteractionLevel = aiDontDisplayAlerts
at the beginning of your code
and
UserInteractionLevel = aiDisplayAlerts
at the end of your code
above sample code works for VBA in Windows, do the quivalent for AS