comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Dialog_pickfile problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Dialog_pickfile problem [message #59943] Tue, 22 April 2008 07:12
clivecook59 is currently offline  clivecook59
Messages: 26
Registered: November 2005
Junior Member
Hi,

I am using Dialog_pickfile to write a jpeg, using file='a string i
insert here'. My problem is that if i want to change the directory in
which dialog_pickfile defaults to it wipes the string i initially
inserted. Is there a way i can fix the default filename so that the
user can pick a directory to save the jpeg without having to retype
the file name back in?

filename = Dialog_Pickfile(/Write, File=uname
+'-'+info.file_name,DEFAULT_EXTENSION='jpeg')
IF filename NE '' THEN Write_JPEG, filename, snapshot, True=1

many thanks,

Clive
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: problem with Fanning's getcolor
Next Topic: Re: Saving Workbench Layout?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:40:45 PDT 2025

Total time taken to generate the page: 0.00570 seconds