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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 dlgSave

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
DerekK Posted - 05/31/2016 : 1:40:23 PM
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
2   L A T E S T    R E P L I E S    (Newest First)
DerekK Posted - 06/01/2016 : 07:29:36 AM
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
jasonzhao Posted - 06/01/2016 : 06:18:32 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000