The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 GetFileName/getfile: setting the default directory
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 06/02/2022 :  07:27:37 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2022b (64-bit) SR1 9.9.5.167
Windows 7 Pro SP1 x64

Greetings!

https://d2mvzyuse3lwjc.cloudfront.net/doc/en/LabTalk/ref/GetFileName-cmd

How do I set the default directory that will be open in the GetFileName/getfile dialogs?

Thank you.

---
Andrey

YimingChen

1664 Posts

Posted - 06/02/2022 :  08:54:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
dlgFile init:="C:\Documents and Settings\Administrator\Desktop"

https://d2mvzyuse3lwjc.cloudfront.net/doc/en/X-Function/ref/dlgFile

James
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 06/02/2022 :  09:23:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

dlgFile init:="C:\Documents and Settings\Administrator\Desktop"

https://d2mvzyuse3lwjc.cloudfront.net/doc/en/X-Function/ref/dlgFile

James



Dear James,

Does init from dlgFile work with GetFileName/getfile dialogs?

---
Andrey
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000