Hi all,
I am not sure if this message was submitted as I
didn't have access to my email for a few days.
Here is the question again... sorry if it has been
repeated but I need some response soon.
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

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

[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