Hi all,
Hope someone with a knowledge of Buddy API  can help me with a irritating problem.
I have attached some code to a button within a Director 7 project that downloads various files
from the CD-ROM to the users computer. To help them I have included a dialogue box that they can
choose what folder they can downlaod their chosen files. What I would like to happen also
is for the user to create (type) a new folder.... so how can I change the code below to accomadate
the extra function to "create folder" in the dialogue box popup?
Any help will be appreciated
cheers
john

on mouseDown
  set startDir = "c:\"
  set folderChar = "\"
  set folder = baGetFolder( startDir, "Please select a folder to install into:", 1,
  "Select a folder"
, -1, 0 )
    if folder <> "" then -- user selected a file 
  set OK = baCopyFile( the moviePath & "geo1" & folderChar & "Introduction.pdf" , folder &
    "Introduction.pdf" , "IfNewer")
  set Answer = baMsgBox( "File Saved", "Download Utility" , "OK", "Exclamation" , 1 )
  end if
 
end mouseDown [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to