home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / hypercar / 4726 < prev    next >
Encoding:
Text File  |  1993-01-07  |  2.1 KB  |  77 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!gatech!udel!darwin.sura.net!news.Vanderbilt.Edu!NewsWatcher!user
  3. From: tommy@macpost.vanderbilt.edu (Tommy Williams)
  4. Subject: Re: Default folder for ask file dialog
  5. Message-ID: <tommy-070193102409@129.59.16.56>
  6. Followup-To: comp.sys.mac.hypercard
  7. Sender: news@news.vanderbilt.edu
  8. Nntp-Posting-Host: 129.59.16.56
  9. Organization: Vanderbilt School of Medicine
  10. References: <1ibbviINN23i@uniwa.uwa.edu.au>
  11. Date: Thu, 7 Jan 1993 16:27:28 GMT
  12. Lines: 63
  13.  
  14. In article <1ibbviINN23i@uniwa.uwa.edu.au>, spw@uniwa.uwa.edu.au (Steven P
  15. Wilkinson) wrote:
  16. > Hi all,
  17. > Is there a way to specify the folder which the ask/answer file
  18. > dialog will open at when it is called from within a script?
  19. > It appears the default is the folder containing
  20. > the stack I call ask/answer file from. I don't need to restrict
  21. > my users to a particular folder but I want them to see that folder
  22. > when the dialog opens.
  23. > Thanks in advance,
  24. > Steve Wilkinson
  25. > University of Western Australia
  26.  
  27. There's an XCMD called "SetSFfolder XCMD" and I believe I got it from
  28. sumex.
  29.  
  30. From the documentation of the XCMD:
  31. ----------
  32. "setSFfolder XCMD" sets the folder shown in the standard Open and Save As
  33. dialogs
  34. to the specified path. It is used in the following manner:
  35.  
  36. setSFfolder "System:Tools:HC folder:"
  37.  
  38. or
  39.  
  40. put "System:Tools:HC folder:" into thePath
  41. ...
  42. setSFfolder thePath
  43.  
  44.  
  45. Copyright 1991 A.D. Software
  46. Free to distribute and use in any circumstances
  47.  
  48. Source code available for $20 shareware (Visa and Mastercard accepted)
  49.  
  50. For more information, source or information on other products
  51. please contact:
  52.  
  53. Andy Dent
  54. A.D. Software
  55. 94 Bermuda Dve BALLAJURA  Western Australia 6066
  56. phone/fax (09) 249 2719   international:  +619 249 2719
  57. Internet:  dent@Dialix.oz.au
  58.  
  59. We provide programming services in virtually every programming environment
  60. available
  61. on the Mac, as well as some work on lesser machines such as VAXes and
  62. IBM-compatible.
  63. ----------
  64.  
  65. Hope this helps.
  66.  
  67. --Tommy Williams        tommy@macpost.vanderbilt.edu
  68.  
  69.   The Virgil Project
  70.   Vanderbilt University School of Medicine
  71.   (615) 343-0343
  72.