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
 dlgSave
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

DerekK

USA
14 Posts

Posted - 05/31/2016 :  1:40:23 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I have used the dlgSave in LabTalk to ask the user to pick the location of where to save the project file. Using the Init variable, I can send them to the suggested folder.
--> Is there a way to also make a suggested filename to populate in the dialog box?

I can save the project directly as my suggested name, but I would rather have the user pick the location and confirm the name (and also the dialog box nicely takes care of confirming overwrite of an existing file).
Passing the suggested path+filename via Init does not work.

dlgSave fname:=myfile init:=PathA$ ext:=*.opj title:="Saving Project file location";
save %(myfile$);


Thanks, Derek

Origin Ver. and Service Release: Origin 2016 SR2
Operating System: W7

jasonzhao

China
262 Posts

Posted - 06/01/2016 :  06:18:32 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

In fact this is not supported in Origin 2016, but we can try to make some revision to one *.oxf file to make it possible.

Would you please submit a simple feature request by:
http://www.originlab.com/www/company/qform.aspx?s=1&

or send a letter to tech@originlab.com

and we will provide you further information about this problem.


Best regards!
Jason
OriginLab Technical Service

Edited by - jasonzhao on 06/01/2016 06:21:17 AM
Go to Top of Page

DerekK

USA
14 Posts

Posted - 06/01/2016 :  07:29:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Jason
Thanks for the info. I was hoping that there was an easy hidden variable to change or maybe a Origin C function.

Thanks, Derek
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