Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Pesky tmp00000001 entry in File.openDlg

Engaged ,
Jan 22, 2021 Jan 22, 2021

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

TOPICS
Actions and scripting
931
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Jan 22, 2021 Jan 22, 2021

Duplicate, please ignore.  BTW, how can you delete a post, pls?

Translate
Adobe
Engaged ,
Jan 22, 2021 Jan 22, 2021

Duplicate, please ignore.  BTW, how can you delete a post, pls?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 22, 2021 Jan 22, 2021
File('~/desktop').openDlg()
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 22, 2021 Jan 22, 2021

Thanks for answering, but that gives a runtime error (in ESTK).  No other information, sorry.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 22, 2021 Jan 22, 2021

For me it works, so maybe you have other operating system than Windows?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 27, 2021 Jan 27, 2021

Nope, Windows 10.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jan 22, 2021 Jan 22, 2021

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 27, 2021 Jan 27, 2021

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"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jan 27, 2021 Jan 27, 2021
LATEST
Why show all the code? It's not interesting. Only the line with "File.openDlg". If you have a different code (without the text: "File.openDlg"), then ask a specific question. I indicated the reason for the occurrence of tmp00000001. This is when you instantiate a file without specifying a path.
 
P.S. What you read and quote in some estk viewer is clear to you? 
 
 
 
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines