home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!crdgw1!rdsunx.crd.ge.com!galen!leue
- From: leue@crd.ge.com (Bill Leue)
- Newsgroups: comp.sys.mac.programmer
- Subject: Apple Events Nuttiness
- Keywords: Apple Events, FileMaker
- Message-ID: <1992Dec17.133849.27817@crd.ge.com>
- Date: 17 Dec 92 13:38:49 GMT
- Sender: usenet@crd.ge.com (Required for NNTP)
- Reply-To: leue@crd.ge.com
- Organization: General Electric Research & Development
- Lines: 40
- Nntp-Posting-Host: galen.crd.ge.com
-
- I recently did some playing with FileMaker Pro 2.0, Hypercard, and Apple Events
- under System 7.0 (with Tuneup 1.1.1). I found out some strange and annoying
- things, and I wonder if I'm doing something wrong, or whether its just
- brain damage in System 7.
-
- FileMaker Pro 2.0 comes with a demo database and 2 Hypercard stacks that
- contain some useful XCMD's and XFCN's for using Apple events and the Object
- Model to link Hypercard, FileMaker, Excel, etc. in useful ways. These demos
- work find in FileMaker Pro 2.0v2, although there was some trouble with the
- initial release.
-
- Fine. Next, I built my own simple stack. It does the following:
-
- 1. launch FileMaker Pro. ("open doc with appl" etc.)
-
- 2. On a button click, adds a record to the FM data base.
-
- 3. On another button click, closes FileMaker.
-
- When I first launched the stack and tried it out, the System informed
- me that I didn't have the File Sharing extension installed with I tried to
- do step 2. I looked, and sure enough, it wasn't there. Ok, I dug the
- extension up and installed it.
-
- Second try, and this time I was informed that I didn't have File Sharing
- enabled. Ok. I opened the Control Panel, and attempted to enable File Sharing.
- Oops! This time the problem was that AppleTalk wasn't enabled. Hmmm.
- Go to the Chooser, enable Appletalk, enable File Sharing. Now the stack
- works just fine.
-
- Except, ARRRGGGHH! Now I can't use both my printer and my modem, since the
- (non-Appletalk) printer can't run from the printer port with Appletalk
- enabled!
-
- This all seems pretty lame to me. After all, we're talking about a single,
- non-networked Mac here. Why the heck do I have to have file sharing enabled
- just to use Apple Events to talk between local processes on a single Mac?
-
- -Bill Leue
- leue@crd.ge.com
-