Dialog Filebrowse for a Directory

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
JRL
Automation Wizard
Posts: 3529
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Dialog Filebrowse for a Directory

Post by JRL » Mon May 12, 2008 10:47 pm

Is there any way to get dialog filebrowse for a directory to start at a specified directory. I have not been able to find a way to start at a place I define.

Code: Select all

Dialog>Dialog1
   Caption=Dialog1
   Width=656
   Height=169
   Top=0
   Left=0
   Button=Browse,24,16,75,25,0
   Edit=msEdit1,24,48,593,
   Button=Ok,288,96,75,25,3
   FileBrowse=Browse,msEdit1,,dir,%script_dir%
EndDialog>Dialog1
Show>Dialog1,res1
MDL>dialog1.msEdit1

User avatar
Rain
Automation Wizard
Posts: 550
Joined: Tue Aug 09, 2005 5:02 pm
Contact:

Post by Rain » Tue May 13, 2008 2:57 pm

I'm not having any luck either.

The help files says "ButtonObjectName,TextObjectName[,mask[,open|save|dir[,initialdir[,filename]]]]" but the initialdir only applies to save and open.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts