Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!pikes!slate!kkalmbac From: kkalmbac@slate.mines.colorado.edu (Kevin) Newsgroups: comp.sys.mac.programmer Subject: Loading Data Files Automatically Message-ID: <1991Apr22.153315.35057@slate.mines.colorado.edu> Date: 22 Apr 91 15:33:15 GMT Sender: kkalmbac@slate.mines.colorado.edu (Kevin) Distribution: usa Organization: Colorado School of Mines Lines: 15 I am using Think C 4.0.2 and writing an application that writes to a data file. I would like to be able to double click on the data file (in finder) and the application run and the data file load. I have the the bundle, FREF, owner, etc. so the data file comes up with the desired icon and upon double clicking the application runs. My question is how can my application decide if a data file was double clicked and which one it was so it can open that data file. Either E-Mail or posts are fine with me. Thanks in advance, Kevin Kevin Kalmbach kkalmbac@mines.colorado.edu