New topic: 

Way to get each item in a folder

<http://forums.realsoftware.com/viewtopic.php?t=30644>

       Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic         Author  
Message       rlinsurf           Post subject: Way to get each item in a 
folderPosted: Sat Oct 24, 2009 11:00 pm                        
Joined: Tue Mar 21, 2006 12:49 am
Posts: 36              I've so far got the following, which does take me to the 
folder in question:

Code:Dim f as FolderItem
f=GetFolderItem("/Users/jeffrey/Downloads/",_
  FolderItem.PathTypeShell)
If f.exists then
  textFld.text=f.AbsolutePath
else
  MsgBox "The folderitem does not exist."
End if


I guess what I need now is to actually open each .txt file in that folder. How 
would I go about doing that?

EDITED: I probably should have said that I don't know the names of any of the 
files. I just need to open whatever .txt is in there and then open the next, 
etc.   
                            Top               Phil M           Post subject: 
Re: Way to get each item in a folderPosted: Sat Oct 24, 2009 11:48 pm           
             
Joined: Fri Sep 30, 2005 12:18 pm
Posts: 208              This is the wrong forum for this question, you should 
be asking it in General one instead of the one specifically for networking 
issues.

Here is a thread that is similar to your question and should provide the 
answers you are looking for:

viewtopic.php?f=7&t=30515   
                            Top               rlinsurf           Post subject: 
Re: Way to get each item in a folderPosted: Sat Oct 24, 2009 11:53 pm           
             
Joined: Tue Mar 21, 2006 12:49 am
Posts: 36              Ah. Thanks, Phil    
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 posts ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to