<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello Rafael,<br>
<br>
Le 16/05/2014 15:22, Rafael Guerra a écrit :<br>
</div>
<blockquote cite="mid:DUB109-DS15572EA818B060DE552EEACC310@phx.gbl"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Univers 57 Condensed";
panose-1:0 11 5 0 0 0 0 0 0 0;}
@font-face
{font-family:Monospaced;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Univers 57 Condensed","sans-serif";
color:#1F497D;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";
color:black;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<pre>Hello,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Does anyone know how if it is possible to propose a File name inside the GUI of uigetfile?<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>For example:<o:p></o:p></pre>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Monospaced","serif"">filename</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:#5C5C5C">=</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:windowtext">
</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:#32B9B9">uigetfile</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:#4A55DB">([</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:rosybrown">"*.txt"</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:#4A55DB">]</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif"">,</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:rosybrown">""</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif"">,</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:windowtext">
</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:rosybrown">"Write
output file name"</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif"">,</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:windowtext">
</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:orchid">%f</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif";color:#4A55DB">)</span><span
style="font-size:11.0pt;font-family:"Monospaced","serif"">;<o:p></o:p></span></p>
<pre><img id="Picture_x0020_1" src="cid:part1.06090101.07080001@free.fr" width="525" height="59"><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>It would be handy to be able to propose a file name in uigetfile, based on a Scilab variable related to data to be saved, instead of having to type it.</pre>
</div>
</blockquote>
<br>
AFAIU, uigetfile and uiputfile are not intended to propose a (new)
filename but to interactively select an existing one.<br>
If a new file must be created, why do you want to locate it
interactively (but for selecting the homing dir, with uigetdir) ?<br>
Regards<br>
Samuel<br>
</body>
</html>