home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!gatech!udel!darwin.sura.net!news.Vanderbilt.Edu!NewsWatcher!user
- From: tommy@macpost.vanderbilt.edu (Tommy Williams)
- Subject: Re: Default folder for ask file dialog
- Message-ID: <tommy-070193102409@129.59.16.56>
- Followup-To: comp.sys.mac.hypercard
- Sender: news@news.vanderbilt.edu
- Nntp-Posting-Host: 129.59.16.56
- Organization: Vanderbilt School of Medicine
- References: <1ibbviINN23i@uniwa.uwa.edu.au>
- Date: Thu, 7 Jan 1993 16:27:28 GMT
- Lines: 63
-
- In article <1ibbviINN23i@uniwa.uwa.edu.au>, spw@uniwa.uwa.edu.au (Steven P
- Wilkinson) wrote:
- >
- > Hi all,
- >
- > Is there a way to specify the folder which the ask/answer file
- > dialog will open at when it is called from within a script?
- >
- > It appears the default is the folder containing
- > the stack I call ask/answer file from. I don't need to restrict
- > my users to a particular folder but I want them to see that folder
- > when the dialog opens.
- >
- > Thanks in advance,
- >
- > Steve Wilkinson
- > University of Western Australia
-
- There's an XCMD called "SetSFfolder XCMD" and I believe I got it from
- sumex.
-
- From the documentation of the XCMD:
- ----------
- "setSFfolder XCMD" sets the folder shown in the standard Open and Save As
- dialogs
- to the specified path. It is used in the following manner:
-
- setSFfolder "System:Tools:HC folder:"
-
- or
-
- put "System:Tools:HC folder:" into thePath
- ...
- setSFfolder thePath
-
-
- Copyright 1991 A.D. Software
- Free to distribute and use in any circumstances
-
- Source code available for $20 shareware (Visa and Mastercard accepted)
-
- For more information, source or information on other products
- please contact:
-
- Andy Dent
- A.D. Software
- 94 Bermuda Dve BALLAJURA Western Australia 6066
- phone/fax (09) 249 2719 international: +619 249 2719
- Internet: dent@Dialix.oz.au
-
- We provide programming services in virtually every programming environment
- available
- on the Mac, as well as some work on lesser machines such as VAXes and
- IBM-compatible.
- ----------
-
- Hope this helps.
-
- --Tommy Williams tommy@macpost.vanderbilt.edu
-
- The Virgil Project
- Vanderbilt University School of Medicine
- (615) 343-0343
-