Adobe is working hard on desconstruct InDesign, update after update.
Awesome features to text-wrap, to find colors... But when new features broke existing ones, something bad is happening.
Why ID2021 stopped working the very simple preset folder when File().openDlg() is used?
When a new update comes, I read more people kiding about the new bugs than about the new features.
f = Folder ('/d/').openDlg ('Select some files', 'InDesign:*.indd', true);
work fine for me in 2021. What's the problem? What does 'Stopped working' mean? Error message? Nothing happened?
This is exactly what I have here and it's not working...
It goes to the last used folder instead of the new one.
Tried File("/d/").openDlg("Select the file" , "*.docx" , false) too. Same result.
Instead of File("/d/").openDlg try Folder("/d/").openDlg
Works for me on Windows 10.
I did it. Tried both File() and Folder(). Same result.
The dialog opens in the last used folder instead of the preset one.
This works for me on Mac Catalina, ID 21:
var desk = Folder.desktop; desk.openDlg('Select some files', '*.indd', true);
If I navigate to a different folder and select an INDD file, then rerun the script, it takes me back to Desktop. Is "/d/" (or whatever the folder/file is) a valid path?
Yes. "/d/" is a valid path here in my computer.
It's working before the update to 2021 version.
Cleaned all prefs (from ESTK and InDesign) and it is back.