Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Dialog_pickfile...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 5661 of 5728
Post > Topic >>

Dialog_pickfile problem

by clivecook59@[EMAIL PROTECTED] Apr 22, 2008 at 07:12 AM

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




 10 Posts in Topic:
Dialog_pickfile problem
clivecook59@[EMAIL PROTEC  2008-04-22 07:12:12 
Re: Dialog_pickfile problem
Vince Hradil <hradilv@  2008-04-22 07:19:05 
Re: Dialog_pickfile problem
clivecook59@[EMAIL PROTEC  2008-04-22 07:20:52 
Re: Dialog_pickfile problem
Vince Hradil <hradilv@  2008-04-22 07:23:13 
Re: Dialog_pickfile problem
clivecook59@[EMAIL PROTEC  2008-04-22 07:29:05 
Re: Dialog_pickfile problem
David Fanning <news@[E  2008-04-22 08:31:28 
Re: Dialog_pickfile problem
clivecook59@[EMAIL PROTEC  2008-04-22 07:33:35 
Re: Dialog_pickfile problem
"marika" <ma  2008-04-22 21:01:09 
Re: Dialog_pickfile problem
Vince Hradil <hradilv@  2008-04-22 07:36:39 
Re: Dialog_pickfile problem
Vince Hradil <hradilv@  2008-04-22 07:38:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 2:39:27 CDT 2008.