Article View: adobe.photoshop.scripting
Article #2056Re: Open dialog for text file
From: Douglas_P_Hill
Date: Fri, 18 Jun 2004 21:13
Date: Fri, 18 Jun 2004 21:13
7 lines
958 bytes
958 bytes
The following seems to work for me:
Set objDlg = CreateObject("MSComDlg.CommonDialog")
objDlg.MaxFileSize = 10000
objDlg.ShowOpen
msgbox objDlg.FileName
I can't say that I really know what it means -- when I deleted the MaxFileSize line it gave me an error -- but this does bring up a dialog box and display a file name.
Technical Details
Message-ID:
<3bb4a774.6@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb4a774.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5839,9f372316bd6d2809 X-Google-Attributes: gidf5839,public From: Douglas_P_Hill@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.photoshop.scripting Subject: Re: Open dialog for text file Message-ID: <3bb4a774.6@webx.la2eafNXanI> Date: Fri, 18 Jun 2004 14:13:04 -0700 References: <3bb4a774.-1@webx.la2eafNXanI> Lines: 9 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit