Copy link to clipboard
Copied
When I use File.openDlg there is a highlighted entry of 'tmp00000001' in the File name box.
There is no such file in the folder.
Any ideas on how to stop this behaviour? TIA
Duplicate, please ignore. BTW, how can you delete a post, pls?
Copy link to clipboard
Copied
Duplicate, please ignore. BTW, how can you delete a post, pls?
Copy link to clipboard
Copied
File('~/desktop').openDlg()
Copy link to clipboard
Copied
Thanks for answering, but that gives a runtime error (in ESTK). No other information, sorry.
Copy link to clipboard
Copied
For me it works, so maybe you have other operating system than Windows?
Copy link to clipboard
Copied
Nope, Windows 10.
Copy link to clipboard
Copied
Show the full code of your script.
What you write is nonsense.
There is no function File.openDlg()
there is File.openDialog()
If you write something like this
File().OpenDlg()
or
a = File();
a.openDlg();
then you will get what you see now - tmp00000001
Copy link to clipboard
Copied
I have no intention of showing the full code, which totals several thousand lines.
"Nonsense", eh?
I was quoting as per the ESTK Objext Model Viewer: "File.openDlg (prompt: string , filter:any, multiSelect: Boolean 😞 File"
Copy link to clipboard
Copied
Find more inspiration, events, and resources on the new Adobe Community
Explore Now